Quantitative comparison of option pricing models: neural networks vs. stochastic models
Full text
QUANTITATIVE COMPARISON OF OPTION PRICING MODELS: NEURAL NETWORKS VS. STOCHASTIC MODELS Jyväskylä University School of Business and Economics Master’s Thesis 2024 Author: Sebastian Nyholm Subject: Economics Supervisor: Esa Mangeloja
ABSTRACT Author Sebastian Nyholm Title Quantitative comparison of option pricing models: neural networks vs. stochastic models Subject Economics Type of work Master’s thesis Date 03.05.2024 Number of pages 73 This study presents a quantitative comparison of three different option pricing models. The emphasis is on the quite recent artificial neural network model, which is compared to the Monte Carlo simulation and the Black-Scholes-Merton pricing model. The financial markets' complexity demands increasingly sophisticated models, and recent advances in computing power have facilitated the development of intricate option pricing models. Especially the sub-model derived from artificial neural networks, the multilayer perceptron has been used in pricing European call options. Existing literature demonstrates the multilayer perceptron's superiority in pricing accuracy compared to the Black-Scholes-Merton model. However, successful implementation necessitates specific model inputs, defined network architecture, and a substantial amount of data. The results of this study underscore the better predictive accuracy of the artificial neural networks when compared to the stochastic models, as it is more accurate in predicting the option prices when using the complete testing dataset. Notably, the artificial neural network exhibits exceptional performance when pricing out-of-the-money options, with diminishing discrepancies to the stochastic models observed with in-the-money options, to the point of the network’s results being comparable to the results of the stochastic models. The two stochastic models used in this thesis expectedly perform extremely similarly. The optimal network architecture identified diverges notably from those architectures used in prior literature, featuring significantly greater numbers of hidden layers and neurons per layer. However, despite the large network size this does not cause overfitting problems, and this is somewhat attributable to the large reliable dataset. The time period used, along with the chronological data partitioning method, caused problems, ultimately leading to the decision to drop the interest rate variable from the network model altogether. Keywords Option pricing, options, neural networks, machine learning, stochastic models, derivatives pricing, computational finance Place of storage Jyväskylä University Library
TIIVISTELMÄ Tekijä Sebastian Nyholm Työn nimi Optiohinnoittelumallien kvantitatiivinen vertailu: neuroverkot vs. stokastiset mallit Oppiaine Taloustiede Työn laji Pro gradu -tutkielma Päivämäärä 03.05.2024 Sivumäärä 73 Tämä tutkimus vertailee kolmea erilaista optioiden hinnoittelumallia kvantitatiivisesti. Painopiste on melko uuden keinotekoisen neuroverkkomallin käytössä, jota vertaillaan Monte Carlo simulaatioon sekä Black-Scholes-Merton hinnoittelumalliin. Rahoitusmarkkinoiden monimutkaisuus sekä sen datamassat vaativat monimutkaisempien mallien käyttöä kuin koskaan aikaisemmin, ja viimeaikaiset edistysaskeleet laskentatehossa ovat mahdollistaneet hienovaraisten hinnoittelumallien kehityksen. Erityisesti keinotekoisten neuroverkkojen alamallia monikerroksista perseptroniverkkoa on käytetty eurooppalaisten osto-optioiden hinnoittelussa. Kirjallisuus todistaa monikerroksisten perseptroniverkkojen olevan tarkempia Black-Scholes-Merton malliin verrattuna, vaikkakin tietynlaiset syötteet, verkkoarkkitehtuuri sekä suuri datasetti ovat välttämättömiä tämän tarkkuuden saavuttamiseksi. Tämän tutkimuksen tulokset korostavat keinotekoisten neuroverkkojen tarkempaa hinnoittelua verrattuna stokastisiin malleihin, sillä ne ovat tarkempia optiohinnoittelussa, kun käytetään vertailussa koko datasettiä. Keinotekoinen neuroverkko osoittaa poikkeuksellista suorituskykyä miinusoptioilla (out-of-the-money), ja erot stokastisiin malleihin pienenevät siirryttäessä plusoptioihin (in-the-money), joka johtaa mallien samantasoiseen suorituskykyyn plusoptioilla. Tutkimuksessa käytettävät stokastiset mallit suoriutuivat odotetusti erittäin samankaltaisesti. Tuloksissa tunnistettu optimaalinen neuroverkkorakenne poikkeaa huomattavasti aiemmassa kirjallisuudessa käytetyistä rakenteista, sillä siinä on merkittävästi enemmän piilokerroksia sekä neuroneita per kerros. Vastoin odotuksia suuri koko ei kuitenkaan aiheuta ylisovittamisongelmia, mikä johtuu osittain suuresta ja luotettavasta datasetistä. Käytetty aikaperiodi kronologisen jaottelun kanssa aiheuttaa ongelmia ja tämä johtaa lopulta korkotaso muuttujan poistamiseen neuroverkkomallista kokonaan. Asiasanat Optioiden hinnoittelu, optiot, neuroverkot, koneoppiminen, stokastiset mallit, johdannaisten hinnoittelu, laskennallinen rahoitus Säilytyspaikka Jyväskylä yliopiston kirjasto
FIGURES FIGURE 1 Payoff profile of a European long call option ........................................ 14 FIGURE 2 Payoff profile of a European long put option ........................................ 14 FIGURE 3 Payoff profile of a European short call option....................................... 15 FIGURE 4 Payoff profile of a European short put option....................................... 15 FIGURE 5 Moneyness of a European call option ..................................................... 17 FIGURE 6 Examples of Brownian motion, with bigger time increments (upper graph) compared to smaller time increments (lower graph) ∆t_u>∆t_l ............... 20 FIGURE 7 A neural network with four layers, where the two hidden layers contain 4 hidden neurons each ................................................................................... 30 FIGURE 8 A rectified linear unit ................................................................................ 31 FIGURE 9 A single hidden layer ANN MLP architecture with several outputs, where the notations of the text are included in the picture .................................... 33 FIGURE 10 3-dimensional plot of the data points ................................................... 47 FIGURE 11 2-dimensional plots to demonstrate Figure 10 from different angles47 FIGURE 12 DAX index from 2020 to the end of 2023 .............................................. 48 FIGURE 13 1-month VDAX volatility index from 2020 to the end of 2023 .......... 49 FIGURE 14 1-month Euribor from 2020 to the end of 2023 .................................... 50 FIGURE 15 An error plot of the pricing errors to the level of Euribor ................. 53 FIGURE 16 Pricing errors to moneyness of the three different pricing models .. 61 FIGURE 17 Pricing errors of the ANN to the moneyness with a scaled Y-axis .. 62 TABLES TABLE 1 Moneyness of option contracts .................................................................. 17 TABLE 2 A summary of the architecture of the networks from different studies38 TABLE 3 A summary of a sample of the literature on option pricing using artificial neural networks based on Ruf and Wang (2020). .................................... 39 TABLE 4 The complete dataset divided into different categories ......................... 46 TABLE 5 Comparison of models with and without interest rate included ......... 53 TABLE 6 Hidden layer comparison ........................................................................... 54 TABLE 7 Hidden neuron comparison ....................................................................... 55 TABLE 8 Epoch comparison ....................................................................................... 55 TABLE 9 Number of simulations and their measurements for the Monte Carlo simulation ................................................................................................................ 57 TABLE 10 Pricing results for the whole testing dataset .......................................... 58 TABLE 11 Pricing results for ITM options ................................................................ 59 TABLE 12 Pricing results for NTM options .............................................................. 59 TABLE 13 Pricing results for OTM options .............................................................. 60 TABLE 14 The main results of the study ................................................................... 64
CONTENTS ABSTRACT TIIVISTELMÄ (ABSTRACT IN FINNISH) FIGURES TABLES CONTENTS ABBREVIATIONS 1 INTRODUCTION ................................................................................................ 8 1.1 Background .................................................................................................. 9 1.2 Research questions ................................................................................... 10 1.3 Structure ..................................................................................................... 10 2 FINANCIAL OPTIONS ..................................................................................... 12 2.1 European option positions and payoff functions and profiles .......... 13 2.2 Other options ............................................................................................. 16 2.3 Moneyness ................................................................................................. 16 3 STOCHASTIC MODELS IN OPTION PRICING........................................... 18 3.1 The mathematical foundation ................................................................. 18 3.1.1 Brownian motion ........................................................................... 18 3.1.2 Itô’s lemma ..................................................................................... 20 3.1.3 The law of large numbers ............................................................ 21 3.2 Black-Scholes-Merton ............................................................................... 21 3.2.1 Alternative Black-Scholes-Merton models ................................ 24 3.3 Monte Carlo simulation ........................................................................... 24 4 MACHINE LEARNING .................................................................................... 28 4.1 Defining machine learning ...................................................................... 28 4.2 Artificial neural networks........................................................................ 29 4.2.1 Overfitting ...................................................................................... 33 5 LITERATURE REVIEW OF NEURAL NETWORKS IN OPTION PRICING ............................................................................................................................... 35 5.1 Artificial neural networks in option pricing ......................................... 35 5.1.1 Inputs and features ....................................................................... 35 5.1.2 Outputs ........................................................................................... 37 5.1.3 Performance measures ................................................................. 37 5.1.4 Network architecture .................................................................... 38 5.1.5 Summary ........................................................................................ 39 6 DATA AND METHODOLOGY ....................................................................... 44 6.1 Filtering and partitioning the data ......................................................... 45 6.2 The complete dataset and the time period ............................................ 46
6.3 Research environment .............................................................................. 50 6.4 Performance measures ............................................................................. 50 6.5 Model and parameters for the neural network .................................... 51 7 RESULTS ............................................................................................................. 52 7.1 Optimal artificial neural network model .............................................. 52 7.2 Optimal artificial neural network structure .......................................... 54 7.3 Number of simulations for the Monte Carlo simulation .................... 56 7.4 Pricing results ............................................................................................ 57 7.4.1 Pricing results for the whole dataset .......................................... 57 7.4.2 Pricing results in different moneyness categories .................... 58 8 CONCLUSIONS ................................................................................................. 63 REFERENCES ............................................................................................................... 66 APPENDIX ................................................................................................................... 73
ABBREVIATIONS ANN = Artificial neural network ATM = At the money BSM = Black-Scholes-Merton BSMDE = Black-Scholes-Merton differential equation ITM = In-the-money MAE = Mean Absolute Error MAPE = Mean absolute percentage error MCS = Monte Carlo simulation MLP = Multilayer perceptron MSE = Mean squared error NTM = Near-the-money OTC = Over-the-counter OTM = Out-of-the-money ReLU = Rectified linear unit RMSE = Root mean squared error TTM =Time-to-maturity
1 INTRODUCTION Option pricing has long been a subject of extensive research and great interest. Because options, as well as other derivatives, are used for risk management as well as speculation and portfolio management the pricing of these financial instruments needs to be as accurate as possible. Over the last half a century different methods have been created in an attempt to make the pricing of options as accurate as possible, and these models have been ranging from statistical models to stochastic models derived from theory. As computing power has become more affordable and more efficient it has enabled the use of more complex models, such as the artificial neural network (ANN) and a sub-method of that the multilayer perceptron (MLP). It used to be hard to run complex neural network models before, as they are heavy on computing power and thus, they must have been simple methods not containing too many layers, neurons, or iterations in the model. This thesis aims to take advantage of the advancements in computing power and try to evaluate the performance of an ANN MLP model in option pricing and compare it to the Black-Scholes-Merton (BSM) model and the Monte Carlo simulation (MCS). The advancement in computing power is one of the driving motivators for this thesis. Other motivation lies in the improved risk management, that extends beyond financial institutions and mutual funds to traditional industries as well as individual economic agents. For instance, wellpriced options can mitigate the price increase of a construction material or can fortify an investment portfolio against a big economic crisis. Many industries are already using derivatives in risk management, but an argument can be made that they would be utilized even more if the pricing was more accurate. The premise is that if the pricing was more accurate it would mitigate concerns related to overpaying for the hedging the options provide. Some other motivation for this subject is also drawn from the ANN MLP model being a great practical finance tool for finance professionals, that does not only work in theory but also in practice. Continuous financial model improvements are crucial to keeping track of the constantly evolving finance world.
9 Artificial intelligence tools such as ChatGPT were used in making this master’s thesis. These programs were used to aid in programming the ANN and managing the large dataset using Python. It seems that such programs are extremely useful in finding errors in the code and they were used especially for this. Artificial intelligence tools were not asked or commanded to write this thesis or construct ready to use Python code. 1.1 Background Financial derivatives are financial instruments that derive their value from another asset. They often trade in the future, meaning that one can for example agree to buy a specific asset in six months at a specific price. The two main categories of financial derivatives are options and futures, where the options give the holder the option (not the obligation) to buy or sell the underlying asset at a specific time at a specific price. For the futures, this turns into an obligation. Derivatives like these are most often used for risk management, as well as speculating. The pricing of these derivatives is important so that the risks can be managed at a fair price. Traditionally options have been priced with a Black-Scholes-Merton model. This model was made by Black and Scholes in 1973 and was continued in the same year by Merton. This model was the groundbreaking option pricing model at that time, as there weren’t that reliable pricing models before that. However, options have been around for much longer than the BSM pricing model. The BSM model is a stochastic model that has a strong theoretical background. There have been several extensions to the BSM model, such as ones where the volatility used in the model is not considered constant or is derived in another way than in the original model. For example, John Cox and Stephen Ross have done a lot of work regarding the different BSM model extensions. These can already be considered as advancements in option pricing, but also a lot of other models have been composed. Another stochastic model used in option pricing is the Monte Carlo simulation. The idea is to run many different price paths for the underlying asset and calculate the option price for each of these paths. An average of these option prices are taken which is supposed to then represent the option’s real value. It is based on the law of large numbers, which means that if enough paths are run (𝑛 → ∞) the average of the option payoffs should be the actual value. The latest big advancement seems to be the machine learning models, mainly the ANN MLP models. These were first introduced by Malliaris and Salchenberger (1993a). The ANN models resemble standard regression models but in practice are built from brain-like neurons. Input variables are run through the neural network and its neurons minimizing an error function until it cannot be minimized anymore. The ANN models have been compared to different BSM models, and the results vary depending on the specific models
16 2.2 Other options On top of the vanilla options, there exists the so-called exotic options. They often do not contain easily definable properties and are not traded actively. Because of this, the exotics are usually OTC traded options. The market for these kinds of options is small, and they are often tailored to fit a very niche use case. That is why it is not often of interest to trade them publicly in the exchanges. Because the exotics are often even more complex than the vanilla options, their pricing is even more difficult. Below are a few examples of the exotics. These will be covered in short as they are not a part of this thesis. However, they are very interesting in the option pricing framework, as they are difficult to price with traditional methods. One of the more exciting future research areas could be exotic pricing with an ANN. The examples below are based on Hull (2013). Packages are portfolios consisting of different assets. These are usually made to be similar to a hedging strategy, which is easily purchasable as a complete package. These strategies are for example butterfly spreads or bull and bear spreads. Asian options’ payoffs are dependent on the arithmetic average of the price of the underlying asset during the life of the option. Asian options might be more appropriate to some of the hedging needs than for example European options because they do indeed count for the average price of the whole period and are not only hedging against the price at the TTM. The holder of a shout option can once during the options life shout at the writer. At maturity, the holder receives the payoff of the option as it was a usual European option, or the intrinsic value at the time of the shout, whichever of these is greater. Compound options are options on options. A call on a call, a call on a put, a put on a call, or a put on a put are compound options. The two different options have their own exercise dates and two strike prices. As the name exotic options might tell you, the contracts are often quite exotic and thus difficult to price or evaluate. Usually, these options do net the dealer a lot of money (Hull, 2013, p. 574). This is mainly because the dealer and the buyer both have a hard time pricing them and thus are not aware of the fair value of the option. The dealer must play it safe and ask for more risk premium because of the uncertainty. 2.3 Moneyness An option can be classified with respect to the underlying’s current price and the contract’s strike price, and this classification is called moneyness. This classification helps in determining whether the option contract currently has intrinsic value or not. Hull (2013, p. 201) explains that option contracts are
17 referred to as in-the-money (ITM), at-the-money (ATM) or out-of-the-money (OTM) depending on where the underlying’s price is with respect to the strike price. ITM means that the option has at least some intrinsic value. He continues that with S being the underlying’s price and with K being the strike price options are referred to as presented in Table 1. Figure 5 also demonstrates the different moneyness points in a payoff profile graph of a European call option. TABLE 1 Moneyness of option contracts Moneyness S<K S=K S>K Call option OTM ATM ITM Put option ITM ATM OTM Without transaction costs only an option that is ITM is exercised, and because of this moneyness and especially ITM is a signal that the option has value at that specific time. However, OTM and ATM options do have a price, because the underlying’s price can always change before the expiration date. If there is at least a small chance that the underlying asset’s price reaches the strike price before the expiration date the option should have some value and thus have a price. Options that are deep ITM or OTM are hard to price because the underlying’s price changes would have to be so dramatic that a possibility like that is hard to calculate. Malliaris and Salchenberger (1993a) note that the BSM model’s pricing bias is the largest for deep OTM options, and later in this thesis it is observed that the ANN also has trouble pricing deep ITM options. Moneyness is thus a crucial factor in option pricing. Deep ITM or deep OTM options are also not traded much (Anders et al., 1998) 3 . FIGURE 5 Moneyness of a European call option 3 Deep ITM or deep OTM simply means that the underlying asset’s current price is far from the strike price, so far from ATM.
18 This chapter aims to provide a base-level understanding of stochastic models and their foundation, to then later on be able to connect this knowledge to the models in option pricing. First crucial parts of stochastic models will be discussed which are the Brownian motion which has been used in the modeling of security prices (Wang, 2012, p. 31), the Itô’s lemma, and the law of large numbers. Later two stochastic option pricing models are examined: the traditional model by Black and Scholes (1973) and Merton (1973) and the Monte Carlo simulation which was first developed for physics by Stanislaw Ulam in the 1940s. The main idea of stochastic models such as the BSM and the MCS is to include the uncertainty factor into their structure so that it can be accounted for. Random variables are the uncertainty variables, that are incorporated into the models. The assumption for this chapter is that the reader has at least a foundational understanding of probability concepts like random variables at an introductory level or higher. However, it is intended that the latter parts of this thesis can be read and understood without these, but this chapter might be hard to understand without. 3.1 The mathematical foundation 3.1.1 Brownian motion The Brownian motion was first discovered by botanist Robert Brown in 1827 while studying pollen grains and their movements(Kac, 1947; Wang, 2012, p. 31). Later Norbert Wiener mathematically constructed the stochastic process of the Brownian motion 4 and Figure 6 presents two similar examples of the Brownian motion but with different time increments. Brownian motion has according to Hull (2013, p. 282) been used and developed for the use cases of 4 Brownian motion and Wiener process as definitions are used interchangeably. 3 STOCHASTIC MODELS IN OPTION PRICING
19 physics to model the motion of particles, and it functions in the same type of way as Markov chains do. Wang (2012, p. 31) explains that this mathematical process has also been used extensively in finance to model security price movements, and Bachelier (1900) was the pioneer in applying the Brownian motion to finance in his doctoral thesis. Security prices do seem to have uncertainty in them, so a probability model to demonstrate this random walk type of movement is essential. Let’s consider a sample space Ω, which is the collection of all possible outcomes. First, a stochastic process W = {𝑊𝑡∶𝑡 ≥0} will be defined as a collection of independent normally distributed random variables with mean 0 and variance 1, where index t is for time which linearly moves forward. For each 𝜔∈Ω, the mapping 𝑡 → 𝑊𝑡(𝜔) is called a sample path. W is a Brownian motion if the following conditions hold (i) 𝑊 is continuous, (ii) 𝑊0 =0, (iii) The random variables 𝑊𝑡1−𝑊𝑡0,𝑊𝑡2−𝑊𝑡1,…,𝑊𝑡𝑛−𝑊𝑡𝑛−1 are independent for any sequence 0=𝑡0≤𝑡1≤⋯≤𝑡𝑛, (iv) For any 𝑠≥0 𝑎𝑛𝑑 𝑡>0, the increment 𝑊𝑠+𝑡−𝑊𝑆 is normally distributed with a mean of 0 and variance t. With mean 0 the expected value at any future time is the same as it is currently, and because the random variables are independent the motion “starts afresh” at any time t.
20 FIGURE 6 Examples of Brownian motion, with bigger time increments (upper graph) compared to smaller time increments (lower graph) ∆t_u>∆t_l To make this Brownian motion correspond better to reality it can be defined to have so-called drift. Hull (2013, p. 284) defines drift to be the mean change per unit time for a stochastic process. This would mean that the motion would have its random effects but in the long run, it would appear to have a general direction. When considering pricing models and their attributes, a risk-free rate is often one of the variables used in the models. Wang (2012, p. 36) notes this drift in the Brownian motion can be equated as the risk-free rate. 3.1.2 Itô’s lemma Itô’s lemma is a much-needed result of mathematics, which will be needed when deriving the BSM model and the Monte Carlo simulation used in option pricing. The lemma was discovered by the mathematician Itô (1951), and it is based on the Brownian motion.
21 The next demonstration is given by Hull (2013, p. 291) concerning the lemma discovered by Itô (1951): Suppose that the value of variable x follows the Itô process: 𝑑𝑥=𝑎(𝑥,𝑡)𝑑𝑡+𝑏(𝑥,𝑡)𝑑𝑧 (5) Where the 𝑑𝑧 is the Brownian motion and 𝑎 and 𝑏 are functions of 𝑥 and 𝑡. When 𝑎 is the drift rate of variable 𝑥 and 𝑏2 is the variance rate of x, Itô’s lemma shows that a function 𝐺 of 𝑥 and 𝑡 follows the process: 𝑑𝐺=(𝜕𝐺 𝜕𝑥𝑎+𝜕𝐺 𝜕𝑡+12𝜕2𝐺 𝜕𝑥2𝑏2)𝑑𝑡+𝜕𝐺 𝜕𝑥𝑏 𝑑𝑧 (6) Where 𝑑𝑧 is the Brownian motion. The proof can be found in Itô (1951), or as an appendix in Hull (2013, p. 297). 3.1.3 The law of large numbers The law of large numbers is used as the base for the Monte Carlo simulation. Schinazi (2012, p. 103) and Wang (2012, p. 69) explain the strong law of large numbers to be as follows: with 𝑋1,𝑋2,…,𝑋𝑛 being a sequence of independent identically distributed random variables with mean µ and variance 𝜎2 there is 𝑃(lim 𝑛→∞𝑋1+𝑋2+⋯+𝑋𝑛 𝑛=𝜇)=1 (7) What this means is that as the sample size n approaches infinity the probability that 𝑋= 𝜇 is 1. The proof of the law of large numbers can be found in Schinazi (2012). 3.2 Black-Scholes-Merton The Black-Scholes-Merton model was first imposed by Black and Scholes (1973) for option pricing 5 . Black and Scholes started developing the model and later Merton (1973) continued and refined their work. It is considered one of the fundamental models for option pricing and is most likely the most used one. The Black-Scholes-Merton model will be referred to as BSM later in this thesis. Let’s define some variables used in the derivation of the BSM model: 𝜇 = Expected return on stock per year 𝜎 = Volatility of the stock price per year 𝑟 = Risk-free rate of interest 5 Sometimes the model is referred to as just the Black-Scholes model.
22 𝑡 = Time, 𝑡∈[0,𝑇] 𝑆 = Stock price 𝐾 = Delivery price ƒ = Price of the option 𝜋 = Value of the portfolio 𝑁(𝑥) = The cumulative probability distribution function for a standardized normal distribution To derive the BSM differential equation (BSMDE) the demonstration by Black and Scholes (1973) given by Hull (2013, p. 309-313) is followed. Assumptions to derive the BSMDE: 1. The stock price follows the process of standard Brownian motion described in the earlier part with constant 𝜇 and 𝜎. 2. Short selling is permitted. 3. No transaction costs or taxes. All securities are perfectly divisible. 4. No dividends. 5. No arbitrage opportunities. 6. Security trading is continuous. 7. 𝑟 is constant. Hull (2013, p. 309) notes that some of these assumptions can be relaxed. This yields some more complex models which enable more real definitions to be used. He adds that these complications can include, for example, the 𝜎 or 𝑟 to be defined as stochastic processes themselves. This enables a more comprehensive consideration of real-life factors within the model, as the riskfree rate or the volatility is never constant over longer periods of time. However, as the maturities for option contracts are often quite short the risk-free rate or the volatility should not deviate too far from the reality when kept as constants, when compared to how complicated the model would become. Next, the BSMDE will be derived on top of the assumptions and definitions given earlier. Let’s assume a stock price process: 𝑑𝑆=𝜇𝑆𝑑𝑡+ 𝜎𝑆𝑑𝑧 (8) Where 𝑑𝑧 is a Brownian motion. With Itô’s lemma, and with knowing that ƒ is contingent on 𝑆 the variable ƒ must be some function of 𝑆 and 𝑡. Hence: 𝑑ƒ=(𝜕ƒ 𝜕𝑆𝜇𝑆+𝜕ƒ 𝜕𝑡+12𝜕2ƒ 𝜕𝑆2𝜎2𝑆2)𝑑𝑡+𝜕ƒ 𝜕𝑆𝜎𝑆 𝑑𝑧 (9) The discrete versions of these two equations are ∆𝑆=𝜇𝑆∆𝑡+𝜎𝑆∆𝑧 (10)
23 And ∆ƒ=(𝜕ƒ 𝜕𝑆𝜇𝑆+𝜕ƒ 𝜕𝑡+12𝜕2ƒ 𝜕𝑆2𝜎2𝑆2)∆𝑡+𝜕ƒ 𝜕𝑆𝜎𝑆 ∆𝑧 (11) Where the ∆ marks the changes in the corresponding variables. Now let’s construct a portfolio (𝜋) which consists of a derivative and the corresponding stock, to create a so-called delta-hedge portfolio 6 . By delta hedging the Brownian motion will be eliminated completely 7 . The portfolio is short one option (−ƒ) and long the share an amount of 𝜕ƒ 𝜕𝑆. The value of the portfolio can now be expressed as 𝜋=−ƒ+𝜕ƒ 𝜕𝑆𝑆 (12) And the change in the value of the portfolio is ∆𝜋=−∆ƒ+𝜕ƒ 𝜕𝑆∆𝑆 (13) We know ∆ƒ and ∆𝑆 from earlier, and if those are substituted to Equation 13, there is ∆𝜋=(−𝜕ƒ 𝜕𝑡−12𝜕2ƒ 𝜕𝑆2𝜎2𝑆2)∆𝑡 (14) Because the ∆𝑧 (and the 𝜇) were removed from the portfolio, it is riskless during ∆𝑡. Because of the delta-hedge, there is no uncertainty in the portfolio and thus all the continuous risk is hedged. By combining the assumptions mentioned above, it is implied that the portfolio now always makes the same rate of return as other short-term risk-free securities. It can be written that ∆𝜋=𝑟𝜋 ∆𝑡 (15) Now by again substituting the Equations 14 and 12 into this, there is (𝜕ƒ 𝜕𝑡+12𝜕2ƒ 𝜕𝑆2𝜎2𝑆2)∆𝑡=𝑟(ƒ−𝜕ƒ 𝜕𝑆𝑆)∆𝑡 (16) By reducing this equation there is 6 Delta hedge is an options strategy which seeks to result in a neutral delta of the option. 7 This portfolio would only stay delta-hedged if S and t would not change, because if they do then the share amount would also change. Obviously, S and t change constantly so constant weighing adjustments are required to keep the portfolio delta hedged.
24 𝜕ƒ 𝜕𝑡+𝑟𝑆𝜕ƒ 𝜕𝑆+12∂ƒ 𝜕𝑆𝜎2𝑆2=𝑟ƒ (17) And this finally is the BSMDE. This equation has many solutions, and the most famous ones are for a call 𝑐= 𝑆0𝑁(𝑑1)−𝐾𝑒−𝑟𝑇𝑁(𝑑2) (18) and for a put 𝑝=𝐾𝑒−𝑟𝑇𝑁(−𝑑2) − 𝑆0𝑁(−𝑑1) (19) where 𝑑1= ln(𝑆0 𝐾)+(𝑟+𝜎2 2)𝑇 𝜎√𝑇 (20) 𝑑2= ln(𝑆0 𝐾)+(𝑟−𝜎2 2)𝑇 𝜎√𝑇=𝑑1−𝜎√𝑇 (21) 3.2.1 Alternative Black-Scholes-Merton models There are many alternative BSM models, which usually have to relax some of the assumptions of the BSM. Malliaris & Salchenberger (1993a) list the major ones at that time to be the Cox and Ross pure jump model, Merton’s mixed diffusion-jump model, Cox and Ross’ constant elasticity of variance diffusion model, and Rubinstein’s displaced diffusion process. There also exist several other alternative models that use different volatilities, such as a Generalized Autoregressive Conditional Heteroskedasticity (GARCH) volatility model, or different implied or stochastic volatility models (SVM). The Stochastic Alpha, Beta, Rho (SABR) Model by Hagan et al. (2002) is also one that is used a lot. The papers presented in the literature review part of this thesis often use different alternative BSM models as benchmarks. Some exotic options can also be priced with alternative BSM models. There have for example been modifications done to the BSM to be able to value gap options. 3.3 Monte Carlo simulation The Monte Carlo simulation (MCS) was first discovered by Stanislaw Ulam in 1940 for the use of nuclear physics. The project he was working on needed a
25 code name. Because of the randomness included in the model Ulam named it after the Monte Carlo casino, where his uncle would go gambling. According to Hörfelt (2005), Boyle (1977) was the first one to use the MCS method in option pricing. Ross (2012, p. 41) and Wang (2012, p. 67) explain the core of the MCS to be in simulating a large number of random variables and calculating their function’s average. They continue that this idea is based on the strong law of large numbers and is in its core an approach to approximating integrals. The MCS in itself is explained by Ross (2012, p. 40-41) as follows. Let 𝑔(𝑥) be a function and let 𝜃 be the desired value for computation where 𝜃=∫𝑔(𝑥)𝑑𝑥 1 0 (22) With X being uniformly distributed over (0,1), then 𝜃 can be expressed as 𝜃=𝐸[𝑔(𝑋)] (23) With 𝑋1,𝑋2,…,𝑋𝑛 independent uniform (0,1) random variables it follows that the random variables 𝑔(𝑋1),…,𝑔(𝑋𝑛) are also independent and also identically distributed with mean 𝜇. Now using the strong law of large numbers mentioned above it follows that with probability 1, ∑𝑔(𝑋𝑖) 𝑛 𝑛 𝑖=1 → 𝐸[𝑔(𝑋)]= 𝜃 𝑎𝑠 𝑛 → ∞ (24) Ross (2012, p. 41) continues that this implies that by generating a large number of random numbers and taking the average of the function of the random numbers an integral can be estimated. This estimation is called the Monte Carlo simulation. Wang (2012, p. 67) explains this MCS scheme in short to be simply divided into two steps. With Equation 23 those steps would be 1. Generate independent identically distributed random variables 𝑋1,𝑋2,…,𝑋𝑛, that have the same distribution as X. 2. The estimate of the expected value 𝜃 is defined to be the sample average 𝜃= 1𝑛[ℎ(𝑋1)+ℎ(𝑋2)+⋯+ℎ(𝑋𝑛)] It should be noted that because 𝑛→∞ in practice means that a lot of random numbers have to be generated, this simulation is computationally intensive, and might require a lot of computing power and computing time. As can be seen with the MCS in option pricing when generating paths for the underlying the simulation will become even more time-consuming computationally. In the option pricing framework Hull (2013, p. 446-448) as well as Boyle et al. (1997) give a good general demonstration of the MCS, which builds on top of
32 but increasing it is always time-consuming and computing power-consuming. This thesis also includes epoch comparisons, but the assumption already is that the higher the epochs more accurate the prediction. ANN regression models can mainly be divided into two categories, the multilayer perceptrons (MLP) 8 and to radial basis functions (RBF) (Anders et al., 1998). Anders et al. (1998) explain that both of these are suitable for option pricing. However, for many (Amilon, 2003; Anders et al., 1998; Bennell & Sutcliffe, 2004; Garcia & Gençay, 2000; Jang & Lee, 2019; Liu et al., 2019; Ormoneit, 1999; Zapart, 2002) the MLP emerges as the preferred approach. The paper by Hornik et al. (1989) is considered an accurate demonstration of the MLP. Hornik et al. (1989) also go deep into the definitions and theorems of the MLP, but Amilon (2003) simply shows the basic functionality of the MLP. Figure 9 demonstrates an MLP network, and it has all of the notations of this text included in it. Amilon (2003) explains that each neuron sums the signals leading to it, adds a bias term, and makes a non-linear transformation (𝑔(∙)). The transfer function (or the activation function) is traditionally a smooth monotonically increasing function (Amilon, 2003). Amilon (2003) continues that the transformed signal of the neuron is then passed on to subsequent layers’ neurons, and the process is again repeated, and that the connections between neurons are represented by the weights (𝜔𝑖𝑗,𝑊𝑗𝑘). He shows that when the MLP is presented to the input vectors the inputs (𝑥𝑘) are fed through the hidden layer(s) (ℎ𝑗) all the way to the output layer via the neurons. Eventually, the network outputs 𝑜𝑖=𝑔(∑𝜔𝑖𝑗𝑔(∑𝑊𝑗𝑘𝑥𝑘 𝑘) 𝑗) (30) are compared to known targets (𝑡𝑖) according to an error or loss function, which is usually the sum of squared errors 𝐸=12∑(𝑡𝑖−𝑜𝑖)2 𝑖 (31) is computed. Amilon (2003) explains the error is then propagated through the network backward and then the weights are adjusted to minimize the error function. The weights are adjusted, and the errors fed through the network as many times as the error function can still be minimized again. 8 Some papers also refer to the MLP as a feedforward neural network.
33 FIGURE 9 A single hidden layer ANN MLP architecture with several outputs, where the notations of the text are included in the picture 4.2.1 Overfitting Overfitting is a problem that often also occurs while using basic statistical methods. As a model keeps fitting to data, it is important to test its performance on data outside of the training data set. If a model is fitted to training data too closely, it might not be able to generalize what it has learned to data outside of the training set. This problem is called overfitting (Lindholm et al., 2022, p. 18- 19; Tuominen & Neittaanmäki, 2019, p. 52). Tuominen and Neittaanmäki (2019, p. 52) continue that the model learns the data “too well” as it adjusts the parameters according to specifications and also according to distortions of the training data. They note that overfitting is a common problem in networks that contain a lot of parameters, but the training data set is not big enough in relation to the size of the network. Malliaris and Salchenberger (1993a) also note that too many nodes in the middle layer (when using one hidden layer) lead to the model overfitting to the data. One might conclude that as the dataset size increases, the maximum size of the network that can be constructed also increases. According to Tuominen and Neittaanmäki (2019, p. 52-54) overfitting when using an ANN can be prevented using the following methods: 1. Increasing the size of the training dataset 2. Decreasing the size of the network 3. Stopping the learning process early 4. Partly dropping neurons from the network 5. Decreasing specific network weights
34 In practice, it might be easiest to decrease the number of layers or neurons in the network or decrease the number of epochs that the network runs. There also exist several ways for early stopping in ANN programming.
35 This chapter aims to review the earlier literature done about option pricing with the neural networks and the Monte Carlo simulation and how these compare to other methods. For machine learning, most of the literature seems to revolve around artificial neural networks, but some also use gradient booster methods which will not be covered in this thesis. These machine learning models are usually compared to the BSM model and also to some volatility-enhanced BSM models such as one used with GARCH volatility or with a volatility index such as VIX. Some of the papers even focused on using different volatility estimates in the models, to see which volatility estimate performed the best. No papers came to the writers attention where the Monte Carlo simulation was used as a comparison method for the machine learning methods. However, the Monte Carlo simulation method has been used in the ANN and option pricing context, but for training the ANN (see for example Freitas et al. (2000)). This branch of literature in option pricing seems to have been started by Malliaris and Salchenberger in 1993 with their two publishes, and a year after them with Hutchinson et al. (1994). A great review of the earlier literature has been constructed by Ruf and Wang (2020) which includes around 150 papers about option pricing using ANN before 2020. Their review includes a table that has the main papers in option pricing with ANN listed with different attributes of the research, and the table is of very good use when summarizing the literature done on the subject. A sample of this table can be found in part 5.1.5. 5.1 Artificial neural networks in option pricing 5.1.1 Inputs and features There are a lot of possible parameters that can be used to try and price options, but the most common ones used seem to be the strike price, the underlying’s 5 LITERATURE REVIEW OF NEURAL NETWORKS IN OPTION PRICING
36 price, volatility in one form or another, time to maturity, and the risk-free interest rate. These are also the inputs used in the baseline BSM model. On top of these, some papers use for example lagged parameters (Amilon, 2003; Malliaris & Salchenberger, 1993a; Zapart, 2002) or logarithmic variables (Buehler et al., 2019). There is also a lot of variation in which volatility estimate should be used, and these will be covered in the next subchapter. The strike price and the underlying’s price are the factors that show up almost always when trying to find a price for an option, and to no surprise. They are the variables that define the nature of the option, and if it has any value. When used in regressions, these are the factors that define most of the price variation in the option’s price. When using an ANN for the pricing of the option, the strike price and the underlying’s price show up in different formations, usually with the underlying’s price divided by the strike price. Bennell and Sutcliffe (2004) note that the goal of using the 𝑆/𝐾variable is for the moneyness in the variable itself to be accounted for, and thus the network wishes to learn to handle options whether ITM or OTM. However, later it can be seen that even when using the 𝑆/𝐾 and thus accounting for moneyness the network still struggles pricing deep ITM or OTM options. Anders et al. (1998), Bennell and Sutcliffe (2004), as well as Garcia and Gençay (2000), agree that the addition of individual variables of the strike price or the underlying’s price on top of the 𝑆/𝐾 does not add enough value for them to be used. It seems that the underlying’s price divided with the strike price is the most efficient and the most accurate way of including the two variables. On top of the underlying’s price and the strike price, the risk-free rate and the time to maturity seem to be included in a lot of networks. These two variables are quite self-explanatory, and there is not much to go over with them. The time to maturity should obviously be included, as the closer the maturity of the option is, the more the option’s price should converge to its intrinsic value. The risk-free rate is important, and with it comes a decision of which rate to use. Amilon (2003) notes that if the risk-free rate is only considered as a discount factor, as it is the BSM model, the relevant input should be the risk-free rate times the time to maturity, as the time-to-maturity of a treasury bill is measured in calendar days. For the risk-free rate variable’s data Amilon (2003) uses a continuously compounded 3-month treasury bill rate, Bennell and Sutcliffe (2004) follow this and also use the 3-month treasury bill rate whereas Liu et al. (2019) simply use the Euro LIBOR rate and Lai et al. (2014) use the 1-month Euribor rate. 5.1.1.1 Volatility estimates Volatility reflects a lot of the uncertainty in the underlying assets’ future price movements, and when trying to price options it is a crucial component. Many of the papers included in Ruf and Wang (2020) include a volatility estimate in the model, and almost all option pricing models usually include volatility in one form or another. However, volatility is not unambiguous, and the volatility of an asset can be expressed as several different volatility estimates. The models
37 included in Table 3 include implied volatility, historical volatility, a volatility index such as VIX or volatility from calibration. When comparing different ANN models to the BSM models, some papers also included some volatility comparisons. Amilon (2003) tested his ANN and BSM models with both historical price volatility and implied volatility. The historical volatilities tested were 30-day and 10-day standard deviations of the most recent continuously compounded daily returns of the underlying asset, in this case, the OMX index. Amilon (2003) found out that in pricing the options with the ANN including implied volatility it performed the best, but when trying to trade and hedge the mispriced options with the networks the model with historical volatility outperformed the model with implied volatility. Anders et al. (1998) also compared different volatility estimates, but this time the tested ones were historical price volatility for the last 30 days compared to a volatility index, in this case of pricing DAX options, the VDAX. According to Anders et al. (1998), the VDAX is simply a weighted average of volatilities implied by the different options traded at the Deutsche Börse AG. They found out that in in-sample pricing the historical volatility model performed about as well as the VDAX model, but it is important to note that these models compared were different also in other ways than just the volatility estimates. For out-of-sample pricing, the VDAX model clearly outperformed the one with historical volatility. 5.1.2 Outputs The model outputs also vary between the different models, but obviously, the most common one used is just the options price (Liang et al., 2009; Malliaris & Salchenberger, 1993a; Teddy et al., 2008). Bennell and Sutcliffe (2004) state that by comparing the different models with individual option prices to the variable where the option price is divided by the strike price (C/K) it is evident that the C/K is one of the key components that help the ANN outperform the BSM models. The C/K has been used in a lot of the literature as well (Anders et al., 1998; Bennell & Sutcliffe, 2004; Garcia & Gençay, 2000; Hutchinson et al., 1994; Ormoneit, 1999). 5.1.3 Performance measures The most common statistical performance measures in the literature are mean absolute error (MAE), mean absolute percentage error (MAPE) and mean squared error (MSE), which is in its core similar to the root mean squared error (RMSE) (Ruf & Wang, 2020). There are also other performance measures used in the papers. The most used performance measures are defined as follows: 𝑀𝐴𝐸= 1𝑇∑|𝐶𝑡− 𝐶𝑡 | 𝑇 𝑡=1 (32)
38 𝑀𝐴𝑃𝐸= 1𝑇∑|𝐶𝑡− 𝐶𝑡 | 𝑇𝑡=1|𝐶𝑡| (33) 𝑀𝑆𝐸= 1𝑇∑(𝐶𝑡− 𝐶𝑡 )2 𝑇 𝑡=1 (34) 𝑅2= 1 − ∑(𝐶𝑡− 𝐶𝑡 )2 𝑇𝑡=1 ∑ (𝐶𝑡− 𝐶𝑡 )2 𝑇𝑡=1 (35) 𝑅𝑀𝑆𝐸= √1𝑇∑(𝐶𝑡− 𝐶𝑡 )2 𝑇 𝑡=1 (36) Where 𝐶𝑡 is the actual option price, 𝐶𝑡 is the price predicted by the model, 𝐶𝑡 is the mean of the actual option prices and T is the quantity of the observations. 5.1.4 Network architecture For the number of hidden layers and hidden neurons, Liu et al. (2019) and Bengio (2009) note that a single hidden layer is enough for mapping the inputs with the target function, and the existing literature, according to them, has reached a consensus that a single hidden layer is sufficient to make MLP a universal approximator for most problems. All of the other papers observed here have also ended up using only one hidden layer. However, for the number of hidden neurons, there seems to be some variation. Table 2 presents the different architectures regarding the hidden layers and neurons. TABLE 2 A summary of the architecture of the networks from different studies Authors & Year Hidden layers Hidden neurons Malliaris & Salchenberger (1993a,b) 1 4 Hutchinson et al. (1994) 1 4 Anders et al. (1996) 1 3 Amilon (2003) 1 10-14 Bennell & Sutcliffe (2004) 1 3-5 Teddy et al. (2008) 1 8 Liu et al. (2019) 1 5-10
39 No papers other than Bennell & Sutcliffe (2004) stated the number of epochs they used in their network. Bennell & Sutcliffe (2004) used 1000 epochs, which seems to be a good starting number for the data iterations. 5.1.5 Summary As mentioned at the beginning of this chapter Ruf and Wang (2020) have constructed a useful table with the different papers about option pricing with machine learning. This table includes the authors and year, features of the model with the input parameters, the outputs, benchmark models, performance measures, the partition method as well as the underlying asset. The table has been used in research about ANN in option pricing before (see for example Pohjonen (2022)). Table 3 is constructed from a sample of the comprehensive list by Ruf and Wang (2020) where the most impactful papers were included according to their citations or the publishing journal, as well as the ones with the most similarities or applications to this paper. In addition to the original most important columns, a column that presents the results can also be found in Table 3. For the abbreviations used in Table 3 please consult Appendix 1 for clarification. TABLE 3 A summary of a sample of the literature on option pricing using artificial neural networks based on Ruf and Wang (2020). Authors & Year Input parameters Outputs Underlying Results Malliaris & Salchenberger (1993a,b) 𝑆,𝐾,𝜏,𝜎𝐼𝑀,𝑟, lagged 𝐶 and 𝑆 𝐶 S&P100. 6M ANN is more accurate OTM, whereas BSM is more accurate ITM Hutchinson et al. (1994) 𝑆/𝐾,𝜏 𝐶/𝐾 Simulation (BS); S&P500. 5Y ANN is more accurate than BSM Anders et al. (1998) 𝑆/𝐾,𝑆,𝜏, 𝜎𝐻,𝜎𝑉,𝑟 𝐶/𝐾, (𝐶− 𝐶𝐵𝑆−𝑉) /𝐾 DAX. 3Y ANN outperforms BSM insample and out-of-sample Ormoneit (1999) 𝑆/𝐾 𝐶/𝐾 DAX. 9M ANN performs similarly to BSM Garcia & Gençay (2000) 𝑆/𝐾,𝜏 𝐶/𝐾 Simulation (BS); S&P500. 8Y ANN has smaller delta hedging
40 errors than BSM Zapart (2002) Lagged wavelet coefficients Wavelet coefficients Individual stocks. 6M/1Y ANN is as good and often better than BSM Amilon (2003) 𝑆/𝐾,𝜏, 𝜎𝐻,𝑟, lagged 𝑆 𝐶𝐴𝑠𝑘/𝐾, 𝐶𝐵𝑖𝑑/𝐾 OMX. 2Y ANN is more accurate than BSM with historical volatility, ANN is as accurate as BSM with implied volatility Bennell & Sutcliffe (2004) 𝑆,𝐾,𝑆/𝐾,𝜏,𝜎𝐼𝑀, open interest, volume 𝐶,𝐶/𝐾 FTSE100. 1Y ANN is more accurate than BSM OTM, BSM is more accurate than ANN ITM Teddy et al. (2008) 𝑆 − 𝐾,𝜏,𝜎𝐻 𝐶 GBP-USD. 9M ANN is more accurate than BSM, and also more accurate than any model in generalization pricing Liang et al. (2009) 𝐶 𝐶 Individual stocks. 2Y ANN MLP is more accurate than conventional methods Lai (2014) 𝑆/𝐾,𝜏,𝑟 𝜎 Simulation (BS, SV, SVJ) N/A Buehler et al. (2019) log(S) HR Simulation (BS, SV); S&P500. 5Y N/A Jang & Lee (2019) ? 𝐶 S&P100. 9Y Bayesian neural networks perform better than
41 classical option models in American option pricing Liu et al. (2019) 𝑆/𝐾,𝜏,𝜎𝐶𝑎𝑙,𝑟 (𝐶 − 𝐶𝐵𝑆−𝐻) /𝐾 DAX. 4Y ANN was the most accurate of many models overall This study’s main goal is to find out whether the ANN models price DAX options better than the BSM models or the MCS models. As there is no literature for the comparison of ANN models to the MCS, only the BSM models were used as a comparison. The MCS and the BSM function similarly and they are expected to yield similar results. In the literature about ANN in option pricing, it seems evident that artificial neural networks do seem useful in option pricing when compared to BSM models. Researchers tested the models in different situations, such as pricing ITM options vs OTM options or pricing insample vs out-of-sample and this part concludes the findings. The consensus seems to be that ANN models outperform the BSM models in at least one part of the testing, if not more when used right. Liu et al. (2019) compared several different models, and one of them was the ANN, in out-of-sample price forecasting situations and in hedging. The models they tested were a wavelet-based option pricing model by Ma (2011), a stochastic volatility model with jumps by Bakshi et al. (1997), the practitioners BSM model by Anderou et al. (2014) and Dumas et al. (2002) and finally a hybrid ANN model by Anderou et al. (2008). They observed that from all of these models, the ANN model performed the best in most of the situations they tested, meaning that the ANN achieved the smallest forecasting errors. However, they did limit their sample to only OTM options and also noted that the ANN has limitations regarding data, as it is a very data-intensive model. Anders et al. (1998) compared the ANN to the BSM model both in-sample and out-of-sample. In their paper, they show similar results to those by Liu et al. (2019) in that the ANN they constructed was more accurate according to all of their performance measures out-of-sample and in Anders et al. (1998) case also for the in-sample testing. Amilon (2003) tested two different ANN models and compared them to two different BSM models. Similarly, to Liu et al. (2019) and Anders et al. (1998), Amilon (2003) shows that the constructed ANN is superior to the BSM models in all of the cases, although not always at a 5 percent statistical significance level. He did comparisons both for pricing and also for trading and hedging mispriced options, and the only difference was that the ANN using implied volatility was better for pricing and the ANN with historical volatility was better for trading and hedging the mispriced options.
48 The time frame of 4 complete years includes a few periods where the pricing is hard due to increased volatility. These increased volatility periods are caused by shocks in the economy, such as the COVID-19 pandemic and the Russo- Ukrainian war. In Figure 12 the COVID-19 pandemic’s effects can be seen in early 2020, where the DAX index decreased to nearly 8000 index points level and here the index reached its lowest point in the whole time period in question. The VDAX volatility index shown in Figure 13 also highlights the COVID-19 pandemic, as the volatility reached its highest point in early 2020 as well. The increase in volatility from below 20 index points to almost 120 represents a substantial increase. The Russo-Ukrainian war’s effects on the economy can be observed at the beginning of 2022, as an increase in volatility in the VDAX index in Figure 13 as well as a decrease in the DAX index in Figure 12. FIGURE 12 DAX index from 2020 to the end of 2023 In finance when using volatility indices such as the VDAX index shown in Figure 13 it is important to mention that they already include information about the market at that time. As the market is the one pricing these indices, they are in a way forward-looking, as the market has already priced all the future information in them.
49 FIGURE 13 1-month VDAX volatility index from 2020 to the end of 2023 The time frame used in the analysis also includes large fluctuations in interest rates, where after a long period of zero or negative interest rates the market rates began increasing in the summer of 2022 as can be seen in Figure 14. The increases in the interest rates followed heightened inflation and the increases in central bank steering rates. As most of the used time period includes negative interest rates, and only small fluctuations happened during zero interest rates, it is interesting to see whether the network has trouble pricing options depending on its interest rates or not. It might overweigh the interest rates’ effects on the price of the option as the fluctuations in the rates are small. However, the later stage of the time period used in this study does include more interest rate changes so it might balance things out even though the majority of that period is included only in the testing dataset.
50 FIGURE 14 1-month Euribor from 2020 to the end of 2023 6.3 Research environment The main tool used in this quantitative analysis is Python 3.11.6. Python is an open-source computer language, that seems to have the most possibilities for machine learning purposes due to its open-source nature. Python can be used for much more than data analysis as it can be tailored to fit many needs, whereas most programming languages only have some things where they excel. Python allows the use of many libraries, which include preprogrammed functions to be able to use it for the specific case. The libraries are helpful and easy to use, as they often have extensive documentation. The libraries used for the ANN are Keras integrated within Tensorflow 2.15.0. The models are run on an RTX 3060ti 8GB GPU, an Intel i5-10400F (2.9GHz) CPU, and 16 Gt of RAM. 6.4 Performance measures The performance measures used in this analysis are the mean squared error (MSE) mean absolute error (MAE), mean absolute percentage error (MAPE) and 𝑅2. These measures are defined as they are defined in subchapter 5.1.3. As the output of the model is the price of the option divided by its strike price, the C notation in the errors is also the price of the option divided by its strike price. Anders et al. (1998) explain that the 𝑅2 provides a measure of correlation between observed and fitted options prices, whereas the MAE measures absolute price discrepancies. They continue that MAPE judges the price
51 differences relative to the price levels. The MSE measurement puts more weight on the large errors. To achieve a measure of the performance from different angles it is important that these three measurements measure different things in the pricing, as the measurements chosen here do. 6.5 Model and parameters for the neural network The model that was used by the ANN was decided based on earlier literature. Several different models with different numbers of inputs were presented in Chapter 5, and conclusions were made about what the best inputs were. This chapter also concluded to use inputs as standardised features such as S/K and C/K. The question of whether this specific input structure is optimal according to different pricing error measurements is not in the scope of this study. The earlier literature does seem to conclude that the smallest errors can be achieved with the following model: 𝐶/𝐾 =𝑓(𝑆/𝐾,𝜏,𝜎,𝑟) (41) Where the variables are denoted according to Table 4. The volatility estimate is the 1-month VDAX index, as either implied volatility or the VDAX often yielded the smallest errors in volatility comparisons in the earlier literature. The estimate of the risk-free interest rate is the 1-month Euribor, as that is the most riskless interest rate there is for the Euro area. A problem might arise from the interest rate fluctuations during the time period, as the training set only includes sub-2 percent interest rates, and as the testing set includes only noticeably higher interest rates than 2 percent. If the model given in Equation 41 fails to price options accurately also the following model will be estimated: 𝐶/𝐾=𝑓(𝑆/𝐾,𝜏,𝜎) (42) This model does not include the interest rate at all. Other parameter choices for the neural network include the loss function, batch size, the activation function, and the optimizer. The loss function used in this thesis is the mean squared errors (MSE). A batch size of 64 is chosen and the activation function used is the rectified linear unit (ReLU) which according to Lindholm et al. (2022, p. 134) is a common choice. The optimizer is the Adam optimizer presented by Kingma and Ba (2014).
52 This chapter presents the results of the quantitative comparison in option pricing between the three different option pricing methods, the ANN, the MCS, and the BSM. First, an optimal structure for the ANN is presented based on the performance measures presented in Chapter 5.1.3. It is then compared to the other models using the whole dataset for the analysis. The models were also compared to each other using smaller sections of the data, to answer the research question based on the pricing performance depending on moneyness. These data categories were divided into 3 different sections for the moneyness. These comparisons also use the same performance measures as the comparison of different ANNs. 7.1 Optimal artificial neural network model As the data partitioning is done chronologically it might cause problems based on the network’s model. As can be seen in Figure 14, the 1-month Euribor increased consistently after the summer of 2022. As the data set’s division point to the training and testing sets is in December 2022 the ANN might overestimate the effects the interest rate has on the prices of the options as the fluctuations in the interest rate were much smaller in the training set than in the testing set. The aim of this subchapter is to find out if the model with interest rate can price the options accurately. Additionally, if the model falls short in its accuracy, the aim is to find out whether this discrepancy can be attributed to fluctuations in the interest rate. If the model with interest rate is not sufficient, the two models will be compared according to their pricing accuracy. The architecture comparisons will be saved for later in this chapter. The models have an architecture of 1 hidden layer and 6 neurons as well as 1000 epochs, as suggested by prior literature. Figure 15 compares the pricing errors to the level of the interest rate. According to Figure 15, it seems evident that the higher the interest rate, the higher the pricing error. The model 7 RESULTS
53 estimated according to Equation 41 seems to have a problem with the interest rate as it overestimates the effects of the interest rate on the price of the options. FIGURE 15 An error plot of the pricing errors to the level of Euribor Excluding the interest rate from the model presents the simplest solution to addressing the difficulties posed by the rates fluctuations during the time period, as Equation 42 does. Table 5 compares the results of the two models, with and without the interest rate included. The model without interest rate outperforms significantly in terms of every performance measure used. The absolute errors are very small for the model without interest rate, as well as the percentage errors. The model with the interest rate that was constructed according to Equation 41 had a lot of trouble fitting to the data, as the 𝑅2 does not give any reasonable results. However, without interest rates, the model fits the data fine and is able to explain 97 percent of the variance. TABLE 5 Comparison of models with and without interest rate included Model according to equation: MSE x 𝟏𝟎−𝟓 MAE x 𝟏𝟎−𝟑 MAPE 𝑹𝟐 41 2650 160 24.6 -9.92 42 6.53 5.76 0.647 0.9731 In conclusion, the model that estimates option prices with the interest rate according to Equation 41 cannot price them very accurately. There is a problem with the estimation and training of the model, as the training period only includes sub-2 percent interest rate which is a lot lower than the rate for the testing period. The interest rate seems to be the cause of large errors in option pricing as highlighted by Figure 15. When the interest rate is excluded from the
54 model, the pricing accuracy improves a lot. Further analysis will be done with the model that corresponds to Equation 42. 7.2 Optimal artificial neural network structure On top of deciding on the variables that are fed to the ANN, its different parameters are also important in obtaining the smallest errors in pricing performance. The aim of this subchapter is to find the optimal number of hidden layers, and hidden neurons as well as the optimal number of epochs used by the ANN. The number of the variables in question and their respective errors are presented in the tables below. These results are acquired with out-of- sample datasets. The results obviously might change depending on the data period. It is also important to note that the optimal structure may not stay optimal when using the model to price options only in a singular category, such as options near the maturity or options out-of-the-money. The testing began with 1 hidden layer, 6 hidden neurons, and 1000 epochs and the variables used in the training and estimation are selected according to Equation 42. As Table 2 noted, 1 hidden layer is often sufficient according to the earlier literature, and the number of neurons is often below 10. Bennell and Sutcliffe (2004) used their ANN with 1000 epochs and other literature didn’t note the number of epochs used so the testing will start with 1000. According to Table 6, the accuracy of the model improves when moving up from only 1 hidden layer according to every performance measure. The optimal number seems to be 4, as before and after that all of the errors increase and the explanatory power of the model decreases. There isn’t really a significant difference in the absolute errors between the models, but there does seem to be a notable decrease in percentage errors when the number of hidden layers is increased from 1. These results seem to be very different when compared to the neural network architectures presented in Table 2, as they all use only one hidden layer. TABLE 6 Hidden layer comparison No. hidden layers MSE x 𝟏𝟎−𝟓 MAE x 𝟏𝟎−𝟑 MAPE 𝑹𝟐 1 6.53 5.76 0.647 0.9731 2 5.70 5.36 0.266 0.9765 4 4.98 4.76 0.182 0.9795 6 5.83 5.42 0.198 0.9760 8 5.61 5.37 0.197 0.9769 Table 7 highlights the differences resulting from the different number of hidden neurons with 4 hidden layers and 1000 epochs. The number of hidden neurons is the number of them in each layer. All of the values seem to yield quite similar
55 results, where 16 neurons is the best model when valued with squared errors, absolute errors or 𝑅2 and the model with 56 neurons is the most accurate when measured with percentage errors. As the difference is small both models would work fine. As the model with 16 neurons per layer is closer to the prior literature and is superior to the model with 56 neurons when measured with three different performance measures (MSE, MAE, and 𝑅2) it will be the model that is used in the later analysis. TABLE 7 Hidden neuron comparison No. hidden neurons MSE x 𝟏𝟎−𝟓 MAE x 𝟏𝟎−𝟑 MAPE 𝑹𝟐 6 4.98 4.76 0.182 0.9795 16 4.91 4.56 0.183 0.9798 26 5.52 5.05 0.178 0.9773 36 5.15 4.85 0.199 0.9788 46 5.80 5.56 0.232 0.9761 56 5.86 5.19 0.172 0.9759 66 7.79 6.57 0.222 0.9679 With 4 hidden layers and 16 neurons per each layer, the size of the network is large. However, as the results presented in these tables are out-of-sample there should not really exist overfitting problems which should be addressed as the size of the network is large. Testing with out-of-sample data proves that the model is competent also in generalizing the pricing even with a large network size. Epoch comparisons will be done with 4 hidden layers with 16 neurons in each layer. Once again, a balance between not fitting the model to the data well enough and overfitting has to be found. Overfitting might be caused by a large number of epochs. According to Table 8, an optimal number according to every performance measurement seems to be 1000 epochs, which is the same number that Bennell and Sutcliffe (2004) were using who were the only ones to report the number of epochs. Interestingly enough, fitting the model for more than 2000 epochs seems to increase the accuracy slightly when compared to 2000 epochs. It would be expected that if the accuracy starts decreasing because of overfitting, fitting the data more would cause larger errors because of even more overfitting. TABLE 8 Epoch comparison No. epochs MSE x 𝟏𝟎−𝟓 MAE x 𝟏𝟎−𝟑 MAPE 𝑹𝟐 500 5.03 4.98 0.202 0.9793 1000 4.91 4.56 0.183 0.9798 2000 5.53 5.18 0.199 0.9772 3000 5.29 4.99 0.193 0.9782
56 In conclusion, the optimal structure for the dataset seems to be 4 hidden layers, 16 hidden neurons per layer, and 1000 epochs. This structure will be used for the rest of the thesis, in the model comparisons. Testing several other network architectures also took place that were not reported, which did not perform as well as the models reported in tables 6-8. There might obviously be a very specific neural network architecture that performs better than the one found here. However, when testing for optimal architectures the model has to always be built and trained first, which uses a lot of computing power and thus a lot of time as well. There does not seem to be an easier way to come to a conclusion of the best model than to build and train them separately or let an algorithm do the building and training of several models. Iterating over hundreds of different models is not within the scope of interest for this study. In comparison to earlier literature, this network architecture is substantially larger in size than any network used earlier. As Table 2 presents there are only single hidden layered networks with the number of neurons in the layer ranging from 3 to 14. It might be that a large dataset of over 200 000 observations allows for a larger network size without fear of overfitting. As mentioned, testing was done using only out-of-sample data and thus results are reliable as the network is able to generalize the estimations outside of their training dataset. 7.3 Number of simulations for the Monte Carlo simulation The number of simulations that the Monte Carlo method runs should also be decided. This subchapter presents a comparison of a few different numbers of simulations. Usually, the pricing accuracy should always be better when the number of simulations is larger, as then it approaches the correct price of the option. However, the number of simulations always increases the computing power required and thus it is important to increase it until the pricing accuracy only increases in very small amounts. The analysis in this subchapter is done on the testing set only as that sample will be used for all of the other analyses as well. Table 9 highlights how well the MCS prices options depending on the number of simulations used. It seems clear that increasing the number of simulations from 5 000 onwards does not provide significant increases in accuracy. A smaller number of simulations than those used in Table 9 might yield measurements that are significantly different, as there is some difference between 1000 and 5000 simulations. According to every performance measure, the pricing accuracy of the MCS improves when the number of simulations is increased. However, increasing the simulations past 5000 does not seem justifiable, as the required computing power increases, and the accuracy of the model does not seem to increase significantly. As the pricing values already exist for the most accurate MCS representation of 50 000 simulations those values will be used for the remaining analysis.
57 TABLE 9 Number of simulations and their measurements for the Monte Carlo simulation No. simulations MSE x 𝟏𝟎−𝟓 MAE x 𝟏𝟎−𝟑 MAPE 𝑹𝟐 1 000 19.5 8.70 1.13 0.9194 5 000 19.0 8.44 1.13 0.9217 10 000 18.9 8.40 1.13 0.9222 50 000 18.8 8.37 1.13 0.9225 7.4 Pricing results 7.4.1 Pricing results for the whole dataset Now that the optimal structure for the ANN is reached, and the number of simulations are decided for the MCS it is possible to compare these optimally structured models to each other. This subchapter presents the pricing results with the same dataset used earlier in this chapter, as that is not part of the training dataset used for the ANN. Later on, this subchapter will also present the results in model comparisons in different moneyness categories. As a recap, the earlier studies found that generally, the ANN seems to outperform the BSM model. In some cases, the BSM was more accurate in its pricing and these cases were mainly found with ITM options. It is expected that the BSM and MCS perform equally, and that as the optimal structure for the ANN is reached it would perform the best out of these models. Table 10 presents the performance metrics for the three different models when using the whole testing dataset. The ANN prices out-of-sample options, so no observations are used in testing which were used in its training. The same testing dataset that was used for the ANN is also used for the BSM and MCS. For the whole dataset, the ANN clearly performs the best out of the three models as Table 10 presents. As expected, the BSM and the MCS yield almost identical results. In absolute terms, the errors of the ANN are around half of the errors of the BSM or the MCS. The ANN is also capable of explaining more of the price variability as shown by the larger 𝑅2. In other words, the ANN model fits to the data a lot better than the stochastic models do. The percentages of the errors are also well in line with these findings, as the MAPE for the ANN is very small when compared to the MAPE of the BSM model or the MAPE of the MCS model. An interesting observation is the large difference in MSE between the stochastic models when compared to the ANN while the difference in the MAE is not as large. A large difference in the MSE might implicate that the stochastic models have some extreme errors or outliers in their pricing. These errors are amplified by the MSE as the errors are squared.
64 was divided into three different moneyness categories. The ANN was the most accurate out of the three models in the OTM and the NTM categories, where the difference between the stochastic models and the ANN was very significant in OTM option pricing. The discrepancies between the models were significantly diminishing the more ITM the options moved to the point of similar pricing accuracy in ITM option pricing between the models. This result is very much in line with prior literature. The ANN seems to systematically make more pricing errors when pricing ITM options, whereas the stochastic models make more large errors. The pricing errors of the stochastic models seem to be dependent on different moneyness categories, as they seem to overprice out-of-the-money options. The stochastic models also seem to have a lot more extreme pricing errors in all of the moneyness categories when compared to the ANN and this can especially be observed in Figure 16. The network seems to underprice options that are NTM or ITM and this was also noted by other papers before, and these results can be drawn from Figure 17. TABLE 14 The main results of the study Research question The answer Is the artificial neural network better at pricing the DAX-index call options than the Monte Carlo simulation method, and the Black-Scholes- Merton option pricing model? The ANN is better at pricing the DAX- index call options depending on the moneyness of the options. For the complete dataset, the ANN is more accurate in its pricing. What is the optimal number of hidden layers, hidden neurons, and epochs in the artificial neural network? The optimal architecture is 4 hidden layers, with 16 neurons in each layer and with 1000 epochs. This architecture might be different depending on other model specifications or the used dataset. Are the pricing performances of the artificial neural network, the Monte Carlo simulation, and the Black- Scholes-Merton model dependent on the moneyness of the option? The pricing performance of the three models is dependent on the moneyness of the options. The ANN is the best at pricing OTM and NTM options, whereas the stochastic models and the ANN are comparable in ITM option pricing. Overall, the artificial neural network seems to perform well in option pricing when compared to the stochastic models. The BSM and the MCS performed nearly equivalently as expected. While measuring with MSE and MAE the ANN definitely excels in pricing out-of-the-money options, which are hard to price for the stochastic models. The search for an optimal network architecture is of essence while aiming for the lowest errors and the highest coefficient of determination, even though earlier literature showcases that even without it the
65 network still often outperforms the BSM in most moneyness categories and for the whole dataset together. The ANN in this thesis might have performed even better, if there would have been no problems with the data partitioning because of the interest rates. Training the ANN requires a large dataset and more work than the stochastic models. In situations where the models are comparable, such as ITM option pricing, it might be justified to just use the easiest-to-use model. For other moneyness categories where the differences between the models’ pricing are large, the extra work to train an ANN should be considered as the stochastic models’ performance is unsatisfactory. The main limitations of this study lie in the absence of a strong theoretical background as an artificial neural network is a completely empirical model. Especially the Black-Scholes-Merton model is strongly derived from the theory, and thus the results it yields do have a strong foundation. There are also no mechanisms to explain the pricing decisions of the network. Other limitations might be attributed to there being seemingly no possibility of determining the optimal network architecture other than experimentation, which is very time and computing-power-consuming. It should also be said that setting up an artificial neural network option pricing model and training it does require some knowledge of programming, which is more than what is required by the Black- Scholes-Merton model or the Monte Carlo simulation. There is still a lot to be covered about machine learning in the option pricing framework. This thesis examined the pricing performance of the ANN compared to other models but also investigated the different ANN architectures. However, there still exists a lot of customization options for the neural networks that would be beneficial to be researched more. This possible future research includes for example different model optimizers and different activation functions such as leaky rectified linear units. There also exist many alternative pricing models beyond the stochastic models used here, which the ANN could be compared to. It would also be interesting to see comparisons of computing time required to estimate the models, depending on the different parameters of the model. Artificial neural network’s pricing performance could also be tested on more complex option contracts such as some exotic options. It would also be interesting to see whether any conclusions can be drawn on the optimal structure of the network and how the optimal architecture could be derived from the information of the dataset, and not only through trial and error.
66 REFERENCES Alpaydin, E. (2020). Introduction to Machine Learning, fourth edition. MIT Press. Amilon, H. (2003). A neural network versus Black–Scholes: A comparison of pricing and hedging performances. Journal of Forecasting, 22(4), 317–335. https://doi.org/10.1002/for.867 Anders, U., Korn, O., & Schmitt, C. (1998). Improving the pricing of options: A neural network approach. Journal of Forecasting, 17(5–6), 369–388. https://doi.org/10.1002/(SICI)1099-131X(1998090)17:5/6<369::AIDFOR702>3.0.CO;2-S Andreou, P. C., Charalambous, C., & Martzoukos, S. H. (2008). Pricing and trading European options by combining artificial neural networks and parametric models with implied parameters. European Journal of Operational Research, 185(3), 1415–1433. https://doi.org/10.1016/j.ejor.2005.03.081 Andreou, P., Charalambous, C., & Martzoukos, S. (2014). Assessing the performance of symmetric and asymmetric implied volatility functions. Review of Quantitative Finance and Accounting, 42, 373–397. https://doi.org/10.1007/s11156-013- 0346-z Bachelier, L. (1900). Théorie de la spéculation. Gauthier-Villars. Bakshi, G., Cao, C., & Chen, Z. (1997). Empirical Performance of Alternative Option Pricing Models. The Journal of Finance, 52(5), 2003–2049. https://doi.org/10.1111/j.1540-6261.1997.tb02749.x Barraquand, J., & Martineau, D. (1995). Numerical Valuation of High Dimensional Multivariate American Securities. The Journal of Financial and Quantitative Analysis, 30(3), 383–405. https://doi.org/10.2307/2331347
67 Bengio, Y. (2009). Learning Deep Architectures for AI. Foundations and Trends® in Machine Learning, 2(1), 1–127. https://doi.org/10.1561/2200000006 Bennell, J., & Sutcliffe, C. (2004). Black-Scholes Versus Neural Networks in Pricing FTSE 100 Options. University of Southampton - Department of Accounting and Management Science, Papers, 12. https://doi.org/10.1002/isaf.254 Bi, Q., Goodman, K. E., Kaminsky, J., & Lessler, J. (2019b). What is Machine Learning? A Primer for the Epidemiologist. American Journal of Epidemiology, 188(12), 2222–2239. https://doi.org/10.1093/aje/kwz189 Black, F., & Scholes, M. (1973). The Pricing of Options and Corporate Liabilities. Journal of Political Economy, 81(3), 637–654. Boyle, P., Broadie, M., & Glasserman, P. (1997). Monte Carlo methods for security pricing. Journal of Economic Dynamics and Control, 21(8), 1267–1321. https://doi.org/10.1016/S0165-1889(97)00028-6 Boyle, P. P. (1977). Options: A Monte Carlo approach. Journal of Financial Economics, 4(3), 323–338. https://doi.org/10.1016/0304-405X(77)90005-8 Broadie, M., & Glasserman, P. (1997). Pricing American-style securities using simulation. Journal of Economic Dynamics and Control, 21(8), 1323–1352. https://doi.org/10.1016/S0165-1889(97)00029-8 Buehler, H., Gonon, L., Teichmann, J., & Wood, B. (2019). Deep hedging. Quantitative Finance, 19, 1–21. https://doi.org/10.1080/14697688.2019.1571683 Butts, M. B., Hoest-Madsen, J., & Refsgaard, J. C. (2003). Hydrologic Forecasting. In R. A. Meyers (Ed.), Encyclopedia of Physical Science and Technology (Third Edition). Academic Press. https://doi.org/10.1016/B0-12-227410-5/00325-2 Deutsche Börse. (2024). DAX. https://qontigo.com/index/dax/
68 Diebold, F., & Mariano, R. (1995). Comparing Predictive Accuracy. Journal of Business & Economic Statistics, 13(3), 253–263. Dumas, B., Fleming, J., & Whaley, R. E. (1998). Implied Volatility Functions: Empirical Tests. The Journal of Finance, 53(6), 2059–2106. https://doi.org/10.1111/0022-1082.00083 Freitas, J. F. G. de, Niranjan, M., Gee, A. H., & Doucet, A. (2000). Sequential Monte Carlo Methods to Train Neural Network Models. Neural Computation, 12(4), 955–993. https://doi.org/10.1162/089976600300015664 Garcia, R., & Gençay, R. (2000). Pricing and hedging derivative securities with neural networks and a homogeneity hint. Journal of Econometrics, 94(1), 93–115. https://doi.org/10.1016/S0304-4076(99)00018-4 Hagan, P., Kumar, D., Lesniewski, A., & Woodward, D. (2002). Managing Smile Risk. Wilmott Magazine, 1, 84–108. Hörfelt, P. (2005). On the Error in the Monte Carlo Pricing of Some Familiar European Path-Dependent Options. Mathematical Finance, 15(2), 345–357. https://doi.org/10.1111/j.0960-1627.2005.00222.x Hornik, K., Stinchcombe, M., & White, H. (1989). Multilayer feedforward networks are universal approximators. Neural Networks, 2(5), 359–366. https://doi.org/10.1016/0893-6080(89)90020-8 Hull, J. (2013). Options, Futures and Other Derivatives: Global Edition: QMUL (8th edition). Pearson Education UK. http://ebookcentral.proquest.com/lib/jyvaskylaebooks/detail.action?docID=5138073 Hutchinson, J. M., Lo, A., & Poggio, T. (1994). A Nonparametric Approach to Pricing and Hedging Derivative Securities Via Learning Networks (NBER Working
69 Paper 4718). National Bureau of Economic Research, Inc. https://econpapers.repec.org/paper/nbrnberwo/4718.htm Itô, K. (1951). On Stochastic Differential Equations. Memoirs of the American Mathematical Society, 4. Jang, H., & Lee, J. (2019). Generative Bayesian neural network model for risk-neutral pricing of American index options. Quantitative Finance, 19(4), 587–603. https://doi.org/10.1080/14697688.2018.1490807 Kac, M. (1947). Random Walk and the Theory of Brownian Motion. The American Mathematical Monthly, 54(7), 369–391. https://doi.org/10.2307/2304386 Kingma, D. P., & Ba, J. (2014). Adam: A Method for Stochastic Optimization (arXiv:1412.6980). arXiv. https://doi.org/10.48550/arXiv.1412.6980 Lai, W.-N. (2014). Comparison of methods to estimate option implied risk-neutral densities. Quantitative Finance, 14(10), 1839–1855. https://doi.org/10.1080/14697688.2011.606823 Liang, X., Zhang, H., Xiao, J., & Chen, Y. (2009). Improving option price forecasts with neural networks and support vector regressions. Neurocomputing, 72(13), 3055–3065. https://doi.org/10.1016/j.neucom.2009.03.015 Lindholm, A., Wahlström, N., Lindsten, F., & Schön, T. B. (2022). Machine Learning: A First Course for Engineers and Scientists (1st ed.). Cambridge University Press. https://doi.org/10.1017/9781108919371 Liu, X., Cao, Y., Ma, C., & Shen, L. (2019). Wavelet-based option pricing: An empirical study. European Journal of Operational Research, 272(3), 1132–1142. https://doi.org/10.1016/j.ejor.2018.07.025
70 Longstaff, F. A., & Schwartz, E. S. (2001). Valuing American Options by Simulation: A Simple Least-Squares Approach. The Review of Financial Studies, 14(1), 113–147. Malliaris, M., & Salchenberger, L. (1993a). A neural network model for estimating option prices. Applied Intelligence, 3(3), 193–206. https://doi.org/10.1007/BF00871937 Malliaris, M., & Salchenberger, L. (1993b). Beating the best: A neural network challenges the Black-Scholes formula. 445–449. https://doi.org/10.1109/CAIA.1993.366633 Merton, R. C. (1973). Theory of Rational Option Pricing. The Bell Journal of Economics and Management Science, 4(1), 141–183. https://doi.org/10.2307/3003143 Nevasalmi, L. (2020). Essays on economic forecasting using machine learning. https://www.utupub.fi/handle/10024/150668 Nilsson, N. J. (1998). Neural Networks. In Artificial Intelligence: A New Synthesis. Morgan Kaufmann. https://doi.org/10.1016/B978-0-08-049945-1.50008-3 Nyholm, S. (2022). Machine learning in macroeconomic forecasting. Bachelor’s Thesis. Ormoneit, D. (1999). A regularization approach to continuous learning with an application to financial derivatives pricing. Neural Networks, 12(10), 1405–1412. https://doi.org/10.1016/S0893-6080(99)00078-7 Patil, A. R., & Subbaraman, S. (2021). Performance analysis of static hand gesture recognition approaches using artificial neural network, support vector machine and two stream based transfer learning approach. International Journal of Information Technology. https://doi.org/10.1007/s41870-021-00831-7
71 Pohjonen, T. (2022). Pricing and Hedging options with Neural Networks: A case of FTSE 100 index options. Rojas, R. (1996). The Biological Paradigm. In R. Rojas (Ed.), Neural Networks: A Systematic Introduction. Springer. https://doi.org/10.1007/978-3-642-61068-4_1 Ross, S. M. (2012). Simulation. Elsevier Science & Technology. http://ebookcentral.proquest.com/lib/jyvaskylaebooks/detail.action?docID=1044919 Ruf, J., & Wang, W. (2020). Neural networks for option pricing and hedging: A literature review (arXiv:1911.05620). arXiv. http://arxiv.org/abs/1911.05620 Schinazi, R. B. (2012). Probability with Statistical Applications. Birkhäuser Boston. https://doi.org/10.1007/978-0-8176-8250-7 Stergiou, C., & Siganos, D. (2006). Neural Networks. Imperial College London, Department of Computing. Teddy, S. D., Lai, E. M.-K., & Quek, C. (2008). A cerebellar associative memory approach to option pricing and arbitrage trading. Neurocomputing, 71(16), 3303–3315. https://doi.org/10.1016/j.neucom.2008.04.039 Tilley, J. (1993). 111 Valuing American Options in a Path Simulation Model. Transactions of the Society of Actuaries, 45. Tuominen, H., & Neittaanmäki, P. (2019). Tekoälyn perusteita ja sovelluksia. Jyväskylä: Jyväskylän yliopisto. Tutorialspoint. (2017). Artificial Intelligence—Neural Networks. https://www.tutorialspoint.com/artificial_intelligence/artificial_intelligence_neu ral_networks.htm Vähäkainu, P., & Neittaanmäki, P. (2018). Tekoäly terveydenhuollossa. Jyväskylä: Jyväskylän yliopisto.
72 Varian, H. (2014). Big Data: New Tricks for Econometrics. American Economic Association. https://www.aeaweb.org/articles?id=10.1257/jep.28.2.3 Wang, H. (2012). Monte Carlo Simulation with Applications to Finance. CRC Press LLC. http://ebookcentral.proquest.com/lib/jyvaskylaebooks/detail.action?docID=1648155 Zapart, C. (2002). Stochastic volatility options pricing with wavelets and artificial neural networks. Quantitative Finance, 2, 487–495. https://doi.org/10.1080/14697688.2002.0000016
73 APPENDIX APPENDIX 1 Notations and abbreviations of Table 3 C Option price 𝐶𝐵𝑆−𝑋 Option price given by the BSM. For X; H=BSM with historical volatility, V=BSM with volatility index such as VIX HR Hedging ratio K Strike price S Underlying’s price r Interest rate 𝜎𝐶𝑎𝑙 Volatility from calibration 𝜎𝐻 Historical volatility 𝜎𝐼𝑀 ATM implied volatility 𝜎𝑉 Volatility index such as VIX 𝜏 Time to maturity CVaR Conditional value at risk DM Diebold and Mariano test9 KS Kolmogorov and Smirnov twosample test10 MAE Mean absolute error MAPE Mean absolute percentage error MATE Mean absolute tracking error ME Mean error MPE Mean percentage error MSE Mean squared error PE Prediction error 𝑅2 Coefficient of determination 9 See Diebold & Mariano (1995). 10 See Lai (2014), where he explains the test in short.