Next Article in Journal
Digital Image Quality Prediction System
Previous Article in Journal
MicroRNAs Are Predicted to Control the Ubiquitin/Proteasome System in Carica papaya Plants Infected by the Papaya Meleira Virus Complex
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

European and American Options Valuation by Unsupervised Learning with Artificial Neural Networks †

by
Beatriz Salvador
1,*,
Cornelis W. Oosterlee
2,3 and
Remco van der Meer
2,3
1
Universidade da Coruña, 15001 A Coruña, Spain
2
CWI—Centrum Wiskunde & Informatica, 1098 Amsterdam, The Netherlands
3
DIAM, Delft University of Technology, 2628 Delft, The Netherlands
*
Author to whom correspondence should be addressed.
Presented at the 3rd XoveTIC Conference, A Coruña, Spain, 8–9 October 2020.
Proceedings 2020, 54(1), 14; https://doi.org/10.3390/proceedings2020054014
Published: 19 August 2020
(This article belongs to the Proceedings of 3rd XoveTIC Conference)

Abstract

:
Artificial neural networks (ANNs) have recently also been applied to solve partial differential equations (PDEs). In this work, the classical problem of pricing European and American financial options, based on the corresponding PDE formulations, is studied. Instead of using numerical techniques based on finite element or difference methods, we address the problem using ANNs in the context of unsupervised learning. As a result, the ANN learns the option values for all possible underlying stock values at future time points, based on the minimization of a suitable loss function. For the European option, we solve the linear Black–Scholes equation, whereas for the American option, we solve the linear complementarity problem formulation.

1. Introduction

The interest in machine learning techniques, due to the remarkable successes in different application areas, is growing exponentially. ANNs are learning systems based on a collection of artificial neurons that constitute a connected network. Such systems “learn” to perform tasks, generally without being programmed with task-specific rules. Many different financial problems have also been addressed with machine learning. The financial application on which we focus is the valuation of financial derivatives with PDEs. Generally, we can distinguish between supervised and unsupervised machine learning techniques. The goal of the current work is to solve the financial PDEs by applying unsupervised machine learning techniques. In such a case, only the inputs of the network are known, and based on a suitable loss function that needs to be minimized, the ANN should “converge” to the solution of the PDE problem. We will price European and American options modeled by the Black–Scholes PDE and look for solutions for all future time points and stock values. Thus, linear and nonlinear partial differential equations need to be solved.

2. Artificial Neural Networks Solving PDEs

We introduce the methodology following [1] to solve linear and nonlinear time-dependent PDEs by ANNs. Then, we write a general PDE problem as follows:
N I ( v ( t , x ) ) = 0 , x Ω ˜ , t [ 0 , T ] , N B ( v ( t , x ) ) = 0 on Ω ˜ , N 0 ( v ( t * , x ) ) = 0 x Ω ˜ and t * = 0 or t * = T ,
where v ( t , x ) denotes the solution of the PDE, N I ( · ) is a linear or nonlinear time-dependent differential operator, N B ( · ) is a boundary operator, N 0 ( · ) is an initial or final time operator, Ω ˜ is a subset of R D , and Ω ˜ denotes the boundary on the domain Ω ˜ . The goal is to obtain v ^ ( t , x ) by minimizing a suitable loss function L ( v ) over the space of k-times differentiable functions, where k depends on the order of the derivatives in the PDE, i.e.,
a r g min v C k L ( v ) = v ^
where we denote by v ^ ( t , x ) the true solution of the PDE. A general expression for the loss function, defined in terms of the L p norm, including a weighting, is defined as follows [1,2]:
L ( v ) = λ Ω N I ( v ( t , x ) ) p d Ω + ( 1 λ ) Ω N B ( v ( t , x ) ) p + N 0 ( v ( t , x ) ) p d γ ,
where Ω = Ω ˜ × [ 0 , T ] and Ω the boundary of Ω . Financial options with early-exercise features give rise to free boundary PDE problems. We will focus on the reformulation of the free boundary problem as a LCP. The generic LCP formulation reads:
max ( N 0 ( v ( t , x ) ) , N I ( v ( t , x ) ) ) = 0 , x Ω ˜ , t [ 0 , T ] , N B ( v ( t , x ) ) = 0 , on Ω ˜ , N 0 ( v ( t * , x ) ) = 0 , x Ω ˜ and t * = 0 or t * = T .
Our expression for the loss function, to solve the linear complementarity problem, is as follows:
L ( v ) = λ Ω max ( N 0 ( t , x , v ) , N I ( t , x , v ) ) p d Ω + ( 1 λ ) Ω N B ( t , x , v ) p + N 0 ( t , x , v ) p d γ .

3. Financial Derivatives Pricing PDEs

In this section, the option pricing partial differential equation problems are presented. We briefly introduce the European asset model, the American and multi-asset options model being easily extended.
The underlying asset S t is assumed to pay a constant dividend yield δ , and follows the geometric Brownian motion:
d S t = ( μ δ ) S t d t + σ S t d W t P
where W t P is a Brownian motion. Assuming there are no arbitrage opportunities, the European option value follows from the Black–Scholes equation:
L ( v ) = t v + A v r v = 0 S Ω ˜ t [ 0 , T ) v ( T , S ) = H ( S )
where operator A is the classical Black–Scholes operator, and function H denotes the option’s payoff. Then, the loss function is defined as:
L ( v ) = λ Ω L ( v ( t , x ) ) p d Ω + ( 1 λ ) Ω v ( t , x ) G ( t , x ) p + v ( t , x ) H ( x ) p d γ ,
where functions G and H denote the values of the spatial boundary conditions and final condition, respectively. The integral terms in the loss function are approximated by Monte Carlo techniques.

4. ANN Option Pricing Results

We start with a European put option, with the following parameters’ values: σ = 0.25 , r = 0.04 , T = 1 , K = 15 , S = 4 K , δ = 0.0 . In Figure 1, the ANN-based, trained, and the analytical solution are plotted for two time instances. The relative error, with λ = 0.5 , is equal to 2.23 × 10−4.
Finally, in order to show the accuracy of the method applied to train the ANN to price American options depending on two asset prices, the relative error is presented in Table 1.

Author Contributions

Investigation and writing—original draft preparation: B.S., Supervision: C.W.O., validation: R.v.d.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by ERCIM fellowship.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. van der Meer, R.; Oosterlee, C.; Borovykh, A.T. Optimally weighted loss function for solving PDEs with neural Networks. arXiv 2020, arXiv:2002.06269. [Google Scholar] [CrossRef]
  2. Raissi, M.; Karniadakis, G.E.; Perdikris, P. Physics informed deep learning (part I): Data-driven solutions of nonlinear partial differential equations. arXiv 2017, arXiv:1711.10561v1. [Google Scholar]
Figure 1. European put option for different times instances, t = 0, t = 0.5, with λ = 0.5.
Figure 1. European put option for different times instances, t = 0, t = 0.5, with λ = 0.5.
Proceedings 54 00014 g001
Table 1. Error for different multi-asset American options.
Table 1. Error for different multi-asset American options.
Error
Max-call 1.73× 10 3
Spread 2.45× 10 3
Arithmetic average put 6.42× 10 3
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Salvador, B.; Oosterlee, C.W.; Meer, R.v.d. European and American Options Valuation by Unsupervised Learning with Artificial Neural Networks. Proceedings 2020, 54, 14. https://doi.org/10.3390/proceedings2020054014

AMA Style

Salvador B, Oosterlee CW, Meer Rvd. European and American Options Valuation by Unsupervised Learning with Artificial Neural Networks. Proceedings. 2020; 54(1):14. https://doi.org/10.3390/proceedings2020054014

Chicago/Turabian Style

Salvador, Beatriz, Cornelis W. Oosterlee, and Remco van der Meer. 2020. "European and American Options Valuation by Unsupervised Learning with Artificial Neural Networks" Proceedings 54, no. 1: 14. https://doi.org/10.3390/proceedings2020054014

Article Metrics

Back to TopTop