Quantitative trading - page 14

 

Computational Finance: Lecture 9/14 (Monte Carlo Simulation)



Computational Finance: Lecture 9/14 (Monte Carlo Simulation)

The lecture covers several topics related to Monte Carlo simulation and integration in computational finance, providing insights into different approaches and techniques.

The lecturer begins by introducing integration problems and demonstrating how to calculate integrals using Monte Carlo sampling. They explain two approaches: the classical approach for integration and the integration based on the expected value. Through programming demonstrations in Python, the lecturer shows how to analyze and make simulations more efficient. They discuss the impact of smoothness on convergence and different types of convergence.

Furthermore, the lecture covers two important discretization techniques, namely Euler and Milstein, and explains how to control error based on the time step in the simulation. The lecturer emphasizes the principles and history of Monte Carlo simulation, which has been utilized in various fields for nearly 90 years. It gained popularity among physicists in the 1930s, especially during the Manhattan Project.

The importance of calculating the expected value of a future payoff in computational finance is discussed. This involves integrating over the real axis using the density of the stock, considering constant or time-dependent interest rates. Monte Carlo integration, associated with sampling and probability theory, is introduced as a technique that provides varying outputs with each simulation. The lecture emphasizes its application to highly dimensional problems and the ability to control the variance of the error distribution by adjusting settings in the simulation. The lecturer also discusses methods for improving sampling and simulating with Monte Carlo.

A specific method for estimating integrals using Monte Carlo simulation is explained. This method involves sampling points uniformly in a rectangular area and counting the proportion of samples under the curve to estimate the integral. Although not commonly used in finance, this approach can be valuable for high-dimensional problems. The lecturer emphasizes the importance of understanding the function being integrated to efficiently capture the area of interest.

The lecture also delves into the limitations and challenges of Monte Carlo simulation in finance. While it provides rough estimates, the results can be highly inaccurate, particularly for complex simulations. The lecturer explains that the expected error in Monte Carlo simulations decreases by the square root of the number of simulations, leading to computational intensity. The lecture further explores the relationship between the integral and expectation approaches, showcasing an example of how they are linked. In finance, the expectation approach is generally considered more efficient and accurate than traditional Monte Carlo simulation.

The lecture covers the law of large numbers and its relation to independent random variables. Estimation of variance and calculation of expectation for determining the mean are discussed. A comparison is presented between the "naive approach" and the expectation approach, with the latter proving significantly more accurate even with fewer samples. The lecturer demonstrates the code for performing this simulation, emphasizing the need to specify two points for the approach to integrate the function.

Different examples of stochastic integrals encountered in finance are discussed, highlighting the summation of Brownian motion over time steps, the summation of Brownian motion over increments, and the multiplication of Brownian motion by increments. A more concrete case is presented, where a function g(t) is integrated from 0 to T with a function g(s)dW(s). The lecture explains how to divide the integration range into smaller subintervals and use Monte Carlo simulation to approximate the integral. The importance of sample size and the range of values is emphasized for accurate results.

The speaker explains how to numerically solve a deterministic integral through a partition and approximation process. They introduce the Ito integral and explain the evaluation of the function GT at the beginning of the interval, with the integral chosen at the left boundary. Using an example with a GT function of T squared, the lecturer demonstrates how to obtain the expectation and variance with the Ito isometry property. Python code is provided to simulate the computation, and the steps involved are explained.

The generation of Brownian motion and its use in constructing a process and defining an integral are discussed. The lecture walks through the process of generating a distribution and using it to construct the Brownian motion process. The impact of removing the scaling condition on the distribution and variance is demonstrated. The lecturer also explains a trick to solve integrals involving Brownian motion by applying Ito's Lemma. Finally, the lecture shows how to consider the function x squared to calculate the integral.

The application of Ito's Lemma to obtain the dynamics of a function equal to t w squared t is discussed. By applying Ito's Lemma to x squared, the lecture reveals a term that is computed through integration, resulting in a pi squared distribution instead of a normal distribution. The speaker emphasizes the importance of experience in guessing which type of function to apply to achieve the desired result. The code is modified to switch between integrals, and an increase in the number of samples is suggested to improve the outcome.

Monte Carlo simulations, numerical routines, and the significance of good quality random number generators are discussed. The lecture explains Ito's Lemma and offers a heuristic approach to understanding why dwt dwt equals zero. It is observed that decreasing the grid size leads to faster convergence of the variance compared to the expectation. An experiment is conducted to demonstrate that the expectation goes to zero at a slower rate while the variance approaches nearly zero. The speaker provides intuition on why dwt dwt equals zero, while acknowledging that the theoretical proof of this relationship is quite involved.

The lecture delves into the convergence of two similar functions, g1 and g2, and investigates their expectations when sampled from a Brownian motion. These functions have limits of 0 as x approaches minus infinity and 1 as x approaches plus infinity. The lecturer calculates the error for increasing numbers of simulated samples and presents a graph comparing the error to the number of samples. The first function, with a non-smooth curve and wide oscillation range, is contrasted with the second function, which has a smooth curve and converges faster.

Convergence is highlighted as a crucial consideration when utilizing Monte Carlo simulation in finance. The lecture explains the difference between weak and strong convergence, with strong convergence being more powerful than weak. Errors can occur in convergence when dealing with non-smooth functions and digital-type payoffs, leading to substantially different evaluation results. Understanding the differences and implications of both types of convergence is critical to ensure accurate financial simulations and evaluations.

The lecture discusses weak and strong convergence in the context of Monte Carlo simulations and pricing algorithms. While weak convergence matches moments at the expectation level, strong convergence is necessary for accurate path-dependent payoffs. A complete Monte Carlo pricing algorithm involves defining a grid from the present time to the payment date of the contract, a pricing equation, and a stochastic driver for the asset. Monte Carlo simulations are necessary when closed-form evaluations are not possible due to the complexity of the stock process. The grid is typically equally spaced, but in some cases, alternative strategies may be employed.

The professor emphasizes the accuracy and time constraints of Monte Carlo simulation. It is noted that while increasing the number of time steps improves accuracy, it also increases the simulation time. Advanced techniques or closed-form solutions that allow for larger Monte Carlo steps can be beneficial in achieving both accuracy and speed. The lecture then proceeds to define the grids, asset, and payoff for a European type option. The final state of the option depends on the timing of observations. The lecture explains how to calculate the option price by taking the expectation under the queue measure and discounting it, while also calculating the standard error to measure the variability of the results obtained.

The concept of the standard error is discussed in the context of Monte Carlo simulation. The lecture explains that the expectation can be calculated using the strong law of large numbers, and the variance of the mean can be calculated by assuming that the samples are drawn independently. The standard error, which measures the variability of the expectation given a certain number of paths, can be determined by dividing the variance by the square root of the number of paths. As the number of samples increases, the error decreases. Typically, increasing the number of samples by a factor of four will reduce the error by a factor of two. A classical method for simulating stochastic differential equations is through Euler discretization, which is straightforward but has its limitations.

The lecturer discusses the use of stochastic differential equations and Euler discretization in Monte Carlo simulations. The process involves defining a grid, performing a simulation, and measuring the difference between the exact solution and the simulation through absolute error. It is essential to ensure that the randomness of the variables in both the exact and discretized versions is the same to ensure comparability. The lecture also emphasizes the importance of vectorization in Monte Carlo simulations, as it is more efficient than using double loops for each time step and path. However, it is important to note that while this approach simplifies the process, it comes with limitations in terms of accuracy and speed.

The exact solution for Brownian motion with a drift term and volatility term (r and sigma) is examined, using the Brownian motion generated in the exact representation and the same motion used in the approximation. The lecture compares the absolute error and the average error in weak convergence, highlighting that weak convergence suffices for pricing a European type of payoff but may not be enough for path-dependent payoffs. Graphs are shown to illustrate the generated paths for Euler discretization compared to the exact solution, where differences between the two can be observed for some paths. The lecture concludes with a comparison of strong and weak errors.

The speaker discusses the implementation of Monte Carlo simulations using code. They explain that to quantify error, a measure of error needs to be used, as discussed earlier in the lecture. The code generates paths and compares the exact values with the approximation using multicolor simulation. The outputs are time paths for the stock and the exact values. The speaker emphasizes the importance of generating the same Brownian motions for both the approximation and the exact solution to compare them at the error level. To measure weak and strong convergence errors, they define a range of the number of steps and perform Monte Carlo simulations for each step. The code generates two types of errors: weak error and strong error.

The lecturer discusses the simulation process involved in the Monte Carlo method and how it can be time-consuming because the simulation needs to be repeated many times. The results are shown through weak and strong convergence graphs, where the weak convergence error is represented by the slow-growing blue line, while the strong convergence error follows a square root of delta T shape, confirming the analysis. The lecturer explains that the error can be significantly reduced through Milstein's discretization technique, which derives additional terms by applying Taylor's expansion. While it involves more work to arrive at the final formula, Milstein's scheme requires the derivative of the volatility term, which is not always available analytically.

The speaker explains the use of Monte Carlo simulation in computational finance, specifically in geometric Brownian motion. They demonstrate how to compute the volatility term in the distribution sense and compare it with the Euler scheme. Although Monte Carlo simulation has a faster convergence rate than Euler's method, it can be challenging to derive the derivative in models involving multiple dimensions, as it requires additional computational computations. Furthermore, the speaker compares the absolute error in the weak and strong senses between the two schemes, highlighting that Monte Carlo's strong error is linear in delta t, while Euler's weak error is of the same order. Finally, they provide a code implementation of Monte Carlo simulation for generating paths in geometric Brownian motion and analyzing its strong convergence.

The speaker discusses the impact of different discretization techniques on convergence using the example of the Black-Scholes or geometric Brownian motion. The analysis of Euler and Milstein schemes serves as an illustration of the impact of different discretization techniques. The speaker compares the errors between the Milstein and Euler schemes, showing that the Milstein scheme's error is much lower than Euler's, although it may not always be applicable. The benefit of different schemes may not be evident when looking at the final results, but considering the computational expense of the simulation, time becomes crucial. Therefore, using large time steps would be essential if we want to perform fast simulations of Monte Carlo.

The lecturer then proceeds to discuss the role of random number generators (RNGs) in Monte Carlo simulations. They emphasize the importance of using good quality RNGs to ensure accurate and reliable results. The lecturer mentions that pseudo-random number generators (PRNGs) are commonly used in simulations and explains how they generate sequences of numbers that approximate randomness. They also highlight the need for reproducibility in simulations by using a fixed seed value for the RNG. Next, the lecturer discusses the concept of antithetic variates, which is a variance reduction technique used in Monte Carlo simulations. The idea behind antithetic variates is to generate pairs of random variates that have opposite effects on the quantity of interest. By taking the average of the results obtained from the original variates and their antithetic counterparts, the variance of the estimate can be reduced. This technique is particularly useful when dealing with symmetric distributions.

The lecture then introduces the concept of control variates as another variance reduction technique. Control variates involve introducing a known function into the simulation process that is correlated with the quantity of interest. By subtracting the estimate obtained from the known function from the estimate obtained from the target function, the variance of the estimate can be reduced. The lecturer provides examples to illustrate how control variates can be applied in practice. In addition to variance reduction techniques, the lecturer discusses the concept of stratified sampling. Stratified sampling involves dividing the sample space into strata and sampling from each stratum separately. This approach ensures that each stratum is represented in the sample, leading to more accurate estimates. The lecture explains the procedure for implementing stratified sampling and highlights its advantages over simple random sampling.

Finally, the lecturer explores the concept of importance sampling. Importance sampling is a technique used to estimate the probability of rare events by assigning higher probabilities to samples that are more likely to produce the desired event. The lecture explains how importance sampling can improve the efficiency of Monte Carlo simulations for rare event estimation. The lecturer provides examples and discusses the importance of choosing an appropriate sampling distribution for accurate results.

The lecture covers a range of topics related to Monte Carlo simulations, including integration problems, calculation of integrals using Monte Carlo sampling, programming demonstrations, analysis of convergence, discretization techniques, principles and history of Monte Carlo simulation, application in computational finance, variance reduction techniques, and importance sampling. The lecturer provides insights into the theory and practical implementation of Monte Carlo simulations and highlights their relevance in various fields.

  • 00:00:00 In this section on Monte Carlo simulation, the lecturer covers several topics, including integration problems and how to calculate integrals using Monte Carlo sampling. They present two different approaches: a classical approach for integration and integration based on the expected value. The lecture also includes programming demonstrations in Python and how to analyze and make simulations more efficient. The lecturer discusses the impact of smoothness on convergence and different types of convergence. They also introduce two important discretization techniques, Euler and Milstein, and show how to control error depending on the time step in the simulation. Finally, they discuss the principles and history of Monte Carlo simulation, which has been around for almost 90 years and was popularized by physicists in the 30s, especially in the Manhattan Project.

  • 00:05:00 this section, the lecturer discusses the importance of calculating the expected value of a future payoff in computational finance. This involves using an integral over the real axis with the density of the stock, assuming constant or time-dependent interest rates. The Monte Carlo integration technique is associated with sampling and probability theory, and the output obtained from the simulation will vary each time. The technique can be used for highly dimensional problems and can control the variance of the error distribution by choosing certain settings in the simulation. The lecture also discusses methods to improve sampling and simulating with Monte Carlo.

  • 00:10:00 In this section, the lecturer explains how to perform Monte Carlo simulation to estimate an integral. The method involves sampling dots uniformly in a rectangular area and counting how many samples are under the curve out of the total number of samples. By multiplying the proportion of samples under the curve by the area of the rectangle, an estimate of the integral can be obtained. While this approach is not typically used in finance, it can be useful for high-dimensional problems. The lecturer notes that knowing more about the function being integrated can be helpful in ensuring that the simulation efficiently captures the area of interest.

  • 00:15:00 In this section of the lecture, the professor discusses the Monte Carlo simulation technique and how it can be used to estimate integrals. He explains that while Monte Carlo simulation can provide a rough estimate, the results can be highly inaccurate, especially in finance where highly complex simulations are required. The expected error in the Monte Carlo simulations is reduced by the square root of the number of simulations, which can be computationally intensive. The professor also discusses the relationship between the integral and the expectation approach and provides an example of how they are linked. Overall, the expectation approach is considered more efficient and accurate in finance compared to Monte Carlo simulation.

  • 00:20:00 In this section, the lecturer discusses the law of large numbers and its relation to independent random variables. They highlight the estimation for variance and the calculation of the expectation, both for calculating the mean. The comparison is then shown between the "naive approach" and the expectation approach, with the latter being significantly more accurate even with fewer samples. The lecturer goes on to show the code for performing this simulation, emphasizing the need to specify two points for this approach to integrate the function.

  • 00:25:00 In this section, the lecturer discusses different examples of stochastic integrals encountered in finance. The first example involves the summation of Brownian motion over time steps, while the second involves the summation of Brownian motion over increments. In the third example, Brownian motion is multiplied by increments. The lecturer then moves on to a more concrete case where a function g(t) is integrated from 0 to T with a function g(s)dW(s). The method involves dividing the integration range into smaller subintervals and using Monte Carlo simulation to approximate the value of the integral. The lecture emphasizes the importance of sample size and the range of values for accurate results.

  • 00:30:00 In this section, the speaker discusses how to numerically solve a deterministic integral through a partition and approximation process. They introduce the Ito integral and explain that the function GT is evaluated at the beginning of the interval, and the integral is always chosen at the left boundary. The speaker uses an example with a GT function of T squared and demonstrates how to obtain the expectation and variance with the Ito isometry property. They provide Python code to simulate the computation and explain the steps involved.

  • 00:35:00 In this section of the lecture, the speaker discusses how to generate Brownian motion and use it to construct a process and define an integral. They generate a distribution and use it to construct the process, then show the impact of removing the scaling condition on the distribution and the variance. The speaker also explains a trick to solve integrals involving Brownian motion: applying Ito's Lemma. Finally, they show how to consider the function x squared to calculate the integral.

  • 00:40:00 In this section, the speaker discusses the application of Ethos Lemma in order to obtain the dynamics of a function equal to t w squared t. By applying Ito's Lemma to x squared, the speaker obtains a term that is computed through integration, resulting in a pi squared distribution instead of a normal distribution. The speaker emphasizes the need for experience in guessing which type of function to apply in order to obtain the desired result. The code is modified to switch between integrals, and an increase in the number of samples is suggested to improve the outcome.

  • 00:45:00 In this section, the speaker discusses Monte Carlo simulations, numerical routines, and the importance of good quality random number generators. They go on to explain Ito's Lemma and delve into a heuristic approach to understand why dwt dwt is equal to zero. By decreasing the grid size, the variance converges much faster than the expectation, and this can be observed in the experiment where the expectation goes to zero much slower while the variance is nearly zero. The speaker provides an intuition on why dwt dwt is equal to zero, and concludes by saying that the theoretical proof of this is rather involved.

  • 00:50:00 In this section, the speaker discusses the convergence of two similar functions, g1 and g2, and investigates their expectations when sampled from a Brownian motion. The functions have limits of 0 for x going to minus infinity and 1 for x going to plus infinity. The speaker calculates the error for increasing numbers of simulated samples and shows a graph comparing the error to the number of samples. The first function has a non-smooth curve and oscillates with a wide range, while the second function has a smooth curve and converges faster.

  • 00:55:00 In this section, the speaker discusses the importance of considering convergence when using Monte Carlo simulation in finance. The two types of convergence discussed are weak and strong convergence, with strong being more powerful than weak. The speaker explains that errors can occur in convergence when dealing with non-smooth functions and digital type of payoffs, which could result in substantially different evaluation results. Understanding the differences and implications of both types of convergence is critical in ensuring accurate financial simulations and evaluations.

  • 01:00:00 In this section of the video, the lecturer discusses weak and strong convergence in the context of Monte Carlo simulations and pricing algorithms. While weak convergence matches moments at the expectation level, strong convergence is necessary for accurate path-dependent payoffs. A complete Monte Carlo pricing algorithm involves defining a grid from today until the payment date of the contract, a pricing equation, and a stochastic driver for the asset. Monte Carlo simulations are necessary when closed-form evaluations are not possible due to the complexity of the stock process. The grid is typically equally spaced, but in some cases, it may not be.

  • 01:05:00 In this section of the lecture, the professor discusses the accuracy and time constraints of Monte Carlo simulation, noting that while more time steps increase accuracy, it also increases time spent simulating. Advanced techniques or closed-form solutions that allow for large Monte Carlo steps can be beneficial for both accuracy and time. The professor then proceeds to define the grids, asset and payoff for a European type option and explains that the final state depends on the timing of observations. The expectation under queue measure is then taken and discounted to determine the option price, with a standard error calculated to measure the variability of the obtained results.

  • 01:10:00 In this section, the concept of standard error is discussed in the context of Monte Carlo simulation. The expectation can be calculated using the strong law of large numbers, and the variance of the mean can be calculated by assuming that the samples are drawn independently. The standard error, which measures the variability of the expectation given a certain number of paths, can be determined by dividing the variance by the square root of the number of paths. As the number of samples increases, the error decreases; typically, increasing the number of samples by a factor of four will reduce the error by a factor of two. A classical method for simulating stochastic differential equations is through Euler discretization, which is straightforward but has limitations.

  • 01:15:00 In this section, the lecturer discusses the use of stochastic differential equations and Euler discretization in Monte Carlo simulations. The process involves defining a grid, performing a simulation, and measuring the difference between the exact solution and the simulation through absolute error. It is essential to ensure the randomness of the variables in both the exact and discretized versions are the same to ensure comparability. The lecture also emphasizes vectorization in Monte Carlo simulations as it is more efficient than using double loops for a time step and paths. Overall, while this approach simplifies the process, it comes with limitations in accuracy and speed.

  • 01:20:00 In this section, the exact solution for boundary motion with r and sigma is examined, using the Brownian motion generated in the exact representation and the same motion used in the approximation. The absolute error and the average error in weak convergence are compared, and it is explained that while weak convergence suffices for pricing a European type of payoff, it is not enough for path-dependent payoffs. The graphs show the generated paths for Euler discretization compared to the exact solution, where differences between the two can be seen for some paths, and a comparison of strong and weak errors.

  • 01:25:00 In this section, the speaker discusses implementing Monte Carlo simulations using code. They explain that to quantify error, a measure of error needs to be used, which they had discussed earlier in the slides. The code generates paths and compares exact versus approximation using multicolor simulation. The outputs are time paths for stock and the exact values. The speaker emphasizes the importance of generating the same Brownian motions for both approximation and exact to compare them at the error level. To measure weak and strong convergence errors, they define a range of the number of steps and perform Monte Carlo simulations for each step. The code generates two types of errors: weak error and strong error.

  • 01:30:00 In this section, the lecturer discusses the simulation process involved in the Monte Carlo method and how it can be time-consuming because the simulation needs to be repeated many times. The results are shown through the weak and strong convergence graphs, where the weak convergence error is represented by the slow-growing blue line, while the strong convergence error follows a square root of delta T shape that confirms the analysis. The lecturer explains that the error can be significantly reduced through Milstein's discretization technique, which derives additional terms by applying Taylor's expansion. While it involves more work to arrive at the final formula, Milstein's scheme requires the derivative of the volatility term, which is not always available analytically.

  • 01:35:00 In this section, the speaker explains the use of Monte Carlo simulation in computational finance, specifically in geometric Brownian motion. They demonstrate how to compute the volatility term in the distribution sense and compare it with the Euler scheme. Although Monte Carlo simulation has a faster convergence rate than Euler, it can be challenging to derive the derivative in models involving multiple dimensions, as it requires additional computational computations. Furthermore, the speaker compares the absolute error in the weak and strong senses between the two schemes, highlighting that Monte Carlo's strong error is linear in delta t, while Euler's weak error is of the same order. Finally, they provide a code implementation of Monte Carlo simulation for generating paths in geometric Brownian motion and analyzing its strong convergence.

  • 01:40:00 In this section, the speaker discusses the impact of different discretization techniques on convergence using the example of the Black-Scholes or geometric Brownian motion. The analysis of Euler and Milstein schemes serves as an illustration of the impact of different discretization techniques. The speaker compares the errors between the Milstein and Euler schemes, showing that the Milstein scheme's error is much lower than Euler's, although it may not always be applicable. The benefit of different schemes may not be seen once looking at the final results, but time is also important when considering the simulation's computational expense. Therefore, using large time steps would be essential if we want to perform fast simulations of Monte Carlo.
Computational Finance: Lecture 9/14 (Monte Carlo Simulation)
Computational Finance: Lecture 9/14 (Monte Carlo Simulation)
  • 2021.04.16
  • www.youtube.com
Computational Finance Lecture 9- Monte Carlo Simulation▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬This course is based on the book:"Mathematical Modeling and Com...
 

Computational Finance: Lecture 10/14 (Monte Carlo Simulation of the Heston Model)



Computational Finance: Lecture 10/14 (Monte Carlo Simulation of the Heston Model)

The lecture focuses on utilizing Monte Carlo simulation for pricing derivatives, specifically European options, using the challenging Heston model. It begins with a warm-up exercise where European and digital options are priced using Monte Carlo and the simple Black-Scholes model. The simulation of the Cox-Ingersoll-Ross (CIR) process, which models the variance in the Heston model, is discussed, emphasizing the need for accurate sampling from this distribution. The lecturer demonstrates exact simulation of the CIR model, highlighting its benefits in generating accurate samples.

Next, the lecturer introduces the concept of almost exact simulation, which allows for larger time steps and higher accuracy compared to Euler discretization. The Heston model is simulated using both Euler and Milstein schemes, and the results are compared. It is noted that weak convergence is important for European-type payoffs, while strong convergence is important for path-dependent payoffs. Adjusting the number of steps or paths is necessary depending on the type of payoff and desired quality of results, considering computational time constraints in real-world applications.

The computational time required for evaluations is discussed, and a code comparison between Euler and Milstein discretization schemes is presented. The lecturer advises on code optimization for production environments, emphasizing that storing whole paths may not be necessary for payoff evaluation that only requires the final stock value. The lecture also provides the exact solution as a simplified implementation of the Black-Scholes model.

The pricing of digital or cash-or-nothing options using Monte Carlo simulation is explained, highlighting the differences in payoff calculation compared to European options. Diagnostics and outputs are presented to compare the approaches for both types of options. The lecture acknowledges the limitations of Monte Carlo simulations for options with terminal-dependent payoffs, where strong convergence is not present. The code's generic nature is emphasized, making it applicable to other models such as the Heston model.

The lecture dives into the conditions required for the Heston model to behave well and discusses how discretization techniques may affect these conditions. The impact of changes in the volatility parameter on the model's behavior is demonstrated through graphs, emphasizing that the process should not become negative. The limitations of Euler discretization in maintaining these conditions are also highlighted. The probability of negative realizations in the next iteration of the Heston model with Monte Carlo simulation is discussed. The likelihood of negative realizations is calculated based on the relationship between certain parameters, and the importance of aligning Monte Carlo paths with the model is emphasized to avoid significant pricing differences. Two approaches for handling negative values in the Heston model simulation are discussed: truncation and the reflecting Euler scheme. The pros and cons of each approach are compared, and the impact of smaller time steps on reducing bias is mentioned, albeit at a higher computational cost.

The lecture explores the use of exact simulation for the CIR process in the Heston model, enabling sampling directly from the non-central chi-square distribution. This approach avoids the need for small time steps and allows for sampling at specific times of interest. The computational code for the simulation is described, emphasizing its simplicity and optimality for generating samples. The lecture delves into the integration of the Heston model process for both the X and variance values, highlighting the simplification achieved through substitution. The importance of proper ordering of the processes in multidimensional simulations is emphasized, along with the recommendation to use large time steps for easier integration. The lecture addresses the importance of large time step simulations for pricing options on specific dates, aiming to reduce computation time while maintaining quality. Exact simulations using sampling from the non-central chi-square distribution are recommended, without introducing additional approximations. The lecture also discusses the impact of delta t on simulation accuracy and suggests investigating its influence on the results.

The concept of error in computational finance is discussed, with the lecture presenting a numerical experiment that analyzes the performance of the almost exact simulation of the Heston model. The lecture explains that by simplifying the integrals and using the almost exact simulation of the CIR process, the simulation becomes deterministic rather than stochastic. The lecturer conducts a numerical experiment to evaluate the performance of this simplified scheme in simulating the Heston model.

The lecture further explores the trade-off between computational effort and the small error introduced in the framework of computational finance. The lecturer emphasizes the need to calibrate the model to market data, as the Feller condition for volatility processes is often not satisfied in practice. The lecture notes that correlation coefficients for the Heston model are typically strongly negative, potentially due to numerical scheme considerations.

The lecturer discusses the use of Monte Carlo simulation for pricing exotic derivatives and stresses the importance of calibrating the model to liquid instruments. Pricing accuracy is ensured by simulating Monte Carlo paths using parameters obtained from model calibration and considering the hedging instruments related to the derivative. The lecturer highlights the superiority of almost exact simulation over Euler discretization, even with fewer time steps, and explains that the main source of Euler error lies in problematic discretization of the variance process under extreme parameters or violations of the Feller condition.

The accuracy of Euler discretization in the Heston model is explored through experiments with different options, including deep in-the-money, out-of-the-money, and at-the-money options. The lecture presents the code used in the experiment, focusing on the Euler discretization and the almost exact simulation, which involves the CIR sampling and simulation of the log stock process using the non-centrality parameter.

The lecturer discusses the settings and configurations for simulations to price European options using both Euler discretization and almost exact simulation. The exact simulation of the CIR process, the correlation of Brownian motions, and the exponential transformation are integral parts of the simulation. Option pricing using a generic function is demonstrated, showcasing the impact of variables such as strike price and time step on the accuracy of the simulations. The lecture concludes by highlighting that the almost exact simulation achieves high accuracy with fewer time steps compared to the Euler scheme.

The lecture extensively covers the use of Monte Carlo simulation for pricing derivatives in the Heston model. It explores the simulation of the CIR process, discusses the challenges and pitfalls, and compares different discretization schemes. The lecture emphasizes the benefits of almost exact simulation, highlights the importance of calibration and model accuracy, and provides practical insights and code examples for implementing Monte Carlo simulations in computational finance.

  • 00:00:00 In this section of the lecture on computational finance, the focus is on using Monte Carlo simulation for pricing derivatives such as European options using the Heston model, which is a challenging model in the industry. The lecture begins with a warm-up where pricing of European and digitized options is done using Monte Carlo and simple Black-Scholes model. The simulation of the CIR process is discussed as it is the dynamics for the variance of the Heston model, which is an essential ingredient in the simulation. The pitfalls in the simulation are highlighted, and the exact simulation of the CIR model is demonstrated, which is beneficial for accurate sampling from the distribution. The almost exact simulation is introduced, which allows for larger time steps than Euler and higher accuracy, and this is used to simulate the Heston model using Euler discretization, and the results are compared to Milstein discretization.

  • 00:05:00 In this section, the lecturer discusses the Monte Carlo simulation of the Heston model for European call option and digital call option payoffs. They start with an initial stock of five, sigma of thirty percent, interest rate of six percent, and maturity of one. They compare the results of different numbers of paths using both Euler and Milstein schemes, finding that for European type payoffs, the weak order of convergence is important, while for part-dependent payoffs, strong convergence is important. They caution that depending on the type of payoff, one needs to adjust the number of steps or paths for higher quality results, keeping in mind the computing time required, especially in a production environment where time is of the essence.

  • 00:10:00 In this section of the lecture on Monte Carlo simulation of the Heston model, the speaker discusses the computational time required for evaluations and provides a code comparison between Euler and Milstein discretization schemes. The code involves the generation of paths and payoff valuation, with files for European call and put options. The speaker notes that the code can be made more efficient for production environments and that storing whole paths is unnecessary for payoff evaluation that only requires the last value of the stock. The exact solution is provided as a simple implementation of the Black-Scholes model.

  • 00:15:00 In this section, the speaker explains how to calculate the value of a digital or cash or nothing option using the same approach as the European option. The only difference is in the payoff calculation, where they only look at the stock value at maturity time and for the output option, they calculate the probability of the stock being larger than K. They run different diagnostics and outputs that show the similarities and errors between the approaches for both the European and digital options. The speaker also talks about the disadvantages of using Monte Carlo simulations for options whose payoff only depends on the terminal payment, as strong convergence is not present. Finally, the speaker notes that the code is generic, meaning the same approach can be used for other models, such as the Heston model.

  • 00:20:00 In this section, the speaker discusses the conditions that must be satisfied in the Heston model for paths to behave well and how discretization techniques may not be able to maintain these conditions. The speaker explains that if the volatility is significantly smaller in comparison to the speed of mean reversion multiplied by the long-term mean, then paths of the process behave well. However, if this condition is not met, then paths of the process can reach zero and bounce back, making it a special process. The speaker then demonstrates the impact of changes in the volatility parameter through graphs and explains how the process cannot become negative. The speaker concludes by mentioning that if one applies Euler discretization, the model may not be able to maintain these conditions and the paths may behave differently.

  • 00:25:00 In this section of the lecture, the professor discusses the probability of negative realizations in the next iteration while using the Heston model with Monte Carlo simulation. The probability of negative realizations is calculated by assuming that the previous timestamp had a positive VI, and by finding the probability of VI+1 being negative. The likelihood of this scenario occurring depends on the relationship between TAPA, V BAR, and GAMMA. If the gamma is very large and kappa times V bar is very small, the probability of negative realizations increases and could lead to complex numbers, causing the simulation to fail. The professor emphasizes the importance of not redefining the model and ensuring that the Monte Carlo paths align with the model to avoid substantial differences in pricing derivatives.

  • 00:30:00 In this section, the lecturer discusses two possible approaches for handling the problem of negative values in the Heston model simulation. The first approach is truncation, where negative values are forced to be zero, but this introduces bias that can significantly diverge from the real model. The second approach is the reflecting Euler scheme, where negative values are mirrored to their absolute values, but this also redefines the process and can result in bias. The lecturer compares the two schemes and notes that the bias can be reduced with smaller time steps, but this comes at a greater computational cost.

  • 00:35:00 In this section, the lecturer discusses the two approaches used for Monte Carlo simulation of the Heston Model: truncation and reflection principle. Both approaches provide biases that can only be compared to each other, not to the exact solution. However, without an exact solution, a reference with an extremely large number of time steps can be used to compare the biases. The lecturer also notes the importance of fixing the random seed for both approaches to ensure the exact same randomness for both paths. Finally, the lecturer warns of a small typo in the code regarding the resetting of mounts and advises students to set a fixed value for delta t and compare it to the reference with a large number of time steps.

  • 00:40:00 In this section of the lecture, the speaker discusses the simulation of the CIR process using exact simulation instead of relying on Euler or middle state schemes. With the knowledge that the CIR process follows a non-central chi-square distribution, it is possible to sample directly from this distribution using fast libraries available in popular programming languages such as Python, MATLAB, or C++. The advantage of sampling directly from the non-central chi-square distribution is that small time steps do not need to be considered as one can sample directly from the times of interest. Additionally, the presentation includes a discussion of the process for simulating the distribution, including the impact of indexes and degrees of freedom on the parameters.

  • 00:45:00 In this section, the speaker talks about the Monte Carlo simulation of the Heston Model. To perform the exact sampling simulation of the CIR, users must define a parameter, calculate certain parameters at specific points, and obtain v by taking a vector of all the paths. The computational code used for simulation is straightforward, as it involves generating a sample, evaluating the function, and taking the previous time step. Additionally, there are no conditional checks or requirements for the simulation to work and sampling from the exact distribution means that the simulation does not depend on the time steps involved, making it an optimal method for generating samples.

  • 00:50:00 In this section of the lecture, the focus is on accurately simulating the Heston model using the non-central high score distribution to improve convergence. The Heston model has a variance process that also funds the CIR process, and exact sampling from the CIR process is important in facilitating this improvement of convergence. The first step is to perform a logarithmic transformation for the convergence of the Monte Carlo simulation. Then, the stochastic differential equations are expressed in terms of independent Brownian emotions using the Cholesky decomposition to obtain exact sampling from the non-central high square distribution. This is a crucial step in linking it to the CIR process and accurately simulating the Heston model.

  • 00:55:00 In this section of the lecture, the speaker explains the importance of ordering the processes when simulating multidimensional problems and demonstrates how to integrate the Heston model process for both the X and variance values. The correlation between X and variance is the same, allowing for the expression from the variance process to be substituted into the process for X. This substitution simplifies the equation and allows for the simulation of the entire process. The speaker advises using large time steps for easier integration of the process.

  • 01:00:00 In this section, the focus is on performing large time step simulations, which are crucial for pricing options on specific dates. We want to minimize the time needed for simulations by reducing the number of paths simulated in between observation points while still maintaining quality. Exact simulations using the sampling from the loan central high square method are recommended without additional approximations. The simulation of the Heston model is based on the value of samples at time t, approximated by the value in the beginning of that interval. The approximation introduces a new term, delta t, which must be investigated to determine an acceptable level of impact on the simulation accuracy.

  • 01:05:00 In this section, the concept of error in computational finance is discussed, with the hope that the computational effort will compensate for the small error introduced in the framework. The integrals are simplified so that the expression for x_i+1, the almost exact simulation of the Heston model, can be obtained given the exact simulation of the CIR process. By freezing the values of vt at time t_i, the variance process is predetermined, and the simulation is no longer stochastic. With this simplified scheme, a numerical experiment is conducted to analyze the performance of the almost exact simulation of the Heston model.

  • 01:10:00 In this section, the lecturer discusses the concept of almost exact simulation and the benefits of large time step simulations. They explain that performing large time steps reduces the time necessary for computation, but introduces an error. The lecture also includes an experiment analyzing the error generated when changing time step sizes, strike prices, and other parameters for the Heston model. The lecturer also mentions that the Feller condition, a limit condition for volatility processes, is almost always not satisfied in practice, and highlights the importance of calibrating the model to market data. Finally, the lecture notes that correlation coefficients for the Heston model are typically strongly negative in practice, which could be due to the numerical scheme.

  • 01:15:00 In this section, the lecturer discusses the use of Monte Carlo simulation to price exotic derivatives and the importance of calibrating the model to the most liquid instruments, since it's unlikely that the model would be calibrated to exotic instruments that aren't traded in large quantities. The parameters obtained from model calibration can be used to simulate Monte Carlo paths and price the exotic derivative to ensure that the pricing is accurate and that the hedging instruments used for the derivative are taken into account during calibration. The lecturer also explains how almost exact simulation is better than Euler discretization, even with fewer time steps, and that the Euler error is mainly caused by problematic discretization of the variance process for extreme parameters or when the Feller condition isn't satisfied.

  • 01:20:00 In this section, the accuracy of the Euler discretization of the Heston model is explored through the use of deep in-the-money, out-of-the-money, and at-the-money options, with the results showing an improvement in accuracy from out-of-the-money to deep in-the-money options. The code used for the experiment is also discussed, with a focus on the Euler discretization and the almost exact simulation, which includes the cir sample and the simulation of the stock process for the log stock process using the non-centrality parameter.

  • 01:25:00 In this section, the lecturer discusses the settings and configurations of simulations to price European options using both Euler and almost exact simulation. The simulation involves the exact simulation of the CIR process with a correlation of Brownian motions followed by an exponential transformation. The lecturer then demonstrates option pricing using a generic function, specifying a vector of delta t for discretization time steps and performing an exact simulation of the COS method. The analysis shows that the almost exact simulation is highly accurate and requires fewer time steps compared to the Euler scheme. Additionally, changing variables such as the strike price and time step can significantly impact the accuracy of the simulations.

  • 01:30:00 In this section, the speaker compares the performance of the Euler discretization and the almost exact simulation in the Monte Carlo simulation of the Heston model. By increasing the number of paths, the difference between the two approaches becomes more pronounced. The results show that the almost exact simulation outperforms Euler discretization and is indeed almost exact. The approximation of the integral is not the key to obtaining high-quality results, and the experiment demonstrates that if we have Euler, we would need many time steps in between, while almost exact simulation would need only a few steps in between to achieve high accuracy without having too many time steps in the simulation, making it very beneficial in simulating the Heston model with Monte Carlo.
Computational Finance: Lecture 10/14 (Monte Carlo Simulation of the Heston Model)
Computational Finance: Lecture 10/14 (Monte Carlo Simulation of the Heston Model)
  • 2021.04.24
  • www.youtube.com
Computational Finance Lecture 10- Monte Carlo Simulation of the Heston Model▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬This course is based on the book:"Mathemat...
 

Computational Finance: Lecture 11/14 (Hedging and Monte Carlo Greeks)



Computational Finance: Lecture 11/14 (Hedging and Monte Carlo Greeks)

In the lecture, the concept of hedging is emphasized as equally important to derivative pricing in finance. The lecturer delves into various calculations of sensitivities to determine the impact of a derivative's price on specific parameters and how to conduct a hedging experiment. Several key topics are covered, including the principles of hedging in the Black-Scholes model, simulation of profit and loss, dynamic hedging, and the influence of jumps. The lecturer stresses that the concept of hedging determines the value of a derivative, and the price of hedging determines its overall value.

To provide a comprehensive understanding, the lecturer starts by explaining the concept of hedging in the financial industry. Financial institutions generate income by applying an additional spread on top of the value of an exotic derivative. To mitigate risk, a portfolio that replicates the derivative is constructed. This portfolio consists of the derivative's value with a plus sign and a minus delta, which corresponds to the portfolio's sensitivity to the stock. Selecting an appropriate delta is crucial as it determines the number of stocks that need to be bought or sold to align with the model used. The lecturer demonstrates an experiment in which the delta is continuously adjusted throughout the contract's lifespan, resulting in an average profit loss of zero.

The lecture covers the concept of delta hedging and distinguishes between dynamic and static hedging. Delta hedging is employed to hedge risk factors in a portfolio, with the value of the replicating portfolio determining the hedge's delta. Dynamic hedging involves frequent adjustments to the delta, while static hedging entails buying or selling derivatives only at the beginning or at specific intervals during the derivative contract. The video also discusses the sensitivity of hedges to the number of stochastic differential equations in the pricing model and how the frequency of hedging impacts potential profits and losses.

Introducing the concept of a profit and loss (P&L) account, the lecture explains its role in tracking the gains or losses when selling derivatives and hedging them. The P&L account is influenced by the initial proceeds obtained from selling an option and the delta h value, which grows over time based on interest rates from savings or borrowing. The goal is to achieve a P&L account that balances out at the derivative's maturity, indicating a fair value charged according to the Black-Scholes model. However, if the model is not chosen appropriately, the extra spread added to the fair value may not cover all the hedging costs, resulting in a loss. Thus, it is essential to employ a realistic and robust model for pricing alternative derivatives.

The lecture delves into the iterative process of hedging and the calculation of profit and loss (P&L) at the end of the maturity period. This process involves computing the delta of an option at time t0 and time t1, then determining the difference between them to ascertain the number of stocks to buy or sell. The lecturer emphasizes the significance of understanding what is being sold and collected, as selling an option essentially involves selling volatility and collecting premiums. At the end of the process, the value of the option sold is determined based on the stock value at maturity, and the P&L is evaluated using the initial premium, the value at maturity, and the quantity of stocks bought or sold throughout the iterative process.

The lecturer shifts the focus towards hedging in computational finance as a means of reducing variability and sensitivity concerning stocks' value. The lecture clarifies how hedging aids in minimizing losses and introduces the concept of the distribution of piano in Monte Carlo path simulations, highlighting that the expectation of a P&L should average to zero. The profit derived from selling an exotic derivative and hedging it arises from the additional spread charged to the client since the expected P&L is zero.

To overcome the challenges posed by the unknown density in advanced models like the Fourier Transformation model, alternative methods are employed for calculating sensitivities. One such approach is the Malliavin calculus, which provides a mathematical framework for computing derivatives of random variables with respect to parameters in stochastic processes.

The Malliavin calculus introduces the concept of the Malliavin derivative, which extends the notion of classical derivatives to random variables driven by stochastic processes. This derivative enables the calculation of sensitivities for complex models where traditional methods may not be applicable. By leveraging the Malliavin derivative, practitioners can obtain sensitivities with respect to various parameters in the Fourier Transformation model. This approach allows for more accurate pricing and risk management, as it captures the intricate dependencies and dynamics present in the model. However, it's important to note that utilizing the Malliavin calculus requires advanced mathematical techniques and a deep understanding of stochastic analysis. It is a specialized field that is typically explored by experts in quantitative finance and mathematical finance.

In summary, when dealing with models that involve unknown densities, such as the Fourier Transformation model, the Malliavin calculus provides a powerful tool for calculating sensitivities. This approach enables the assessment of risks and the accurate valuation of derivatives in complex financial scenarios.

  • 00:00:00 In this section, the concept of hedging is introduced as equally important to derivative pricing. The lecture focuses on the different calculations of sensitivities to determine the impact of a derivative's price to a particular parameter and how to perform a hedging experiment. The lecture covers topics such as the principles of hedging in the Black-Scholes model, simulation of profit and loss, dynamic hedging, and the impact of jumps. The lecture emphasizes that the concept of hedging determines the value of a derivative and that the price of hedging determines the value of a derivative.

  • 00:05:00 In this section, the lecturer explains the concept of hedging in finance. Financial institutions make money from the additional spread put on top of the value of an exotic derivative. In order to hedge risk, a portfolio replicating the derivative is built, consisting of the value of the derivative with a plus sign and a minus delta that corresponds to the sensitivity of the portfolio to the stock. Choosing the proper delta is important as it determines how many stocks need to be bought or sold to have the position based on the model used. The lecturer shows an experiment in which the delta is continuously adjusted over the lifetime of the contract, resulting in a profit loss of zero on average.

  • 00:10:00 In this section, the lecture covers the concept of delta hedging and the two types of hedging: dynamic and static. Delta hedging is used to hedge the risk factors in a portfolio. The value of the replicating portfolio determines the delta of the hedge. Dynamic hedging involves adjusting delta frequently, while static hedging buys or sells derivatives only at the beginning or a few times during the derivative contract. The video also discusses the sensitivity of hedges to the number of stochastic differential equations in the pricing model and how the frequency of hedging affects potential profits and losses.

  • 00:15:00 In this section of the lecture on computational finance, the concept of a profit and loss (P&L) account is introduced, which is used to track the amount of money gained or lost when selling derivatives and hedging them. The P&L account depends on the initial amount of money gained from selling an option and the delta h value, which grows over time based on interest rates from savings or borrowing. The goal is to have a P&L account that is zero at the maturity of the derivative, indicating a fair value was charged based on the Black-Scholes model. If the model is not properly chosen, the extra spread put on top of the fair value may not cover all of the hedging costs, resulting in a loss. It is important to have a realistic and good model for pricing alternative derivatives.

  • 00:20:00 In this section, the lecture discusses the iterative process of hedging and assigning a profit and loss (P&L) at the end of the maturity time. The process involves calculating the delta of an option at time t0 and time t1 and finding the difference between them to determine how many stocks to buy or sell. The section also emphasizes the importance of keeping in mind what is being sold and collected, as the seller of an option is essentially selling volatility and collecting premiums. At the end of the process, the value of the option sold is determined based on the stock value at the maturity time, and the P&L is assessed based on the initial premium, the value at maturity, and the amount of stocks bought or sold throughout the iterative process.

  • 00:25:00 In this section, the lecturer focuses on the idea of hedging in computational finance as a way of reducing variability and sensitivity in value concerning stocks. The lecture explains how hedging helps reduce losses and explains the concept of the distribution of piano in Monte Carlo paths simulations, pointing out that the expectation of a p l should be zero. The lecture further explains that the profit made by selling an exotic derivative and hedging it comes from the extra spread charged to the client since the expected p l is zero. The lecture concludes by demonstrating that the expectation of the p l at maturity is equal to zero.

  • 00:30:00 In this section, the speaker discusses the hedging procedure and taking an expectation in order to determine whether it is equal to zero given filtration t0. The speaker goes on to explain that the expectation of a discounted stock to today is always equal to the initial stock, and the expression of an expected future payoff discounted to today is equal to the value of a derivative. Additionally, the speaker shows that the overall profit and loss for a derivative can be calculated by taking the p l accounts, performing proper hedging, recursively evaluating paybacks, and considering the expectation, which can be negative or positive.

  • 00:35:00 In this section, the speaker discusses the impact of hedging frequency on the probability distribution of profit and loss (P/L) in hedging. The variance of P/L distribution depends on the hedging frequency. The assumption of a Black Scholes model is that hedging occurs continuously, at every moment, which is almost impossible to achieve in practice. As a result, the experiment investigates the impact of hedging frequency on P/L uncertainty. The iterative process of developing P/L results in the distribution of P/L seen in the graph, with results showing that increasing hedging frequency leads to less uncertainty in P/L. With this knowledge, the speaker moves on to study how Delta - an option sensitivity factor, evolves with time in a Monte Carlo simulation.

  • 00:40:00 In this section, the professor discusses the behavior of delta when the underlying stock moves farther away from the strike price and how this is impacted by volatility and time. According to the Black-Scholes model, when the stock goes out of the money, there is a smaller chance of ending up in the money. This effect is more significant as time goes on, and delta goes to zero faster as the stock goes down and approaches maturity. The professor also mentions the impact of jumps on delta hedging and how reality behaves much differently from the Black-Scholes model. The lecture includes an experiment and the implementation of delta hedging with vectors for multiple paths.

  • 00:45:00 In this section of the lecture, the speaker discusses the code for hedging and Monte Carlo Greeks. The code takes into account three arguments: t, k, and s0. The value of s0 changes as time passes, making it stochastic, so the code needs to incorporate vectors. The program iterates over all time steps and calculates delta and PNL, which grow at a rate of r dt. The final step subtracts the payoff, which depends on whether the option is in or out of the money, and sells the hedge. The histogram of PNL shows different distributions based on the frequency of the hedges.

  • 00:50:00 In this section, the lecturer discusses the impact of increasing frequency on the distribution of profit and loss in a hedging experiment. The results show that as the frequency of hedges increases, the distribution becomes narrower and less risky. Additionally, the lecture explores the effects of changing the dynamics of the model by adding a jump diffusion process. The results demonstrate that jumps in the market directly affect the delta and options prices, and can occur in different directions. The lecturer emphasizes that this experiment highlights the importance of considering different market scenarios when hedging.

  • 00:55:00 In this section, the Poisson jump process is considered in a diffusion model, and the simulation includes corrections for the drift. The experiment only changes the dynamics for the stock, but the sensitivity for Delta is still based on the Black-Scholes model, creating consistency between the values generated by the model and the hedging parameters. However, the illustrations show more losing paths than winning paths, which might be due to the jump distribution and the logarithmic jumps' impact on the P&L's distribution. Increasing the number of time steps from 200 to 5,000 shows that the distribution becomes slightly narrower, but the effect of losing trades remains problematic.

  • 01:00:00 In this section, the lecturer discusses the disadvantages of using jump models in finance, particularly in hedging. The disadvantage is that the jump effect creates a negative PNL, making it challenging to find a hedge to reduce the risk, which is why models like the Heston model are preferred. One way to reduce the jump effect is to hedge with another option with a different strike. The downside is that this may require buying seven different derivatives of different compositions making it expensive in terms of pricing and hedging. The lecturer also discusses Vega, which is sensitivity to the value of a derivative to volatility— a crucial Greek in hedging. Finally, the lecturer explains why the delta hedge works well in Black Scholes models and how it can be improved.

  • 01:05:00 In this section, the speaker discusses the concepts of delta and vega hedging in practice. In practical hedging, the stock's volatility coefficient would be different, meaning there would be a need to perform delta hedging as well as vega hedging. Vega hedging is performed to hedge the uncertainty related to volatility changes. Therefore, a portfolio of derivatives contracts would need to be hedged for vega by buying or selling options that correspond to the derivative's sensitivity to volatility. Traders must make sure that their portfolio does not exceed the limit of a delta and vega, and aggregating different trades together to build a portfolio of trades would be beneficial when looking at delta, vega, and other Greeks like gamma for hedging at the portfolio level.

  • 01:10:00 In this section, the lecture discusses the concept of hedging and the use of derivatives to reduce risk in a portfolio. The example given involves a portfolio of stocks and derivatives with a delta of 50 and a vega of 200. The objective is to reduce the risk by using call options and buying or selling stocks. The lecture explains that the best approach is to begin with hedging the vega because doing so will also affect the delta. By selling 20 call options, the portfolio's vega is reduced to zero, and the delta is reduced to 36. To hedge the remaining delta, 36 stocks are sold, resulting in a portfolio with zero vega and delta.

  • 01:15:00 In this section of the lecture, the focus is on hedging with gamma, which is a derivative of delta. High gamma means that delta will change a lot, and so a portfolio needs to be rebalanced more often to maintain low delta. Stocks cannot be used to add gamma for hedging, instead, options or other derivatives sensitive to second-order values like gamma or vega must be employed. Sensitivities in Black-Scholes models are given in closed form, however, Monte Carlo simulation is required for models for which closed form solutions are not available. Two approaches to obtain approximate sensitivities are finite difference, which is an order of O(delta delta theta), and central difference, which is an order of delta theta squared.

  • 01:20:00 In this section, the speaker discusses the computation of sensitivities of value with respect to certain parameters using finite differences, particularly focusing on the experiment results of delta and vega hedges. The speaker illustrates that the central difference is more accurate than forward difference, especially for small shock sizes in the computation of sensitivities. Additionally, they introduce the concept of pathwise sensitivities, which is the sensitivity of a value of a derivative to a parameter, and discuss the core element of this approach, the interchange of differentiation and expectation operator. The speaker highlights that while this approach is particularly accurate for European style payoffs when we have some knowledge about the stochastic process used for pricing, there are alternatives that may improve convergence and facilitate better results compared to finite difference computations.

  • 01:25:00 In this section of the lecture, the focus is on the sensitivity of Monte Carlo valuation with respect to parameter changes. If the derivative of a derivative with respect to a parameter is known, it can improve the results by incorporating knowledge of the payoff. The lecture provides an example of a European call option where it introduces the Black-Scholes model as the stock driver. The model has two parameters, sigma and s0 which can be calculated with respect to delta and vega. Through an indicator function, we can calculate the derivative with respect to the stock. Once we have the derivative from the payoff and the derivative of the stock with respect to the two parameters, we can calculate the expectation.

  • 01:30:00 In this section, the video discusses the usefulness of pathway sensitivities in computational finance. By simulating paths, one can calculate the expectation and sensitivity to st0 and c, leading to the pathway delta and vega. By analyzing the results of a numerical experiment, it is shown that increasing the number of paths does not improve the quality of the results beyond a certain point. The video also includes a python code experiment where the number of paths is changed, and the expectation of pathway delta and vega is calculated based on the same seed. The main takeaways from this section are that pathway sensitivities can be helpful, don't require reruns like finite difference methods, and are straightforward to use as they rely on pre-generated paths.

  • 01:35:00 In this section, the lecturer discusses how to calculate sensitivities using a more complicated model, the Heston model, and how it compares to the Black-Scholes model. The Heston model has a stochastic solution that requires multiple parameters to drive the volatility process, making sensitivity calculation using the Vega concept more involved compared to the Black-Scholes model. Nonetheless, the technique for calculating sensitivities remains the same by using pathway sensitivity to get good results without extra effort or computations. The lecturer also recommends comparing finite difference and analytical sensitivity calculations to ensure accuracy. Finally, the likelihood ratio method is introduced as a technique for calculating sensitivities by interchanging integration with derivative calculations.

  • 01:40:00 In this section, the professor discusses the likelihood ratio method to calculate Greeks. The method involves taking the ratio of densities and substituting their derivatives into the likelihood ratio expression. By doing so, a value of derivative can be calculated, which is equal to the partial derivative of a log of an asset's density. This is called a likelihood ratio because it's the ratio of densities. The professor highlights that this method, while useful, may not be as practical as the pathwise method as it requires calculating the payoff function. However, it's still good to keep in mind as it may be more efficient for models where the logarithm of the density is given in closed form.

  • 01:45:00 In this section, the speaker explains the difficulties in calculating the sensitivity to parameters for the Fourier Transformation model due to the unknown density. This makes it much more difficult to obtain even for delta compared to the pathwise approach. The likelihood ratio method will not perform well because we need to know something about the density when dealing with more advanced processes.
Computational Finance: Lecture 11/14 (Hedging and Monte Carlo Greeks)
Computational Finance: Lecture 11/14 (Hedging and Monte Carlo Greeks)
  • 2021.05.07
  • www.youtube.com
Computational Finance Lecture 11- Hedging and Monte Carlo Greeks▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬This course is based on the book:"Mathematical Modelin...
 

Computational Finance: Lecture 12/14 (Forward Start Options and Model of Bates)



Computational Finance: Lecture 12/14 (Forward Start Options and Model of Bates)

The lecture delves into the intricacies of forward start options, which are a type of European option with a delayed starting date, often referred to as performance options. These options are more complex than standard European options, and the lecture provides an overview of their payoff definition and advantages compared to European options.

The pricing techniques for forward start options are more involved, and the lecture focuses on the use of characteristic functions. It explores two types of forward start options: one using the Black-Scholes model and the more challenging pricing under the Heston model. The implementation in Python and the pricing of a product dependent on volatilities are also covered. The lecture emphasizes the importance of European options as building blocks and their calibration and relationship to exotic options. It touches upon the Bates model, which extends the Heston model by incorporating Merton jumps, and highlights the use of hedging parameters to ensure well-calibrated models. The video explains how the unknown initial stock value in forward start options is determined at a future time (t1) and introduces the concept of filtration in relation to these options. The lecture also explores how forward start options can serve as building blocks for other derivatives, presenting a strategy to reduce derivative costs. Moreover, the professor covers the construction of a click option, a desired derivative structure, and its relation to European calls and forward start options. The lecture emphasizes the significance of identifying payment dates when calculating discount factors for pricing. It also showcases how the ratio of two stocks can be reformulated as the exponent of a logarithm of the ratio.

Various pricing methods for forward start options are discussed, including Monte Carlo simulation and analytical solutions like the Black-Scholes model. The need to find the forward characteristic function, which allows pricing of forward start options for any model in a specific class of processes, is explained. The lecture demonstrates the pricing of a forward start option using the characteristic function and the expectation of an IU logarithm of two stocks. The conditioning on a larger sigma field when determining the characteristic function is explored, enabling the exponent with the minus log to be taken outside the expectation. Discounted characteristic functions from T2 to T1 are also utilized.

The lecture delves into the forward currency function, which represents future expectations and is expressed as an expectation on the risk-neutral measure. It explains that deterministic interest rates result in no difference between the discounted and non-discounted currency functions. However, stochastic interest rates introduce complexity. The process of deriving the forward starting characteristic function, involving an additional expected value, is outlined, along with the importance of allowing analytical solutions to the outer expectation for practical use. The forward starting characteristic function is then applied to the Black-Scholes and Heston models.

Further, the lecture focuses on the forward start currency function for the Black-Scholes model. It notes that the pricing should only depend on the performance over time and not the initial stock value, simplifying the solution compared to the discounted currency function. The presence of the variance part in multiple dimensions requires solving an inner expectation. An exact representation of the Black-Scholes model is shown, confirming that the distribution of the ratio of two stocks is independent of the initial stock value. The distribution is simplified into a geometric Brownian motion, encompassing an increment from p1 up to t2.

The pricing of forward start options under the Black-Scholes model is explained, highlighting the use of geometric Brownian motion for the ratio of two stocks at different times. The pricing solution for call and put options for forward start options closely resembles that of European calls and puts, with slight differences in strike adjustment and discounting times. The lecture stresses the importance of using Black-Scholes implied volatilities when calculating prices, even when employing other models, as it aligns with market standards. It also underscores the lecturer's recommendation to consider the two parameters for forward start options and reminds viewers that Black-Scholes prices are known analytically under this model.

Moving on, the speaker delves into the Hassle model, which increases the complexity of the characteristic function for forward start options by introducing a second stochastic process representing variance. However, the speaker explains that this second dimension is not necessary for pricing options since the focus is solely on the marginal distribution for the stock process. After simplification and substitution of the characteristic function, the expression for the forward currency function is obtained. The speaker suggests revisiting the slides on the Hassle model for more details on the functions involved in the expression.

The lecture proceeds with the discussion of the moment generating function for a Cox-Ingersoll-Ross (CIR) process and presents the closed-form expression for the forward characteristic function in the Heston model. The lecturer notes that having the moment generating function in closed form allows for faster computation. By substituting the moment generating function into the forward currency function, a closed-form expression for the forward characteristic function is derived. Finally, the speaker introduces a numerical experiment to price forward start options using the Heston model and the derived expressions.

Next, the speaker shifts focus to forward start options and the Bates model. They explain how the variance process is represented by dvt and discuss the parameters for volatility and variance. The speaker conducts two experiments to observe the impact of implied volatilities on the parameters and the effect of the time distance in forward start options. The experiments demonstrate that although the implied volatility shape remains the same, the levels differ. As the time distance increases, the volatility converges to the square root of the long-term variance. The speaker explains the logic behind shorter maturity options having a more concentrated density around t1 and t2. Additional experiments using a code are performed to compare implied volatilities.

Continuing, the lecturer addresses the implementation of the forward characteristic function and cost methods for pricing forward start options. The forward characteristic function is defined using lambda expressions and various parameters, including the Heston model and the moment generating function for the CIR process. The cost method for pricing forward start options is similar to that of pricing European options but includes adjustments for handling two different times. The lecturer shares a trick to obtain a good initial guess for the Newton-Raphson algorithm when calculating forward implied volatilities, which involves defining a volatility grid and interpolating on the market price.

The lecture proceeds with an explanation of the process for calculating forward implied volatilities using the Newton-Raphson method. The difference between the option price from the model and the market price is discussed, and the lecturer demonstrates how to apply the SciPy optimize function to calculate the Newton-Raphson method and obtain the optimal volatility, also known as the implied volatility. The section confirms that the long-term mean and initial variance are the same, and the level of implied volatilities and forward input volatility aligns. The Bates model, an extension of the Heston model that incorporates additional jumps driven by an independent random variable j, which follows a Poisson distribution, is also introduced.

The lecture highlights the difference between the Heston model and the Bates model. While the Heston model is suitable for calibrating to the smile and skew for equity options with longer maturities, it struggles with options having shorter maturities, such as those expiring within a week or two. The Bates model addresses this issue by introducing independent jumps, enabling better calibration of short-term options. Although the Bates model involves many parameters, it is not challenging to extend from the Heston model. The log transformation is necessary to derive the characteristic function for the Bates model, and it is noted that the model can still be well-calibrated even with the addition of jumps.

The speaker then discusses the modification of the Bates model, specifically focusing on the stochastic intensity. The speaker expresses their opinion that making the intensity stochastic is unnecessary as it would introduce unnecessary complexity without exploring the current parameters. Instead, the intensity in the model is kept linear in the state variables and defined as a constant drift. The speaker analyzes the affine jump diffusion framework and includes details of the derivations in the book. The only difference between the characteristic function for the Heston and Bates models lies in the "a" term of the Bates model. Additionally, two correction terms contain all the information about jumps. Numerical results are presented, providing an analysis of the impact of intensity, volatility of jumps, and mu j, which represents the distribution of j.

The extension of the Heston model to the Bates model is discussed. The Bates model is used to calibrate the model to all market information, providing an advantage compared to other models. The code for this model is simple and provides additional flexibility, especially for short maturity options where calibration to all market information is crucial. The lecture also covers the pricing of more interesting derivatives, such as the variance swap, using the knowledge gained from pricing forward start options or performance options.

The speaker introduces a type of derivative called a variance swap, which allows investors to bet on the future volatility of an asset. The payoff of a variance swap is defined as the summation of squared logarithmic stock performances over a given grid of dates, divided by the previous stock performance. The lecturer notes that the unusual formulation of this payoff becomes clearer when linked to a stochastic differential equation. When pricing this derivative, the value of the swap at inception will be zero if the strike is equal to the constant expectation. Moreover, the speaker explains that most swaps are traded at par, meaning that the value of the contract is zero when two counterparties agree to buy or sell.

The lecture then discusses the time-dependent framework for the Bates model and how it connects the integral over time-dependent volatility to the performance of a derivative over time. The payoff is defined as the squared logarithmic performance, which is equivalent to the integral of volatility. The speaker explains how to find the third value of a contract using the expected value of sigma v squared and the stochastic differential equations. Additionally, the scaling coefficient of 252 working days is introduced as an essential factor in finance.

Finally, the speaker covers the fair value of a variance swap, which is a derivative contract that allows investors to bet on the future volatility of an asset. The fair value of the swap can be expressed as a scaling coefficient corresponding to the periods from zero to the maturity of the contract, plus an element corresponding to the interest rates, minus the expected value of q log st divided by st0. Evaluating this expectation can be done through Monte Carlo simulation or an analytical distribution of stocks. It is interesting to note that even though the performances from all small intervals are compounded, it is equivalent to the ratio or logarithm of the value of a stock in the end divided by the initial value.

The lecture covers a wide range of topics related to forward start options, performance options, the Heston model, the Bates model, and variance swaps. It provides insights into pricing techniques, implementation in Python, and the significance of these concepts in financial derivatives.

  • 00:00:00 In this section, the lecture focuses on forward start options, which are a little more complicated than European options. They are a type of European option that does not start immediately but in the future, and are called performance options. The lecture covers the introduction of forward start options, including their payoff definition and advantages compared to standard European options. The pricing techniques for forward start options are more involved, and the lecture covers characteristic functions. The lecture also covers two types of forward start options, one using Black-Scholes models, and the more challenging pricing of the forward start options under the Heston model. The lecture ends with the implementation in Python and the pricing of a product that depends on volatilities. The importance of European options as building blocks and their calibration and relation to exotic options are discussed. The lecture also mentions the Bates model, which is the same as the Heston model but with additional Merton jumps, and the use of hedging parameters to ensure well-calibrated models.

  • 00:05:00 In this section, the video discusses forward start options, which are considered to be European option types, but with a future starting date. The initial stock value in forward start options is unknown and will be determined at time t1, unlike European options where the initial stock value is known at time t0. The concept of filtration is also discussed in relation to forward start options and how they don't depend on today's value of the underlying stock, but rather on the performance of a specific period of time. The video also explains how forward start options can be used as building blocks for other derivatives and suggests one example of a strategy to reduce the cost of a derivative.

  • 00:10:00 In this section of the lecture, the professor explains the construction of an element for a click option, which is a derivative that investors like due to its desired structure. He also defines the payoff of the click option and shows a relation between European calls and forward start options. Further, the professor explains the importance of identifying payment dates when calculating the discount factor for pricing. Additionally, he shows how the ratio of two stocks can be reformulated as the exponent of a logarithm of the ratio.

  • 00:15:00 In this section, the speaker discusses the different ways to price forward start options, including Monte Carlo simulation and analytical solutions such as with the Black-Scholes model. The speaker explains the need to find the forward characteristic function, which allows for pricing power starting options for any model in a fine class of processes. They then go on to demonstrate the pricing of a forward start option using the characteristic function and the expectation of an IU logarithm of two stocks. The speaker also explains how the conditioning takes place on a larger sigma field when determining the characteristic function, allowing for the exponent with the minus log to be taken outside of the expectation. Finally, the speaker uses discounted characteristic functions from T2 to T1 in their derivation.

  • 00:20:00 In this section, the speaker discusses the forward currency function, which refers to future expectations and can be represented as an expectation on the risk-neutral measure. They explain that, when dealing with deterministic interest rates, there is no difference between the discounted and non-discounted currency function. However, things become more complicated when stochastic interest rates are introduced. The speaker notes that the process for deriving the forward starting characteristic function involves calculating an additional expected value, which is crucial for pricing options. They also mention that it is important for the processes used in pricing to allow for analytical solutions to the outer expectation in order to make the process feasible for practical use. The speaker then goes on to discuss how the forward starting characteristic function can be applied to the black Scholes and Heston models.

  • 00:25:00 In this section, the focus is on the forward start currency function for the Black-Scholes model. The pricing should only depend on the performance over time, not on the initial stock value, meaning the solution is much simpler than the original discounted currency function. In the case of multiple dimensions, the variance part is still there, so some inner expectation must be solved. An exact representation of the Black-Scholes model is shown in this section, confirming that the distribution of the ratio of two stocks does not depend on the initial stock value. As the distribution resembles log-normality, it can be simplified into a geometric Brownian motion, with an increment from p1 up to t2.

  • 00:30:00 In this section, the speaker discusses the pricing of forward start options under the Black-Scholes model. He explains that since they are dealing with geometric Brownian motion, the ratio of two stocks at different times is also a geometric Brownian motion. The pricing solution for call and put options for forward start options resembles the one used for European calls and puts, but with slight differences in the strike adjustment and the times used for discounting. The speaker emphasizes the importance of using Black-Scholes implied volatilities when calculating prices, even when using other models, as this is the market standard. He recommends keeping in mind the two parameters for forward start options and reminds viewers that Black-Scholes prices are known analytically under this model.

  • 00:35:00 In this section, the speaker discussed the Hassle model and how it increases the complexity of the characteristic function for the forward start option by introducing a second stochastic process that represents the variance. The speaker explained that this second dimension is not needed when pricing options, as the focus is only on the marginal distribution for the stock process. After simplification and substitution of the character function, the expression for the forward currency function was obtained. The speaker recommended revisiting the slides for the Hassle model for more details on the functions involved in the expression.

  • 00:40:00 In this section, the speaker discusses the moment generating function for a CIR process and the closed-form expression for the forward characteristic function in the Heston model. The speaker notes that the moment generating function is given in closed form, which is beneficial as it allows for faster computation. By substituting the moment generating function into the forward currency function, the speaker derives a closed-form expression for the forward characteristic function. Finally, the speaker introduces a numerical experiment to price forward start options using the Heston model and the derived expressions.

  • 00:45:00 In this section, the speaker discusses forward start options and model of Bates. They explain how the variance process is given as dvt and how the parameters are used for volatility and variance. The speaker conducts two experiments to observe the impact of implied volatilities on the parameters and the effect of time distance in forward start options. The first experiment involves a fixed interval of time, and the second has a fixed initial point that expands the length of the interval. The experiments show the same shape of the implied volatility but with different levels, and as the distance increases, the volatility converges to the square root of the long-term variance. The logic behind the shorter maturity having a more concentrated density around t1 and t2 is explained, and the speaker performs additional experiments using a code to compare implied volatilities.

  • 00:50:00 In this section, the lecturer discusses the implementation of the forward characteristic function and cost methods for pricing forward start options. The forward characteristic function is defined using lambda expressions and various parameters such as the hastel models and the moment generating function for the CIR process. The cost method for pricing forward start options is similar to that of the cost method for pricing European options, with an added adjustment for handling two different times. The lecturer also provides a trick for obtaining a good initial guess for the Newton-Raphson algorithm for calculating the forward implied volatilities, which involves defining a grid for volatilities and interpolating on the market price.

  • 00:55:00 this section, the lecturer discusses the process of calculating forward implied volatilities using the Newton-Raphson method. The lecture shows the difference between option price from the model and market price and uses the SciPy optimize to calculate the Newton-Raphson applied to get the optimal volatility, which would be the implied volatility. The section also confirms that the long-term mean and initial variance are the same, and the level of the implied volatilities and forward input volatility is the same. Furthermore, the section discusses the Bates model, an extension of the Heston model, and emphasizes the additional jump effect driven by an independent random variable j, which is given by Poisson distribution.

  • 01:00:00 In this section, the difference between the Heston model and the Bates model is discussed. While the Heston model is adequate for calibrating to smile and skew for equity options with longer maturity, it struggles to do so for options with shorter maturity, such as those expiring in a week or two. The Bates model addresses this issue by adding independent jumps to the process, allowing for better calibration of short-term options. Though the model has many parameters, it is not difficult to extend from the Heston model. The log transformation is necessary to derive the characteristic function for the Bates model, and it is noted that the model is still able to calibrate well even with the addition of jumps.

  • 01:05:00 In this section, the speaker discusses the modification of the Bates model, specifically the stochastic intensity. The speaker does not believe it is necessary to make the intensity stochastic, as it would introduce unnecessary complexity without exploring the current parameters. The intensity in the model is linear in the state variables and is defined as a constant drift. The affine jump diffusion framework is analyzed, with details of the derivations included in the book. The only difference between the characteristic function for Heston and Bates Models is in the "a" term of the Bates Model, while two correction terms include all information about jumps. Numerical results are presented, with an analysis of the impact of the intensity, volatility of jumps, and the mu j, which represents the distribution of j.

  • 01:10:00 In this section, the lecturer discusses the extension of the Heston model to the Bates model, which is used to calibrate the model to all market information, providing an advantage compared to other models. The code for this model is simple and gives additional flexibility, especially in short maturity options, where calibration to all market information is crucial. The lecture also covers the pricing of much more interesting derivatives, such as the variance swap, using the knowledge gained from pricing forward start options or performance options.

  • 01:15:00 In this section, the lecturer discusses a type of derivative called a variance swap, which is defined as a summation of the squared logarithms of stock performances over a given grid of dates, divided by the previous stock performance. The lecturer notes that the unusual formulation of this payoff becomes clearer when linked to a stochastic differential equation. When pricing this derivative, the value of the swap at the inception will be worth zero if the strike is equal to the expectation, which is a constant. Additionally, the lecturer explains that most swaps are traded at par, meaning that the value of the contract is zero when two counterparties agree to buy or sell.

  • 01:20:00 In this section of the video, the speaker discusses the time-dependent framework for the Bates model and how it links the integral over time-dependent volatility to the performance of a derivative in time. The payoff is defined as the logarithm performance squared, which is equivalent to the integral of volatility. The speaker also explains how to find the third value of a contract using the expected value of sigma v squared and the stochastic differential equations. Additionally, the scaling coefficient of 252 working days is introduced as an essential factor in finance.

  • 01:25:00 In this section, the speaker discusses the fair value of a variance swap, which is the derivative contract that allows investors to bet on the future volatility of an asset. The fair value of the swap can be expressed as a scaling coefficient corresponding to the periods from zero to the maturity of the contract, plus an element corresponding to the interest rates, minus the expected value of q log st divided by st0. To evaluate this expectation, Monte Carlo simulation or an analytical distribution of stocks may be used, and it is interesting to note that even though we compound the performances from all the small intervals, it is equivalent to the ratio or logarithm of the value of a stock in the end divided by the initial value.
Computational Finance: Lecture 12/14 (Forward Start Options and Model of Bates)
Computational Finance: Lecture 12/14 (Forward Start Options and Model of Bates)
  • 2021.05.20
  • www.youtube.com
Computational Finance Lecture 12- Forward Start Options and Model of Bates▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬This course is based on the book:"Mathematic...
 

Computational Finance: Lecture 13/14 (Exotic Derivatives)



Computational Finance: Lecture 13/14 (Exotic Derivatives)

The lecture focuses on pricing exotic derivatives and extending pricing models to path-dependent cases. The primary motivation for extending the payoff structure is to offer clients cheaper prices while still providing exposure to stock market fluctuations. The use of digital features and barriers is explored as a means to reduce derivative costs while maintaining desired exposure. The lecture delves into various types of payoffs, including binaries and digitals, barrier options, and Asian options, examining their impact on derivative prices. Additionally, the lecture discusses the pricing of multi-asset options and potential model extensions to handle baskets of hundreds of stocks.

The pricing procedure for financial products is discussed, beginning with the product specification and the risk factors required for modeling and pricing using stochastic differential equations, such as the Black-Scholes model, jumps, and stochastic volatility models. Depending on the product's complexity, a one or two-dimensional system of equations may be sufficient for accurate pricing. The process also involves calibration and hedging, where an optimal set of parameters is chosen to price the product and minimize hedging costs, ensuring an arbitrage-free environment.

Different types of options are defined, with a focus on European options, American options, and Bermuda options. European options are considered fundamental building blocks for exotic derivatives, but they can be difficult to time and carry significant risk. American options offer more flexibility, allowing exercise at any time, while Bermuda options allow exercise only at specified dates.

Exotic derivatives and path-dependent options are introduced, which depend on the entire history of a stock rather than just the marginal distribution at a specific time. Adjusting the payoff function using binaries and digitals is shown to significantly reduce derivative values. The lecture covers various types of exotic derivatives, including asset or nothing, cash or nothing, stock or nothing, compound options, and chooser options. These options involve limiting the contract in some way, such as with maximums, minimums, or other restrictions, to control costs. The popularity of exotic derivatives in the past, particularly during times of high interest rates, is also discussed.

A strategy for generating high profits through an exotic derivative is explained. The strategy involves allocating most of the investment to a safe account with a guaranteed return and pricing a potential option payout. Although this strategy is not currently popular, it has been effective in the past. The lecture also includes code examples for valuing contracts and reducing their value by setting upper limits on potential stock growth. The lecture highlights how a small adjustment in the payoff structure can significantly reduce valuations, making derivatives more attractive to clients. By introducing barriers and path dependence, costs can be reduced. Various barrier options are discussed, such as up-and-out, down-and-out, up-and-in, down-and-in options, and their impact on derivative pricing based on the stock's historical behavior.

The concept of lookback options is explored, where the maximum or minimum value of a stock over its lifetime determines the payoff at maturity. Lookback options incorporate path dependence and can provide positive payouts even if the stock is lower at maturity than the strike. The lecture explains the implementation of lookback options using Monte Carlo simulation and partial differential equations (PDEs), emphasizing special boundary conditions for barrier options and their extension to other exotic derivatives.

Barrier options are discussed in detail, highlighting their appeal to counterparty clients and their use in the cross-currency market. The lecture explains the configurations and payoffs of barrier options, including out, in, down, and up options. The lecturer emphasizes that barrier options can be time-dependent, adding complexity to the contract. Monte Carlo simulation and PDEs are presented as computational methods for pricing barrier options.

The lecture compares up-and-out options to standard European options, noting the significant reduction in value for up-and-out options due to their barrier-triggered payoff. The concept of up-and-out barrier options is introduced, where the payoff only occurs if the stock does not exceed a certain level during its lifetime. The lecture demonstrates the impact of a barrier on the price of a derivative through a programming exercise, showing that the price of an up-and-out barrier option is equivalent to the price of a digital option with a similar payoff structure.

The lecturer then proceeds to explain the implementation of an up-and-out barrier using Monte Carlo simulation. In contrast to a digital option's payoff, which depends only on the stock value at maturity, an up-and-out barrier also considers the history of the stock's behavior throughout the derivative's lifetime. A function is defined to determine whether the barrier has been reached, utilizing a boolean matrix and a logical condition. The resulting "hit vector" is a binary vector that indicates whether the barrier has been hit for each path. The lecturer demonstrates how changing the barrier value affects the hit vector, emphasizing that the payoff is zero if the barrier is hit and one if it is not hit.

The concept of introducing a barrier in derivative contracts is explained as a way to reduce their value, providing a more affordable option for clients seeking exposure to a specific asset. The presence of a barrier has a significant impact on the derivative's value, potentially leading to losses if the stock does not exceed the specified level. However, by incorporating barriers, derivative prices can be reduced by approximately 30%, making them more attractive for investors. Nonetheless, discontinuous derivatives with barriers can present challenges in terms of hedging costs, which could rise to infinity. To mitigate this issue, the lecturer suggests replicating the payoff using alternative methods to reduce costs.

The video introduces the concept of replicating the digital feature of an option by strategically buying and selling call options with different strike prices. As the strike prices approach each other, the resulting payoff becomes more similar to a digital option. However, the lecturer acknowledges the difficulties in precisely replicating the discontinuity of options due to changes in delta and gamma sensitivities. While approximations can be used for hedging, it is crucial to charge premiums to compensate for potential hedging losses caused by the digital nature of the option. The video emphasizes the concept of reducing derivative costs by introducing digital limitations or altering the payoff structure.

The lecture then moves on to discuss Asian options as a means to reduce volatility and uncertainty associated with an underlying asset, consequently lowering the price of derivatives. Asian options are based on the average behavior of a fluctuating stock, which tends to be smoother than the stock itself, reducing the associated uncertainty. The lecturer explores different variants of Asian options available in the market, including fixed and floating strike calls and puts. Floating strike options, in particular, are popular in commodities trading due to their ability to reduce uncertainty and mitigate risks associated with a specific underlying asset level.

The speaker further explains the various methods of calculating the average for a stock, highlighting its importance in trading. Two types of averages, arithmetic and geometric, are introduced, with the geometric average preferred for mathematical analysis due to its analytic expression. In practice, summations are often used, necessitating approximation techniques like Monte Carlo simulation or PDEs. The lecture also delves into the concept of continuous average, which differs from arithmetic average due to its integral representation, adding an additional dimension to the pricing problem and making it more complex to solve.

The focus then shifts to the pricing of Asian options, which entails moving away from a one-dimensional problem and involving higher-dimensional considerations. Asian options introduce two independent variables: the stock price and the integral of the stock. The option's payoff depends on the observed integral or path from zero to maturity, with the payment made at maturity. The lecture acknowledges that pricing exotic derivative contracts with final part dependent quantities can be challenging, requiring more advanced techniques. However, delta hedging is still effective in achieving proper hedging coefficients despite the complexities introduced by Asian options. The lecturer discusses the use of Monte Carlo simulation to price Asian options, highlighting its flexibility in handling high-dimensional problems. By simulating multiple paths of the stock price and calculating the average payoff, Monte Carlo simulation can provide an estimate of the option's price. The lecture also mentions the potential challenges of Monte Carlo simulation, such as convergence issues and the need for a sufficient number of paths to obtain accurate results.

The lecturer then moves on to discuss another type of exotic option known as a barrier option with rebate. This option has a similar structure to the barrier option previously discussed, but with an additional rebate payment if the barrier is hit. The presence of the rebate compensates the option holder if the barrier is breached, mitigating potential losses. The lecture explains that the rebate payment reduces the cost of the option, making it more attractive to investors.

To price barrier options with rebates, the lecturer introduces the concept of a reverse knock-out option, which is the inverse of a knock-out option. The reverse knock-out option pays a rebate if the barrier is not hit. By pricing the reverse knock-out option and subtracting the rebate payment, the price of the barrier option with rebate can be determined. The video provides an example of implementing this pricing methodology using Monte Carlo simulation.

Throughout the lecture, the importance of understanding and effectively pricing exotic derivative contracts is emphasized. Exotic options provide flexibility and customized solutions for investors, but their pricing and risk management require sophisticated models and techniques. The lecture concludes by highlighting the need for further research and development in this field, as well as the importance of collaboration between academia and industry to enhance derivative pricing methodologies and meet the evolving needs of market participants.

  • 00:00:00 In this section, the focus is on pricing exotic derivatives and extending the pricing models to path-dependent cases. The need for extending the payoff arises when clients want cheaper prices for the derivative, but still want the same exposure to the stock market's fluctuations. The use of digital features and barriers is explored, which allows for the reduction of the derivative's cost while still providing exposure to desired features. The lecture then looks at the different types of payoffs, such as binaries and digitals, barrier options, and Asian options, and how they impact the price of the derivative. Finally, multi-asset options are discussed, including the potential extensions of the models to handle baskets of hundreds of stocks.

  • 00:05:00 In this section of the lecture on exotic derivatives in computational finance, the focus is on the pricing procedure for financial products. It begins with the specification of the product and the risk factors needed for modeling and pricing using multiple stochastic differential equations, such as the Black-Scholes model, jumps, and stochastic volatility models. Depending on the complexity of the product, a one or two-dimensional system of equations may suffice to describe or price the derivative accurately. The process also involves calibration and hedging, where an optimal set of parameters is chosen to price the product and use it for hedging. The hedging costs should not be higher than the derivative being sold to the client to ensure an arbitrage-free world.

  • 00:10:00 In this section, the speaker discusses the definitions of different options. Four main categories of options are covered, including European options that allow exercise at only one point in time, American options that allow exercise at any time, and Bermuda options that allow exercise at specified dates. The speaker goes on to explain that European options are the most popular and are fundamental building blocks for all sorts of exotic derivatives. However, they are difficult to time and can be very risky. The speaker notes that American options can be exercised at any time while Bermuda options allow exercise only at specified dates.

  • 00:15:00 In this section, we learn about exotic derivatives and path-dependent options, which are contracts that depend on the whole history of a stock. Rather than being interested in just the marginal distribution at a given time, these contracts are based on past dependence, and each path will determine the value of the contract. One way to reduce the cost of a derivative is to use binaries and digitals, which are options with a discontinuous payoff at the expiry. By using these techniques to adjust the payoff function, the value of the derivative can be significantly reduced. This simple adjustment removes the probability of extreme outcomes, ultimately resulting in the prices of these contracts being lower.

  • 00:20:00 In this section, the video discusses various types of exotic derivatives, which include asset or nothing, cash or nothing, stock or nothing, and compound options. Compound options allow for the choice of a value of an option at maturity with a different maturity, while chooser options allow investors to choose between a put or call option. The video emphasizes that these types of options involve limiting the contract in some way, such as with maximums, minimums, or other restrictions to control cost. The video also mentions the popularity of exotic derivatives in the past, particularly in times of high interest rates.

  • 00:25:00 In this section, the speaker explains a strategy for generating high profits through an exotic derivative that has fallen out of favor. The strategy involves putting 95% of an investment into a safe account with a guaranteed total return and pricing a potential option payout. While the strategy is not currently popular, it was very effective in the past. The speaker then goes on to explain code for valuing contracts and reducing the value of a contract by setting an upper limit on potential stock growth. The demonstration uses a generic payoff function which can be changed on the fly to illustrate its impact on pricing.

  • 00:30:00 In this section, the lecturer discusses how a small adjustment in a payoff can significantly reduce valuations, making it more attractive to the client. By introducing a limit on the higher potential, the payoff's value can decrease more than three-fold despite reducing potential profit for the client. Additionally, he talks about how reducing costs of a price of a derivative can be achieved by making it barrier-dependent by introducing some kind of path dependence. The contract essentially pays out only if the stock over the whole lifetime did not reach the limit or condition, or it expires as zero. There are various possibilities like an up-and-out, down-and-out call, up-and-in call, down-and-in call, or put options, and he explains how relying on the history of the stock from time t0 until maturity determines the final value of the payout.

  • 00:35:00 In this section, the focus is on exotic derivatives, specifically the lookback option. This option involves a maximum of a stock over a lifetime, with the payoff at maturity being the maximum value observed historically. This structure incorporates path dependence, allowing for a positive payout even if the stock is lower at maturity than the strike. Similarly, a minimum value of the stock can be used for a put option. The lookback option is relatively easy to implement in Monte Carlo, and for barrier options, partial differential equations can be used, with special boundary conditions required. The introduction of barriers and windows for barrier crossing can also be incorporated into other exotic derivatives, such as knock-ins and knockouts.

  • 00:40:00 In this section, the speaker discusses barrier options and their appeal to counterparty clients. These contracts can be attractive but they must rely on liquid underlying assets to avoid bid-ask spreads. Barrier options are commonly used in the cross-currency market and can be considered for speculation. The speaker explains various configurations and payoffs of barrier options, including out, in, down, and up options. They mention that the barrier can be time-dependent to add complexity to the contract. The computation for Monte Carlo is relatively straightforward while PDEs require the adjustment of boundary conditions.

  • 00:45:00 In this section, the lecture discusses exotic derivatives such as up and out options and how they differ from standard European options. Up and out options only have a payoff if the barrier is triggered, meaning they are significantly reduced in value compared to European options. The lecture also introduces the concept of up and out barrier options, where the payoff only occurs if the stock does not exceed a certain level during its lifetime. The impact of a barrier on the price of a derivative is also explored through a programming exercise, with the up and out barrier priced equivalent to the price of a digital payoff valuation.

  • 00:50:00 In this section, the lecturer discusses the implementation of an up-and-out barrier using Monte Carlo simulation. In contrast to a digital payoff, which only depends on the stock value at maturity, an up-and-out barrier also considers the history of the stock's behavior over the derivative's lifetime. The function to determine whether the barrier has been reached is defined using a boolean matrix and a logical condition. The resulting hit vector is a zero and one vector that identifies whether the barrier has been hit for each path. The lecturer demonstrates how changing the barrier value affects the resulting hit vector and emphasizes that the payoff is zero if the barrier is hit, and one if it is not hit.

  • 00:55:00 this section, the concept of a barrier option was explored as a way to reduce the value of derivatives, providing a cheaper alternative for clients with some exposure to a particular asset. The presence of a barrier had a significant impact on the value of the derivative, leading to potential loss if the stock did not exceed a certain level. The introduction of a barrier reduced the price of derivatives by around 30%, making them more attractive for investors. However, in the case of discontinuous derivatives, hedging costs could rise to infinity, posing issues for the client. One possible solution to this is to replicate the payoff with a slightly different method to reduce costs.

  • 01:00:00 In this section, the video introduces the idea of replicating the digital feature of an option by selling and buying call options with different strikes. As strikes approach each other, the payoff becomes more digital. However, there are some difficulties in replicating the discontinuity in options due to changes in delta and gamma sensitivities. The video notes that while approximations can be used for hedging, it is important to charge premiums to compensate for potential hedging losses due to digitality. The concept of reducing the cost of derivatives by introducing digital limitations or changing the structure of a payoff is also discussed.

  • 01:05:00 In this section, the lecturer explains how to reduce the volatility and uncertainty associated with an underlying asset, which reduces the price of derivatives through the introduction of Asian options, options on average. He explains that the average curve of a fluctuating stock is smoother than the stock itself, making the uncertainty associated with it smaller. The lecturer also discusses the different possible variants of Asian options available in the market, including fixed and floating strike calls and puts, with floating strike options being popular in commodities trading due to their reduction of uncertainty and risks associated with the particular level of the underlying asset.

  • 01:10:00 In this section, the speaker explains the different ways of calculating the average for a stock, which is an important aspect to consider in trading. The two types of average are the arithmetic and geometric average, with the latter being preferred for mathematical analysis due to its analytic expression. However, in practice, more often, the products are summations, which require approximation techniques like Monte Carlo or PDEs. Additionally, the speaker delves into the concept of the continuous average and how it differs from the arithmetic average due to its integral representation. The integral representation adds an extra dimension to the pricing problem and makes it more complicated to solve.

  • 01:15:00 In this section of the lecture, the focus is on the pricing of Asian options, which moves away from a one-dimensional pricing problem and involves a higher-dimensional problem since it involves two independent variables: the stock price and the integral of the stock. The payoff for the option depends on the integral or path observed from zero to T, where the payment is made at maturity. The final part dependent quantities in exotic derivative contracts can be written in form, but unfortunately, the system of equations is not fine, meaning that more advanced techniques are needed to price and evaluate the option. However, despite the uncertainty, delta hedging is still sufficient to get the proper hedging coefficients.

  • 01:20:00 In this section, the dynamics for a portfolio involving an Asian option derivative are discussed. The portfolio involves two dimensions for the stock and the option contract, which means that a PDE with two dimensions needs to be used. The dynamics for the portfolio involve a generic function of a stock and the derivative of a derivative of an Asian option. The hedging for Asian options involves choosing a delta that corresponds to the derivative. The PDE for pricing an Asian option turns out to be more complicated than for a European option due to the additional dimension that needs to be taken care of. The code for implementing Asian options and calculating the reduced volatility uncertainty effect is also shown.

  • 01:25:00 In this section, the lecturer discusses the variance of a stock at maturity and how it affects pricing. A lower volatility translates to a lower price, while an increase in volatility leads to higher pricing. The lecture also delves into basket options and how they are a collection of stocks that are positively or negatively correlated. Basket options are growing in popularity and can help reduce investment risks in portfolios, and correlations between different underlying stocks can further reduce risk and lead to more potential investments.

  • 01:30:00 In this section of the lecture on exotic derivatives, the professor discusses basket options and their variants. These options involve a set of stocks that an investor wants to include in their basket, with call options on the best-performing asset or exchange options based on the difference of two underlying stocks. The goal of these options is to perform better than the main index in order to attract investors. However, pricing these high-dimensional derivatives is highly complex and often requires numerical techniques since they cannot be solved analytically. The presence of dividends also complicates the dynamics of the stock. The professor emphasizes that high-dimensional PDEs are time-consuming and challenging to solve, especially for baskets consisting of hundreds of underlying stocks.

  • 01:35:00 In this section, the lecturer discusses the challenges faced in solving a high-dimensional problem related to multi-asset options. These challenges arise as the dimensions increase, resulting in a curse of dimensionality. Monte Carlo techniques are a popular approach for solving such complicated problems. In instances where one needs to calibrate correlations, it can be done using historical data or by using different derivatives such as exotic derivatives. Additionally, the lecturer also points out that with PDs, one can improve their approach through numerical techniques such as adaptive grids and parallelization. However, if the dimension is too high, none of these techniques can be used, and Monte Carlo would be the best approach to solve this type of problem.
Computational Finance: Lecture 13/14 (Exotic Derivatives)
Computational Finance: Lecture 13/14 (Exotic Derivatives)
  • 2021.06.03
  • www.youtube.com
Computational Finance Lecture 13- Exotic Derivatives▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬This course is based on the book:"Mathematical Modeling and Comput...
 

Computational Finance: Lecture 14/14 (Summary of the Course)



Computational Finance: Lecture 14/14 (Summary of the Course)

The series on computational finance concluded with a comprehensive summary of the important topics covered in each lecture. The course spanned a wide range of subjects, including stochastic differential equations, implied volatilities, jump diffusions, affine class of diffusion processes, stochastic volatility models, and Fourier transformations for option pricing. It also delved into numerical techniques like Monte Carlo simulations and various hedging strategies.

In the later lectures, the focus shifted towards forward start options and exotic derivatives, where the knowledge gained throughout the course was applied to structure these complex financial products. The initial lectures provided an introduction to the course and discussed fundamental principles of financial engineering, different markets, and asset classes. Lecture two specifically covered various types of options and hedging strategies, with an emphasis on commodities, currencies, and cryptocurrencies.

The pricing of call and put options and its relation to hedging was a central theme throughout the course. The lecturer emphasized that the price of a hedging strategy should always be equivalent to the price of a derivative to avoid arbitrage opportunities. The mathematical aspects of modeling different asset classes, including asset prices and randomness measurement, were discussed. Stochastic processes, stochastic differential equations, and Itô's lemma were highlighted as vital tools for pricing financial instruments. Python simulations were also demonstrated, showcasing how stochastic differential equations can simulate the real behavior of stock movements for pricing purposes. The advantages and disadvantages of the Black-Scholes model were addressed, emphasizing the need for a holistic perspective to ensure consistency in portfolio management and hedging strategies.

Martingales were repeatedly emphasized as a critical concept in option pricing, and other important topics covered in the course included the Black-Scholes model, implied volatility, Newton-Raphson algorithm convergence, and the limitations of time-dependent volatility. The practical application of Python coding to verify whether a simulated process is a martingale and the impact of measures on drift were explored. The course provided a deep insight into the pricing of simple European options, showcasing how different models and measures can be employed to calculate their prices.

The limitations of the Black-Scholes model were discussed, particularly in relation to incorporating jumps into the model. While jumps can improve the calibration of implied volatility surfaces and generate skew, they also introduce complexity and reduce hedging efficiency. Stochastic volatility models, such as the Heston model, were introduced to enhance the model's flexibility in calibration and pricing of exotic options. Additionally, a fast pricing technique was presented as a solution. The lecture also outlined the conditions that models or stochastic differential equations must satisfy to be used within the affine models in Fourier transformations.

Two important models for pricing equities and stocks were discussed: the affine class of diffusion processes and the stochastic volatility model, specifically the Heston model. The affine class of diffusion processes allows for fast calibration of European options, while the Heston model offers flexibility in calibrating the entire surface of implied volatilities from European options. The lecture covered the impacts and advantages of correlation in the models, pricing PDE, and the use of Fourier transformations for pricing when a model belongs to the affine class of processes. Understanding and utilizing these models were highlighted as valuable skills in computational finance.

The pricing of European options, with a focus on call and put options, was the central focus of another lecture. The use of a characteristic function and the ability to solve systems of complex-valued ODEs were emphasized, along with the importance of numerical techniques for obtaining solutions. Balancing a good model with efficient calibration and evaluation was stressed for practical applications and industry acceptance. The advantages of the cos method of Fourier transform for pricing were discussed, along with its implementation in Vital. Efficient calibration and the utilization of Monte Carlo simulations for pricing were also recommended.

Monte Carlo sampling in pricing exotic derivatives was extensively explored in another lecture. The challenges posed by multiple dimensions, model complexity, and computational costs in accurate pricing were addressed. Monte Carlo simulation was presented as an alternative pricing approach, with a focus on reducing error and improving accuracy. The lecture covered various aspects of Monte Carlo sampling, including integration, stochastic integration, and calibration methods such as Euler and Milstein schemes. The evaluation of smoothness of payoff functions and understanding weak and strong converters were highlighted as crucial for ensuring accurate pricing.

The lecture dedicated to the Heston model discussed its flexibility in calibration, implied volatility surface modeling, and efficient Monte Carlo simulation. The lecture also touched upon the almost exact simulation of the Heston model, which is related to the exact simulation of the Cox Ingersoll Ross (CIR) process for the variance process. While Euler and Milstein discretization methods may encounter issues with the CIR process, there are efficient ways to perform the simulation. The lecture emphasized the importance of considering a realistic model for simulation, particularly when dealing with delta hedging and accounting for market jumps.

The concept of hedging in finance was thoroughly explored in a separate video. Hedging involves reducing exposure to risk and potential losses by managing a portfolio and actively maintaining the contract after it has been traded. The video underscored the significance of hedging, which extends beyond pricing and encompasses continuous risk management until the contract's maturity. Delta hedging and the impact of market jumps were discussed, emphasizing the importance of employing a realistic model for accurate simulation.

The limitations of delta hedging were addressed in another lecture, highlighting the need to consider other types of hedging, such as gamma and vega hedging, for more complex derivatives. The computation of sensitivities and methods to improve their efficiency, including finite difference, pathwise sensitivities, and likelihood quotients, were covered. The lecture also delved into the pricing of forward start options and the challenges associated with pricing options with uncertain initial stocks. The option value was derived using characteristic functions, and the lecture concluded with a discussion on implied volatilities and their implementation in Python.

The lecture on additional jumps in financial models, particularly the Heston model, explored their impact on parameter calibration and hedging strategies. Variance swaps and products of volatilities were also discussed, focusing on the relationship between the strange representation, variance swap contracts, and conditional expectations using Black-Scholes dynamics. Furthermore, the lecture delved into the structuring of products using various techniques such as binary and digital options, path-dependent options, barrier options, and Asian options. It also touched upon the pricing of contracts involving multiple assets. This lecture served as a summary of the knowledge acquired throughout the course, providing a foundation for tackling more advanced derivatives in the future.

In the final part, the speaker congratulated the viewers on successfully completing all 14 lectures and acquiring knowledge in computational finance, financial engineering, and derivative pricing. The viewers were encouraged to apply their newfound expertise in practical settings or consider further courses to expand their knowledge. The speaker wished them a successful career in finance, confident that they were well-prepared for their future endeavors.

  • 00:00:00 this section, the speaker summarizes the entire series on computational finance by highlighting the important topics covered in each lecture. The series covered a broad spectrum of computational finance topics, such as stochastic differential equations, implied volatilities, jump diffusions, affine class of diffusion processes, stochastic volatility models, and Fourier transformations for option pricing. The speaker also discussed numerical techniques such as Monte Carlo simulations and hedging strategies. The last lectures covered forward start options and exotic derivatives, where the speaker applied the knowledge gained throughout the course to structure these products. The first two lectures provided an introduction to the course and discussed the principles behind financial engineering, different markets, and asset classes. In lecture two, the speaker covered different types of options and hedging strategies, with a focus on commodities, currencies, and cryptocurrencies.

  • 00:05:00 In this section of the lecture, the focus is on how to perform pricing of call and put options and how this is related to hedging. The main takeaway is that the price of a hedging strategy should always be equivalent to the price of a derivative, otherwise, there is an arbitrage opportunity. The lecture then goes into the mathematics of modeling different asset classes, describing asset prices and randomness and how this randomness can be measured. The importance of stochastic processes, stochastic differential equations, and Itô's lemma in pricing financial instruments is emphasized. The lecture also covers simulation in Python and how stochastic differential equations are used to simulate the real behavior of a stock movement and how that can be used for pricing. The advantages and disadvantages of the Black-Scholes model are discussed, and it is stressed that one must have a bigger picture in mind when pricing derivatives to ensure consistency in the portfolio and hedging strategies.

  • 00:10:00 In this section of the video, the lecturer highlights some of the key concepts covered in the course on computational finance. One of the most important tools used in option pricing is the concept of martingales, which has been repeatedly emphasized throughout the course. Other important topics that have been covered include the Black-Scholes model, implied volatility, the convergence of Newton-Raphson algorithms, and the limitations of using time-dependent volatility. Lectures have also highlighted how coding in Python can be used to check whether a simulated process is a martingale and how measures can impact drift. Overall, this course has provided a deep insight into the pricing of simple European options and how various models and measures can be used to calculate their prices.

  • 00:15:00 In this section of the video, the limitations of the Black-Scholes model are discussed, specifically regarding how jumps can be incorporated into the model. The inclusion of jumps can improve the implied volatility surface calibration and generate skew. However, it also increases model complexity and reduces hedging efficiency. For these reasons, stochastic volatility models are introduced as a way to increase the flexibility of the model to better handle calibration and pricing of exotic options, and a fast pricing technique is discussed as a solution. Additionally, the conditions that models or stochastic differential equations need to satisfy in order to be used within the affine models within the Fourier transformation are outlined.

  • 00:20:00 In this section, the lecturer discusses two important models for pricing equities and stocks. The first model is the affine class of diffusion processes which allows for fast calibration of European type options. The second model is the stochastic volatility model, specifically the Heston model, which is flexible enough to calibrate to the whole surface of implied volatilities from European type options. The lecture also covers the impacts and advantages of the models' correlation, pricing PDE, and how to arrive at it, and the use of Fourier transformations for pricing once a model belongs to the affine class of processes. Overall, the lecture focuses on the importance and benefits of understanding and using these two models in computational finance.

  • 00:25:00 In this section of the lecture, the focus is on performing pricing for European type options, with calls and puts as the main concentration. The use of a characteristic function is discussed and the importance of being able to solve a system of complex values ODEs is highlighted, as well as the need for numerical techniques for obtaining solutions. It is stressed that it is crucial to strike a balance between having a good model and being able to calibrate and evaluate it efficiently, as this is essential for practical applications and acceptance in the industry. The advantages of using the cos method of Fourier transform for pricing is discussed and the implementation in Vital is demonstrated. Efficient calibration is also crucial and the use of Monte Carlo simulations for pricing is suggested.

  • 00:30:00 In this section, the focus is on different aspects of Monte Carlo sampling in pricing exotic derivatives. Multiple dimensions, model complexity, and computational costs can make accurate pricing time-consuming. Monte Carlo simulation is often used as an alternative pricing approach, which requires a concentration on how to reduce error and improve accuracy. The lecture covers different aspects of Monte Carlo sampling, including integration, stochastic integration, and calibration methods such as Euler and Milstein schemes. Evaluating smoothness of payoff functions also impacts convergence, and understanding weak and strong converters is important to guarantee accurate pricing.

  • 00:35:00 In this section, the video discusses the Heston model's flexibility in calibration, implant volatility surface, and efficient simulation of Monte Carlo. The lecture also touches on the almost exact simulation of the Heston model, which is related to the exact simulation of the Cox Ingersoll Ross (CIR) process for the variance process. While Euler and Milstein discretization may have problems with the CIR process, there are efficient ways to perform the CIR simulation. The lecture raises the importance of the failure condition regarding the CIR process, but it is not a concern for the conditional sampling representation since the exact distribution is known.

  • 00:40:00 In this section, the video discusses the concept of hedging in finance, which involves reducing exposure to risk and potential losses by maintaining a portfolio and taking care of the contract after it has been traded. The video explains the importance of hedging, which takes place after the trade has been made and must continue until the maturity of the contract. The video highlights that hedging is more important than just pricing, and every day the model needs to perform well for the purpose of hedging. The video also discusses the concept of delta hedging and the effect of jumps in the market, highlighting the importance of using a realistic model for simulation.

  • 00:45:00 In this section, the lecturer discusses the limitations of delta hedging and the importance of considering other types of hedging, such as gamma and vega hedging for more complex derivatives. The lecture also covers the computation of sensitivities and ways to improve their efficiency, such as through finite difference, pathwise sensitivities, and likelihood quotients. Additionally, the lecture delves into the pricing of forward start options and the complexity associated with pricing options with uncertain initial stocks. The characteristic function was used to derive the option value, and the lecture concludes with a discussion on implied volatilities and their implementation in Python.

  • 00:50:00 In this section, the lecture covers the inclusion of additional jumps in the dynamics of financial models, specifically the Heston model, and how it affects the calibration of parameters and hedging. The lecture also explores variance swaps and product of volatilities, with a focus on the relationship between strange representation, the variance swap contract, and conditional expectations using Black-Scholes dynamics. Furthermore, the lecture discusses the structuring of products using various techniques such as binary and digital options, path-dependent options, barrier options, and Asian options, as well as the pricing of contracts involving multiple assets. Ultimately, the lecture serves as a summary of the knowledge learned throughout the course and provides a foundation for more advanced derivatives in the future.

  • 00:55:00 In this section, the speaker congratulates the viewers on following all 14 lectures and gaining knowledge about computational finance, financial engineering, and derivative pricing. The speaker suggests that this achievement makes the viewers prepared to work in the industry or continue further courses to gain more knowledge. The speaker wishes the viewers a successful career in finance.
Computational Finance: Lecture 14/14 (Summary of the Course)
Computational Finance: Lecture 14/14 (Summary of the Course)
  • 2021.06.10
  • www.youtube.com
Computational Finance Lecture 14- Summary of the Course▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬This course is based on the book:"Mathematical Modeling and Com...
 

Financial Engineering Course: Lecture 1/14, (Introduction and Overview of the Course)



Financial Engineering Course: Lecture 1/14, (Introduction and Overview of the Course)

The instructor begins by introducing the course on financial engineering, highlighting its objectives and key areas of focus. The course aims to delve into interest rates and multiple asset classes such as foreign exchange and inflation. The ultimate goal is for students to build a multi-asset portfolio consisting of linear products and gain proficiency in performing xva and value at risk computations. Prior knowledge of stochastic differential equations, numerical simulation, and numerical methods is necessary to fully engage with the course material.

The course structure is outlined, comprising 14 lectures accompanied by homework assignments at the end of each session. The programming language used throughout the course is Python, enabling practical implementation and application of the concepts discussed.

The speaker emphasizes the practical nature of the course on computational finance. While theoretical knowledge is covered, there is a strong emphasis on implementation efficiency and providing Python code examples for each lecture. The course materials are self-contained, although they are based on the book "A Book of Mathematical Modeling and Computation in Finance." The lecture also provides an overview of the course roadmap, giving students a clear understanding of the topics that will be covered in each of the 14 lectures.

The first lecture is focused on providing an overview of the entire course and highlighting the significance of the concepts covered in achieving the ultimate goal of performing xva and var calculations.

The lecturer proceeds to give an extensive overview of the topics that will be covered throughout the Financial Engineering course. These include various models such as full white and full white two-factor models, measures, filtrations, and stochastic models. Pricing interest rate products, including linear and non-linear products like swaptions, is a key focus. The lecture covers yield curve construction, multi-curve building, spine points, and the selection of interpolation methods using Python codes. Other topics covered include negative interest rates, options, mortgages and prepayments, foreign exchange, inflation, Monte Carlo simulation for multi-assets, market models, convexity adjustments, exposure calculations, and value adjustment measures such as cva, bcva, and fva.

Risk management becomes a focal point as the course progresses, and lecture 13 is dedicated to risk measurement using coding and historical data analysis. Lecture 14 serves as a summary of everything learned throughout the course.

The second lecture focuses on filtrations and measure changes, including conditional expectations and simulation in Python. Students will engage in hands-on exercises to simulate conditional expectations and explore the benefits and simplification of pricing problems using measure changes.

In subsequent lectures, the instructor provides an overview of the Hijack Model framework, equilibrium versus term structure models, and yield curve dynamics. The lectures cover short rates and the simulation of models through Monte Carlo simulations in Python. The comparison between one-factor and two-factor models is discussed, with an exploration of multi-factor extensions. A video experiment is conducted to analyze the S&P index, the short rate implied by the Fed, and yield curve dynamics.

The simulation of yield curves is explored to observe the evolution of interest rates over time and compare them with stochastic models. Topics covered include the affinity of a fulbright model, exact simulation, construction and pricing of interest rate products, and the calculation of uncertain cash flows in swap examples.

The lecture on building a yield curve covers the relationship between yield curves and interest rate swaps, forward rate agreements, and derivatives pricing. Different yield curve shapes and their relevance to market situations are explained. Implied volatilities and spine point calculations are discussed, along with interpolation routines and the extension of single yield curves to multi-curve approaches. Practical aspects of building yield curves using Python experiments and connecting them to market instruments are emphasized.

The lecturer explores topics related to financial engineering, including the pricing of swaptions under the Black-Scholes model and options using full white or any short rate model. The Jamshidian's trick and Python experiments are explained. The lecture also covers concepts such as negative interest rates, shifted log-normal shifted implied volatilities, and the impact of shift parameters on implied volatility shapes. Additionally, the lecture delves into the prepayment of mortgages and its effect on position and hedging from a bank's perspective.

Bullet mortgages are introduced, and the associated cash flows and prepayment determinants are explained. The lecture highlights the impact of prepayments on mortgage portfolios and links the refinancing incentive to market observables. Furthermore, pipeline risk and its management by financial institutions are discussed.

The course moves on to modeling multiple asset classes simultaneously, which allows for the simulation of potential future risks that can affect the portfolio. Correlations between different asset classes are examined, and the importance of hybrid models for risk management purposes is emphasized, even though there may be a declining interest in exotic derivatives.

Hybrid models for pricing valuation adjustments (XVA) and value at risk are explored, along with extensions involving stochastic volatility. The lecture covers hybrid models suitable for an XVA environment, including stock dynamics and stochastic interest rates. Stochastic volatility models, such as the Heston model, are discussed in the second block, addressing how to incorporate stochastic interest rates that are correlated with the stock process. The lecture also delves into foreign exchange and inflation, discussing the history and development of floating currencies, forward FX contracts, cross-currency swaps, and FX options. The impact of measure changes on process dynamics is also examined, ultimately aiming to price contracts defined under different assets in various asset classes and calculate exposures and risk measures.

The instructor covers additional topics related to financial engineering, including the quantum correction element present in stochastic volatility and the pricing of FX options with stochastic interest rates. The concept of inflation is explored, tracing its evolution from monetary-based to goods-based definitions. Market models such as the LIBOR market model and convexity adjustments are discussed, providing a historical perspective on interest rate development and the motivation behind market models like the LIBOR market model within the HJM framework. The lecture also delves into log-normal LIBOR market models, stochastic volatility, and the smile and skew dynamics in the LIBOR market model.

Various techniques used in pricing financial products are addressed, with an emphasis on risk-neutral pricing and the Black-Scholes model. The lecturer warns against the misuse of risky techniques, such as the freezing technique, and emphasizes the importance of convexity correction in pricing frameworks. Students will learn how to recognize the need for convexity correction and how to incorporate interest rate movements or market smile and skew into pricing problems. The section concludes by covering XVA simulations, including CVA, BCVA, VA, and FVA, and the calculation of expected exposures, potential future exposures, and sanity checks using Python simulations.

The instructor revisits the topics covered in the financial engineering course, including pricing derivatives, the importance of price discovery, practical aspects of trade attributions, and risk management measures such as value at risk and expected shortfall. The focus remains on practical applications, such as building an interest rate swap portfolio and utilizing knowledge of yield curve construction to estimate VAR and expected shortfall through simulation results. The lecture also addresses challenges related to missing data, arbitrage, and regrading in VAR computation using Monte Carlo simulation.

In the final lecture, the lecturer discusses back-testing and testing the VAR engine. While acknowledging that the course will extend beyond the initial 14 weeks, the instructor expresses confidence in the comprehensive and enjoyable learning journey. The recorded lectures will guide students toward the summit of understanding valuation adjustments (XVA) and the calculation of value at risk.

  • 00:00:00 In this section of the video, the instructor introduces the course on financial engineering and outlines its main objectives, which include focusing on interest rates and multiple asset classes such as foreign exchange and inflation. The goal of the course is for students to build a multi-asset portfolio consisting of linear products and perform xva and value at risk computations. Prior knowledge of stochastic differential equations, numerical simulation, and numerical methods is required. The workload consists of 14 lectures with homework assignments given at the end of each lecture, and the programming language used is Python.

  • 00:05:00 In this section, the speaker introduces the course on computational finance, emphasizing its focus on practical implementation and building a portfolio using value-at-risk and xva calculations. The course also covers theoretical knowledge, implementation efficiency, and provides Python code for each lecture. The speaker explains that the materials of the course are self-contained, although it is based on the book, "A Book of Mathematical Modeling and Computation in Finance." The course roadmap is discussed, providing an overview of the topics that will be covered in the 14 lectures. The focus for the first lecture is on the overview of the course and its significance in achieving the ultimate goal of xva and var calculations.

  • 00:10:00 In this section, the lecturer gives an overview of the topics that will be covered in the Financial Engineering course. The course will cover various models such as full white and full white two-factor models, measures, filtrations, and stochastic models. They will focus on pricing interest rate products such as linear and non-linear products, including swaptions. The course will detail yield curve construction, how to construct a yield curve, build multi curves, spine points, and how to choose interpolation using Python codes. The lecture moves on to cover topics such as negative interest rates, options, mortgages and prepayments, foreign exchange, inflation, Monte Carlo engine for multi-assets, market models, convexity adjustments, exposure calculations, and value adjustment measures such as cva, bcva, and fva.

  • 00:15:00 In this section of the course, the focus shifts to risk management and how to measure and manage risks from a risk manager's perspective. Lecture 13 will cover risk measurement using coding and historical data analysis, while lecture 14 will summarize everything learned in the course. The second lecture will cover the concept of filtrations and measure changes, including conditional expectations and simulation in Python. The lecture will also include hands-on exercises on how to simulate conditional expectations and how to use measure changes to benefit and simplify pricing problems.

  • 00:20:00 In this section, the instructor outlines the topics to be covered in several upcoming lectures. The lecture is divided into two blocks, with the first block focused on discussing the history and assumptions of the Hijack Model framework and how it relates to equilibrium versus term structure models. The second block examines yield curve dynamics and short rates, simulating models through Monte Carlo simulations in Python. The two-factor models are compared with the one-factor model, highlighting possible extensions to multi-factors. Additionally, a video experiment is performed to look at the S&P index, the short rate implied by the Fed, and the yield curve dynamics.

  • 00:25:00 In this section of the video, the instructor discusses the simulation of yield curves and how it can be used to observe the evolution of interest rates over time, which can be compared to stochastic models. The lecture is divided into two parts, with the first part covering the affinity of a fulbright model and exact simulation, while the second part focuses on the construction and pricing of different interest rate products in the market. The instructor also emphasizes the importance of understanding how to price interest rate products as they serve as building blocks for constructing a yield curve, with the ultimate goal of simulating multi-color Monte Carlo paths for a model and calibrating that model to option markets. A swap is used as an example to illustrate how the sequence of cash flows from exchanging fixed and floating rates is uncertain and how it can be calculated.

  • 00:30:00 In this section of the video, the instructor discusses the building blocks of a yield curve and how they relate to interest rate swaps, forward trader agreements, and derivatives pricing. He explains the possible shapes of a yield curve and their relevance to market situations, as well as the concept of implied volatilities and the calculation of spine points for building a yield curve. The instructor also highlights the importance of interpolation routines for yield curves and discusses extending a single yield curve to a multi-curve approach. This section emphasizes the practical aspects of building a yield curve using Python experiments and connecting them with market instruments.

  • 00:35:00 In this section of the course, the lecturer discusses various topics related to financial engineering. The first block covers pricing of swaptions under the Black-Scholes model, while the second block covers pricing options using a full wide or any short rate model. The famous Jamshidian's trick and Python experiments are also explained in this section. The concept of negative interest rates, shifted log-normal shifted implied volatilities, and the impact of the shift parameter on implied volatility shapes are also emphasized. Furthermore, the lecture covers prepayments of mortgages and the impact of prepayments on the position and hedging from the perspective of a bank.

  • 00:40:00 In this section of the video, the lecturer introduces the concept of bullet mortgages and explains the associated cash flows and prepayment determinants. They also discuss the impact of prepayments on the mortgage portfolio and link the refinancing incentive to market observables. The lecture also covers pipeline risk and its management by financial institutions. Moving forward, the lecturer talks about modeling multiple asset classes simultaneously, which provides a basis for simulating possible scenarios of future risks that can affect the portfolio. Correlations between different asset classes will be important, and hybrid models will still be useful for risk management purposes, despite the declining interest in exotic derivatives.

  • 00:45:00 In this section of the video, the speaker discusses the use of hybrid models for pricing valuation adjustments and value at risk, as well as extensions with stochastic volatility. The first block covers the hybrid models that can be used for XVA environment, including stock dynamics and stochastic interest rates. The second block focuses on the stochastic volatility models such as the Heston model, and how to include stochastic interest rates that are correlated with the stock process itself. The lecture also delves into foreign exchange and inflation, including the history and development of floating currencies, forward FX contracts, cross-currency swaps, and options on FX. The concept of measure changes plays a role in the dynamics of the processes after the measure changes is discussed. Ultimately, the goal is to be able to price contracts defined under different assets in different asset classes and calculate exposures and risk measures.

  • 00:50:00 In this section of the financial engineering course, the instructor covers topics such as the quantum correction element present in stochastic volatility, the pricing of FX options with stochastic interest rates, and the concept of inflation. The lecture will explain the evolution of the definition of inflation from monetary-based to goods-based. The lecture will also cover market models such as the LIBOR market model and convexity adjustments. The instructor will provide a history of the development of interest rates and explain the motivation behind market models like the LIBOR market model using the HJM framework. The specifications of log-normal LIBOR market models, stochastic volatility, and smile and skews on the LIBOR market model will also be discussed.

  • 00:55:00 In this section of the Financial Engineering course, the instructor discusses various techniques used in pricing products, including risk-neutral pricing and the Black-Scholes model. He also warns against the abuse of risky techniques, such as the freezing technique, and highlights the importance of convexity correction in pricing frameworks. The course covers how to recognize the need for a convexity correction and how to include the whole interest rate or smile and skew present in the market to solve the problem. The section concludes by discussing xva simulations, including cva, bca, va, and fva, and how to calculate expected exposures, potential future exposures, and sanity checks using Python simulations.

  • 01:00:00 In this section, the instructor outlines the topics that will be covered in this financial engineering course, including pricing derivatives and the importance of price discovery, practical aspects of trade attributions, and risk management measures such as value at risk and expected shortfall. The emphasis is on practical applications, including building a portfolio of interest rate swaps and using knowledge about building yield curves to estimate var and expected shortfall through simulation results. The instructor also discusses problems with missing data, arbitrage, and regrading related to var computation with Monte Carlo simulation.

  • 01:05:00 In this section, the lecturer discusses the final lecture of the course, which is about back-testing and testing the VAR engine. He also mentions that the course will take longer than 14 weeks to complete, but it will be done in a great style, building each lecture into additional knowledge to support the ultimate objective, which is valuation adjustments XVA and calculation of Value at Risk. The course has already been recorded, and the lecturer expresses confidence that they will reach the summit of the mountain in an enjoyable tour.
Financial Engineering Course: Lecture 1/14, (Introduction and Overview of the Course)
Financial Engineering Course: Lecture 1/14, (Introduction and Overview of the Course)
  • 2021.09.09
  • www.youtube.com
Financial Engineering: Interest Rates and xVALecture 1- part 1/1, Introduction and Overview of the Course▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬This course i...
 

Financial Engineering Course: Lecture 2/14, part 1/3, (Understanding of Filtrations and Measures)



Financial Engineering Course: Lecture 2/14, part 1/3, (Understanding of Filtrations and Measures)

In the lecture, the instructor delves into the Black-Scholes model with stochastic jumps, showcasing its application in derivative pricing. The incorporation of conditional expectations is highlighted as a means to enhance the model's accuracy. Additionally, the concept of numeraires and measure changes is explored, demonstrating how shifting between different numeraires can improve pricing outcomes. This section underscores the significance of filtration, expectations, and measure changes, particularly within the realm of interest rates.

Expanding on the topic, the professor emphasizes the pivotal role of measures, filtrations, and expectations in pricing. They illustrate how measures, such as stocks, can be effectively employed in pricing processes, while measure changes aid in reducing the complexity of pricing problems. The lecture further investigates the notion of a forward measure, commonly associated with stochastic discounting. Filtrations are elucidated as fundamental principles for comprehending time, exposure profiles, and risk profiles. Additionally, the definition of a stochastic process and the importance of filtration in interpreting market data and anticipating future realizations are introduced.

Moving forward, the concept of filtrations and measures is thoroughly examined. Filtrations can pertain to the present or extend into the future, necessitating a clear distinction when dealing with stochastic processes. The past represents a singular trajectory of a stock's history, whereas the future's stochasticity can be modeled through stochastic differential equations and simulations. Although the course predominantly focuses on filtrations up to the present (t0), it later delves into leveraging future filtrations for enhanced computational efficiency. It becomes possible to simulate future scenarios and develop diverse outcomes. However, given the inherent uncertainty, determining the most realistic scenario remains challenging. Estimating the distribution of outcomes involves utilizing historical data and calibration techniques associated with measure p.

The lecture then delves into measures and filtrations, highlighting the distinct roles of measure Q in pricing and risk management, and measure P primarily in risk management. When both measures are employed, generating future scenarios for risk profiles becomes imperative due to the non-uniqueness of either metric's appropriateness. Furthermore, as time progresses, the accumulation of historical knowledge leads to broader filtrations. However, maintaining an understanding of measurability and acknowledging uncertainty for stochastic quantities at specific future times is also essential.

The lecturer proceeds to discuss filtrations and measures within the context of financial engineering. Notably, they emphasize that measurability does not imply constancy; rather, it denotes a stochastic quantity. Filtrations elucidate the extent of knowledge available at each given time, expanding as one moves further in time due to accumulated knowledge. While filtrations and measure changes can be powerful tools in financial modeling, their inappropriate usage can yield significant issues. Thus, it is crucial to grasp how to effectively employ these tools and navigate through time to avoid modeling errors. The section concludes with an overview of the calibration process in financial modeling, which can be inferred from historical data or market instruments.

The concept of adapted processes is introduced, referring to processes that solely rely on information available until a given moment, without considering future realizations. Examples of adapted processes encompass Brownian motion and determining the maximum value of a process within a specific time period. Conversely, non-adapted processes rely on future realizations. The lecture also introduces the tower property, a powerful tool in pricing, which establishes a relationship among sigma fields, filtrations, and expectations.

Conditional expectation is discussed as a potent tool in financial engineering, particularly when dealing with functions involving two variables. The tower property of expectation is utilized to condition expectations and compute outer and nested inner expectations. This property finds application in simulations, enabling the analytical calculation of certain problem components that can be applied to blockchain option pricing models, particularly employing stochastic differential equations and specific filtrations. The definition of conditional expectation is explored, incorporating an integral equation.

The lecturer emphasizes the importance of conditional expectations and filtrations in financial engineering. They highlight that if a random variable can be conditioned and its answer is known analytically, the outer expectation can be calculated by sampling for the inner expectation. However, in finance, it is uncommon to possess analytical knowledge of conditional densities or two-dimensional densities. The lecturer stresses the importance of using conditional expectations correctly in coding, as they remain stochastic quantities from the perspective of the present. Furthermore, they discuss the benefits of incorporating an analytical solution for a portion of the model in a simulation context, as it can result in improved convergence. To illustrate these concepts, the lecturer provides an example of calculating the outer expectation of a Brownian motion.

Moving forward, the lecturer delves into the expectation of a future point in time, highlighting its complexity compared to cases where the expectation is at time zero. They explain that this scenario requires multiple paths and nested Monte Carlo simulations for each path, involving sub-simulations for conditional expectations. This complexity arises due to the property of independent increments, wherein Brownian motion can always be expressed as the difference between its values at two different times, t and s.

Shifting focus to Monte Carlo simulations, the speaker discusses the construction of Brownian motion for simulating the option value of a stock. They explore two types of martingales and introduce the nested Monte Carlo method for calculating the conditional expectation of a stock option. The simulation involves generating one path up to time s and conducting sub-simulations for each path to evaluate the expectation at that time. This process entails calculating the conditional expectation of a specific realization at time s for each path. The error is then measured as the difference between the conditional expectation and the path value at time s. The standardization of Brownian motion ensures that it is constructed using independent increments, facilitating the enforcement of desired properties within a Monte Carlo simulation.

Lastly, the speaker underscores that while simulating Brownian motion may seem straightforward and cost-effective, incorporating a conditional expectation requires a nested Monte Carlo approach, which involves performing multiple simulations of Brownian motion for each path. Consequently, this process can be time-consuming.

In conclusion, the lecture extensively covers topics related to measures, filtrations, conditional expectations, and Monte Carlo simulations in financial engineering. The significance of these concepts in derivative pricing, risk management, and model calibration is emphasized throughout. By understanding the principles underlying these tools and techniques, financial professionals can enhance their modeling accuracy and effectively navigate complex pricing problems.

  • 00:00:00 The instructor will demonstrate the use of Black-Scholes model with stochastic jumps and how this can be improved by incorporating conditional expectations. The concept of numeraires and measure changes will also be discussed, which involves changing measures between different numeraires to achieve better results. Overall, the section emphasizes the importance of filtration, expectations, and measure changes in derivative pricing, particularly in the world of interest rates.

  • 00:05:00 In this section of the financial engineering course, the professor discusses the importance of measures, filtrations, and expectations in pricing. He explains how a measure, such as a stock, can be utilized in pricing, and how measure changes can be used to reduce the dimensionality of pricing problems. The concept of a forward measure, which is typically associated with stochastic discounting, is also explored. The section highlights the key principles of filtrations and how they are integral to understanding time, exposure profiles, and risk profiles. Furthermore, the definition of a stochastic process and the concept of filtration in understanding market data and future realizations are introduced.

  • 00:10:00 In this section of the lecture, the concept of filtrations and measures is discussed. Filtrations can be up to today or in the future, and it's essential to distinguish between the two when dealing with stochastic processes. The past is one single path of a stock's history, and the future's stochasticity can be described using some stochastic differential equations and simulations. The course mainly considers filtrations up to today (t0), but later on, it discusses using filtrations for the future to extract computational efficiency. It's possible to simulate the future and develop scenarios that represent many possible outcomes. However, it isn't possible to know which scenario is most realistic as there's always uncertainty. The distribution of outcomes can be estimated using historical data and calibrated using regression or other techniques associated with measure p.

  • 00:15:00 In this section, the concept of measures and filtrations is discussed. The measure Q is primarily associated with pricing and risk management, while measure P is mainly used for risk management. Generating future scenarios for risk profile is essential when both measures are used, as it is challenging to determine the appropriateness of either metric as they are not unique. Additionally, the increase in time leads to more historical knowledge, resulting in larger filtration as the knowledge grows. However, measurability is also crucial, and we need to understand the uncertainty for stochastic quantities at particular times in the future.

  • 00:20:00 In this section, the lecturer discusses the concept of filtrations and measures in financial engineering. It is important to note that measurable does not mean constant, as it is still a stochastic quantity. The filtration tells you how much knowledge you have at each given time, and as you move further in time, the filtrations become bigger due to accumulated knowledge. Filtrations and measure changes can be powerful tools in financial modeling, but if used inappropriately, it can cause major problems. It is essential to know how to use these tools and how to travel in time to avoid making mistakes in financial modeling. The lecturer ends the section by describing the process of calibration in financial modeling, and how it can be implied from historical data or market instruments.

  • 00:25:00 In this section, the concept of adapted processes is discussed, which refers to the idea that a process does not look into the future but instead relies only on the information known until that moment. Examples of adapted processes include Brownian motion and finding the maximum value of a process within a certain time period, while examples of non-adapted processes include those that rely on future realizations. The tower property, which is a powerful tool in pricing, is also introduced, and it involves a relation between a sigma field, filtrations, and expectations.

  • 00:30:00 In this section, the concept of conditional expectation is discussed as a powerful tool in financial engineering, especially when dealing with functions of two variables. The tower property of expectation is used to condition expectations and calculate an outer expectation and a nested inner expectation. This property can be employed in simulations, where parts of the problem can be calculated analytically and applied to blockchain option pricing models, particularly using stochastic differential equations and specific filtrations. The definition of conditional expectation is also explored with an integral equation.

  • 00:35:00 In this section, the lecturer discusses the concept of conditional expectations and filtrations in financial engineering. They highlight that if a random variable can be conditioned, and the answer is known analytically, the outer expectation can be calculated by performing the sampling for the inner expectation. However, in finance, it is rare to know the conditional densities or two-dimensional densities analytically. They also emphasize the importance of using conditional expectations correctly in codes as they are still stochastic quantities from today's perspective. Furthermore, the lecturer talks about the benefits of imposing an analytical solution to part of the model in a simulation sense and how it can result in better convergence. Finally, they provide an example of calculating the outer expectation of a Brownian motion.

  • 00:40:00 In this section, the lecturer discusses an expectation of a future point in time, which is much more complex than the case where the expectation is at time zero. The lecturer explains that this requires multiple paths and nested Monte Carlo simulations for every path, which involves performing sub-simulations for each path and taking conditional expectations. The lecturer also explains that this is related to the fact that Brownian motion can always be written as a Brownian motion at time t minus the Brownian motion at time s, using the property of independent increments.

  • 00:45:00 In this section of the lecture, the speaker discusses Monte Carlo simulations and the construction of Brownian motion to simulate the option value of a stock. Two types of martingales are explored, including the nested Monte Carlo method for calculating the conditional expectation of a stock option. The speaker illustrates the simulation of one path until time s and the sub-simulation for each path to take the expectation at that time. The expectation is the conditional expectation of a particular realization at time s, which is repeated for each path. The error is calculated as the difference between the conditional expectation and the path at time s. The standardization of Brownian motion ensures that it is constructed from independent increments, making it easier to enforce properties on a Monte Carlo simulation.

  • 00:50:00 In this section of the video, the speaker discusses the simulation of running motion and emphasizes that although straight-forward and cheap, if there's a conditional expectation involved, it requires a nested multicolor that involves several simulations of Brownian motion. This means that for each path, a nested simulation has to be performed, which can prove to be time-consuming.
Financial Engineering Course: Lecture 2/14, part 1/3, (Understanding of Filtrations and Measures)
Financial Engineering Course: Lecture 2/14, part 1/3, (Understanding of Filtrations and Measures)
  • 2021.09.16
  • www.youtube.com
Financial Engineering: Interest Rates and xVALecture 2- part 1/3 Understanding of Filtrations and Measures▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬This course ...
 

Financial Engineering Course: Lecture 2/14, part 2/3, (Understanding of Filtrations and Measures)


Financial Engineering Course: Lecture 2/14, part 2/3, (Understanding of Filtrations and Measures)

Welcome, everyone, to the post-break session. Today, we will continue with the second block of Lecture 2 in the Financial Engineering course. In this block, we will delve into the pricing and interest rates of XVA, focusing on advanced concepts.

Previously, we discussed the concept of filtration and conditional expectations, along with an exercise and simulation in Python. Now, we will explore additional expectations that are more advanced than the experiments we conducted earlier. Specifically, we will concentrate on option pricing and leverage tools from conditional expectation to improve convergence in Monte Carlo simulations. Additionally, I will introduce you to the concept of a numeraire and its usefulness in derivative pricing.

In this block, we will not only use the concept of a numeraire but also the Girsanov theorem to transform the dynamics of the Black-Scholes model from the risk-neutral measure (measure P) to measure Q. This transformation involves changing the underlying process to geometric Brownian motion. It's important to note that measure P is associated with historical observations, while measure Q is typically linked to derivative pricing.

Moving on to the third block, we will focus on detailed measure changes. I will demonstrate multiple advantages and tricks for using measure changes to reduce dimensions and reap significant benefits. However, for now, let's concentrate on the following four elements of today's lecture and enjoy the session.

Firstly, we will utilize our knowledge of conditional expectation and filtration to address real option pricing. Specifically, we will consider a European option and explore how conditional expectations can help determine its price. We will work with a more complex stochastic differential equation, resembling the Black-Scholes model but with stochastic volatility. While Black-Scholes assumes constant volatility (sigma), we will generalize the model to include time-dependent and stochastic volatility.

By leveraging the tower property of expectations, we can solve this problem and improve our Monte Carlo simulations. Instead of directly simulating paths and randomly sampling the stochastic volatility (j), we can achieve better convergence by utilizing conditional expectations. By conditioning on the realization of j, we can apply the Black-Scholes pricing formula for each j. This approach significantly reduces uncertainty and correlation-related issues in Monte Carlo simulations.

In the next section, I will introduce an exact representation for pricing European options based on conditional expectations and the Black-Scholes formula. This will involve inner and outer expectations, where the inner expectation conditions on a specific realization of j and applies the Black-Scholes formula. The outer expectation requires sampling from j and using the Black-Scholes formula for each sample.

To quantify the impact of applying the tower property for expectations in Monte Carlo simulations, we will compare two approaches. The first approach is a brute-force Monte Carlo simulation, where we directly sample the expectation without utilizing information from the Black-Scholes model. The second approach incorporates conditional expectations and the Black-Scholes formula. By comparing convergence and stability, we can observe the significant gain achieved through the conditional expectation approach.

I hope you find this information helpful. If you're interested in exploring practical aspects of conditional expectations further, I recommend referring to Chapter 3 (Stochastic Volatility) and Chapter 12 (Pricing of Tablets) in the book. Now, let's proceed to the practical demonstration of this approach using Python code.

After generating the Monte Carlo samples for the stock and volatility, we move on to the next part of the code, which involves calculating the option payoffs for each sample. In this case, we consider a European call option with a strike price of 18. We can compute the option payoff using the following equation:

payoff = np.maximum(stock_samples[-1] - strike, 0)

Next, we calculate the conditional expectation using the Black-Scholes formula. For each sample of the volatility, we compute the option price using the Black-Scholes model with the corresponding volatility value:

volatility_samples = np.exp(j_samples / 2)

d1 = (np.log(stock_samples[0] / strike) + (0.5 * (volatility_samples ** 2)) * maturity) / (volatility_samples * np.sqrt(maturity))

d2 = d1 - (volatility_samples * np.sqrt(maturity))

conditional_expectation = np.mean(np.exp(-r * maturity) * (stock_samples[0] * norm.cdf(d1) - strike * norm.cdf(d2)))

Finally, we compute the overall option price by taking the average of the conditional expectations over all the volatility samples:

option_price = np.mean(conditional_expectation)

By using the conditional expectation approach, we leverage the information from the Black-Scholes model to improve the convergence of the Monte Carlo simulation. This leads to more accurate option prices and reduces the number of Monte Carlo paths required for satisfactory convergence.

It's important to note that the code provided here is a simplified example to illustrate the concept. In practice, there may be additional considerations and refinements to account for factors like stochastic volatility, time steps, and other model assumptions.

Overall, applying conditional expectations in option pricing can enhance the efficiency and accuracy of Monte Carlo simulations, particularly when dealing with complex models that deviate from the assumptions of the Black-Scholes framework.

Now, let's shift our focus to the topic of measure changes in financial engineering. When dealing with system dynamics, it is sometimes possible to simplify the complexity of the pricing problem through appropriate measure transformations. This is especially relevant in the world of interest rates, where there are multiple underlyings with different frequencies. To establish a consistent framework, we rely on measure transformations that bring stochastic processes from different measures into one underlying measure.

In the field of mathematical finance, numeraires play a significant role as tradable entities used to express the prices of all tradable assets. A numeraire is the unit in which the values of assets are expressed, such as apples, bonds, stocks, or money savings accounts. By expressing prices in terms of a numeraire, we establish a consistent framework for transferring goods and services between different counterparties.

In the past, assets were often expressed in terms of gold or other numeraires. The choice of a proper numeraire can significantly simplify and improve the complexity of financial engineering problems. Working with martingales, which are processes without drift, is particularly favorable in finance as they are easier to handle than processes with drift.

Different measures are associated with specific dynamics of processes and tradable assets. Common cases include the risk-neutral measure associated with money savings accounts, the T-forward measure associated with zero coupon bonds, and the measure associated with stocks as numeraires. Measure changes provide a way to switch between measures and benefit from the properties of different processes. The Girsanov theorem is a crucial tool for measure transformations, allowing us to switch from one measure to another under certain conditions.

While the theoretical aspects of measure changes can be complex, this course focuses on practical applications and how to apply the theory to real problems. The main takeaway is to understand how measure changes and martingales can be used as tools to simplify and solve financial engineering problems effectively.

It's important to note that measure changes are powerful tools that can help us handle processes without drift, known as martingales. By appropriately changing the measure, we can remove the drift from a process and simplify the problem at hand. This is particularly useful when dealing with stochastic interest rates and stock dynamics.

However, it's worth mentioning that measure changes may not always be feasible or result in simpler problems. Sometimes, even after removing the drift, the dynamics of certain variables, such as the variance, can remain complex. Nonetheless,

in general, removing the drift through measure changes simplifies the problem.

Working with martingales is favorable because driftless stochastic differential equations are easier to handle than those with drift. By identifying appropriate numeraires and performing measure changes, we can effectively reduce complexity and improve our simulation techniques.

Measure changes allow us to switch between measures and benefit from the properties of martingales. Understanding and applying measure changes is a valuable skill that can greatly simplify the pricing and analysis of financial instruments.

Now, let's delve deeper into the concept of measure changes and their practical application in mathematical finance. The measure transformation formula we discussed earlier can be written as follows:

dQb/dQa = exp(-1/2 * ∫₀ᵗ yₛ² ds + ∫₀ᵗ yₛ dWₛ)

This formula enables us to switch from one measure, Qa, to another measure, Qb. It involves the use of a specific process called the "numeraire process" denoted by yₛ and the Wiener process Wₛ.

The Girsanov theorem states that under certain conditions, such as the integrability condition on the exponential term, this measure transformation is valid. By applying this transformation, we can change the measure from Qa to Qb and vice versa.

In practical applications, measure changes are used to simplify and solve real-world problems in mathematical finance. They allow us to transform the dynamics of stochastic processes and leverage the properties of martingales.

By appropriately selecting numeraires and performing measure changes, we can remove the drift from a process and simplify the problem at hand. This simplification is particularly beneficial when dealing with complex models involving stochastic interest rates and stock dynamics.

It's important to note that measure changes may not always result in simpler problems. Sometimes, even after removing the drift, certain variables such as variance may still exhibit complex dynamics. However, in general, measure changes provide a powerful tool for simplifying and solving financial engineering problems.

In this course, our focus will be on the practical application of measure changes in real-world scenarios. We will explore how to extract the benefits of measure changes and martingales to simplify complex problems in mathematical finance.

To summarize, measure changes play a crucial role in mathematical finance by allowing us to switch between measures and leverage the properties of martingales. By understanding and applying measure changes, we can simplify the pricing and analysis of financial instruments, enhance our simulation techniques, and tackle complex models more effectively.

Financial Engineering Course: Lecture 2/14, part 2/3, (Understanding of Filtrations and Measures)
Financial Engineering Course: Lecture 2/14, part 2/3, (Understanding of Filtrations and Measures)
  • 2021.09.23
  • www.youtube.com
Financial Engineering: Interest Rates and xVALecture 2- part 2/3 Understanding of Filtrations and Measures▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬This course ...
 

Financial Engineering Course: Lecture 2/14, part 3/3, (Understanding of Filtrations and Measures)



Financial Engineering Course: Lecture 2/14, part 3/3, (Understanding of Filtrations and Measures)

Continuing with the lecture, the instructor delves further into the topic of measure changes and their practical applications in finance. They begin by providing a refresher on the Girizanov theorem and the concept of a stock measure. By establishing a foundation, the instructor sets the stage for exploring how measure changes can effectively reduce dimensionality in financial models.

The lecture focuses on the transition from a risk-neutral measure to a money savings account measure driven by the stock asset. This transition is achieved by utilizing the ratio of the two measures, and the process is explained in simple terms. Emphasis is placed on the importance of expressing the chosen asset in the same unit as other assets in one's portfolio, which can be accomplished through measure changes. Additionally, the lecture delves into the discussion of the payoff function, where the expectation under the associated measure is expressed as the integral over one divided by the measure. This result provides a means of finding the desired query. The lecture concludes by showcasing the substitution method employed to obtain the final term, further illustrating the practicality of measure changes.

Moving forward, the speaker explores the simplification of the payoff and delves into the dynamics of the stock under the new measure. The value of t0 is provided as the expectation under measurements of maximum st minus k 0, introducing a new martingale method. The concept of the martingale approach is elucidated, stressing the importance of dividing everything by the stock process to satisfy the conditions for a martingale. The discounting process is highlighted, with an emphasis on its benefits in simplifying dynamics under the new measure. The dynamics can be derived from the ratio of mtst as a martingale. Furthermore, the speaker underscores the need to determine the variance and the measured transformation under the new measure to leverage the advantages of the martingale approach effectively.

Expanding on the lecture, the lecturer explains how the same procedure used for the Black-Scholes case can be applied to non-martingale processes. By following a set of necessary conditions, one can utilize measure transformations to derive the dynamics of a new process and determine expectations under a new measure. The importance of accounting for corrections on drift and volatility resulting from this transformation is emphasized when implementing both processes under the original and the new measure. Ultimately, the calculation simplifies to an elegant expression involving a single log-normal process under the new measure.

In addition, the lecturer introduces a two-dimensional system of stochastic differential equations, S1 and S2, along with a payoff value associated with a money savings account that pays out only if S2 reaches a certain level. To calculate this complex expectation, the joint distribution between the two stocks becomes necessary. Measure transformation is employed, leveraging the Girsanov theorem to find the expectation in an elegant form. The lecturer explains the process, with S1 chosen as the numerator and the random numeraire derivative identified. The lecture also highlights the significance of deriving all necessary measure changes and explores the potential impact on the relationships between Brownian motions in different measures. The lecturer emphasizes the importance of measure transformation in elegantly and powerfully pricing complex financial instruments.

Continuing with the lecture, the speaker elucidates the measured transformation for the random nicotine derivative and emphasizes the importance of simplifying the payoff. The formula for the equation is explained, along with the corresponding measure that must be found to cancel out terms. The dynamics of the money-savings bond and its drift and volatility coefficients are discussed after applying the ethos lemma. In this transformation, the correlation element is found to be negligible. The speaker also highlights the significance of the relationship between S2 and S1 in relation to the ethos table.

Shifting focus, the speaker discusses the dynamics of two stock processes under the S1 measure transformation, which involves the substitution of a new measure.

Under the S1 measure transformation, the speaker explains that the first stock process still follows a log-normal distribution but with an additional term in the drift. Similarly, the second stock process exhibits an additional term due to the correlation between the two processes. The speaker emphasizes the importance of ordering the variables from simplest to most advanced and recommends utilizing Cholesky decomposition as a technique to simplify stochastic differential equations. By leveraging the log-normal properties, the probability of evaluation can be effectively solved.

Expanding the lecture's scope, the lecturer moves on to discuss zero coupon bonds, which are fundamental derivatives in the interest rate domain. Zero coupon bonds have a simple payoff—a single value received at a maturity time—making them easy to understand and use. Furthermore, they serve as crucial building blocks for pricing more complex derivatives. It is noted that in certain cases, the value of a bond at inception can be greater than one, indicating negative interest rates. Negative rates can result from central bank interventions aimed at increasing liquidity, although their effectiveness in stimulating spending remains a subject of debate. The lecturer emphasizes that zero coupon bonds play a crucial role in the process of measure changes in the interest rate world.

Moreover, the lecturer delves into the importance of changing the measure to the forward measure when considering zero coupon bonds. By employing the fundamental pricing theorem and the generic pricing equation, the current value of a zero coupon bond can be derived. The pricing equation involves an expectation of a discounted payoff, which equals one for a zero coupon bond. The lecturer emphasizes that interest rates are stochastic and discusses how the stochastic discount can be eliminated from the equation by changing the measure to the T forward measure. The section concludes with an explanation of how a Ruble code derivative can be modeled, and how the pricing equation shifts from the risk-neutral measure to the T forward measure.

Furthermore, the professor emphasizes the significance of changing measures and reducing dimensionality in pricing models within finance. By transitioning to prices under the T forward measure and eliminating the specificity from the discount factor, practitioners can utilize measure change techniques as powerful tools in their daily operations. The lecture summarizes the concept of filtrations and their relation to conditional expectations, emphasizing how these tools can simplify complex problems in finance.

To engage the students and reinforce their understanding, the instructor presents three exercises. The first exercise entails implementing an analytical solution for pricing put options, ensuring the code incorporates interest rates in Python. The second exercise extends the pricing to put options, providing an opportunity to assess its effectiveness. Finally, students are tasked with comparing the analytical expression to the Monte Carlo simulation result for the squared stock expression on slide 24. This exercise highlights the benefits and substantial differences in applying measure transformations.

The lecture provides a comprehensive exploration of measure changes and their applications in finance. It covers topics such as the switching of measures, simplification of payoffs, dynamics under new measures, transformation of processes, and the significance of zero coupon bonds and interest rates. By leveraging measure transformations, practitioners can enhance their pricing models, simplify calculations, and gain valuable insights into complex financial instruments.

  • 00:00:00 In this section, the instructor continues with the topic of measure changes and their applications in finance. He starts with a refresher on the Girizanov theorem and the concept of a stock measure, and then shows how measure changes can be used to reduce dimensionality. He also explains how to define a forward measure and use measure changes to remove stochastic discounting in equity or interest rate products. The instructor then presents a problem where measure changes can be beneficial in simplifying the problem and obtaining an elegant solution. Overall, the section provides useful insights into the practical applications of measure changes in finance.

  • 00:05:00 In this section, the lecture focuses on switching measures from risk neutral to money savings account measures driven by the stock asset. To achieve this, the ratio of the two measures is used, and the process involved is explained in simple terms. The lecture highlights the importance of choosing an asset to be expressed in the same unit as all the other assets in one's portfolio and how this can be achieved through the switching of measures. The payoff function is also discussed, and the expectation under the associate measure is written as the integral over one over m, with the result providing the means of finding the query. The lecture concludes by showing the substitution used to obtain the final term.

  • 00:10:00 In this section, the speaker discusses the simplification of the payoff and the question of the dynamics of the stock under the new measure. The value of t0 is given as the expectation under measurements of maximum st minus k 0, and a new martingale method is introduced. The martingale approach explains that everything should be divided by the stock process to qualify for the martingale. The speaker also highlights the discounting process and mentions that it's only beneficial if it leads to simplified dynamics under the new measure. The dynamics can be found from the ratio of mtst as a martingale. Finally, the speaker emphasizes the need to find the variance and the measured transformation under the new measure to benefit from the martingale approach.

  • 00:15:00 In this section, the lecturer explains how to apply the same procedure used for the Black-Scholes case to non-martingale processes. By following a set of necessary conditions, it is possible to use measure transformation to derive the dynamics of a new process and the expectations under a new measure. The lecturer emphasizes the importance of taking into account the corrections on drift and volatility that arise from this transformation when implementing both processes under the original and the new measure. The calculation ultimately simplifies to an elegant expression with a single log-normal process under a new measure.

  • 00:20:00 In this section, the lecturer introduces a two-dimensional system of stochastic differential equations, S1 and S2, and a payoff value associated with a money savings account, which pays out only if S2 reaches a certain level. To calculate this complex expectation, joint distribution between the two stocks is required. Measure transformation is then used to find the expectation via the Girsanov theorem, in a very elegant form. First, S1 is chosen to be the numerator, and then the random numeraire derivative is found. The lecture discusses the importance of deriving all necessary measure changes and how the relations between brownian motions in different measures could be impacted. The lecturer emphasizes the importance of the measure transformation in pricing complex financial instruments elegantly and powerfully.

  • 00:25:00 In this section of the lecture, the speaker explains the measured transformation for the random nicotine derivative and the importance of simplifying the payoff. The speaker explains the formula for the eq and the corresponding measure that must be found to cancel out terms. They go over the dynamics of the money-savings bond and its drift and volatility coefficient after applying the ethos lemma. The correlation element is not significant in this transformation. The speaker notes the importance of the relationship between s2 and s1 in relation to the ethos table.

  • 00:30:00 In this section, the speaker goes over the dynamics of two stock processes under the s1 measure transformation, which involves the substitution of a new measure. The first stock process still follows a log-normal distribution, but with an added term in the drift. Similarly, the second stock process has an additional term due to the correlation between the two processes. The speaker emphasizes the importance of ordering the variables from simplest to most advanced and recommends using Cholesky decomposition to simplify stochastic differential equations. Ultimately, using the log-normal properties, the probability of the evaluation can be solved.

  • 00:35:00 In this section of the Financial Engineering course, the lecturer discusses zero coupon bonds, which are a basic yet powerful derivative in the interest rate world. The payoff for a zero coupon bond is a single value received at a maturity time, making it a simple instrument to understand and use. It can also be a fundamental building block for the pricing of more complicated derivatives. The lecturer notes that there can be cases where the value of the bond is greater than one at inception, indicating negative interest rates. Negative rates can be a result of central bank interventions to increase liquidity, but their effectiveness in stimulating spending is up for debate. The lecturer makes it clear that zero coupon bonds will be an important intermediate in the process of changing measures in the interest rate world.

  • 00:40:00 In this section, the lecturer discusses zero coupon bonds and the importance of changing the measure to the forward measure. By using the fundamental pricing theorem and the generic pricing equation, the current value of the zero coupon bond can be derived. The pricing equation includes an expectation of a discounted payoff, which is equal to one for a zero coupon bond. The lecturer emphasizes that interest rates are stochastic and discusses how the stochastic discount can be removed from the equation by changing the measure to the T forward measure. The section concludes with the lecturer explaining how a Ruble code derivative can be modeled and how the pricing equation changes from the risk-neutral measure to the T forward measure.

  • 00:45:00 In this section of the lecture, the professor discusses the idea of changing measures and reducing dimensionality, and how it can be applied to pricing models in finance. By changing measures, practitioners can work with prices under the t forward measure and remove the specificity from the discount factor. This allows them to use measured dangerous techniques as powerful tools in daily operations. The lecture also summarizes the concept of filtrations and their relation to conditional expectations, and how these tools can be used to simplify complicated problems in finance.

  • 00:50:00 this section, the importance of understanding filtrations, conditional expectations, and measure changes in option pricing using Black-Scholes conditioned jumps. The section covered how to choose a numerator and how these measures are related to Brownian motion. Measure changes were demonstrated to be beneficial in examples such as transferring stochastic differential equations, dimensional reduction, and derivative transformations. Homework exercises were provided to help students develop skills in derivative pricing and interest rates, such as finding expectations, dynamics, and performing Monte Carlo simulations.

  • 00:55:00 In this section of the lecture, the instructor presents three exercises for the students. The first one requires implementing an analytical solution for pricing put options and making sure it works properly by including the interest rate into the Python code available in the lecture's description. The second exercise is to extend the same pricing to put options and check its effectiveness. Lastly, the students are required to compare the analytical expression against the Monte Carlo simulation result for the squared stock expression in slide 24, which will demonstrate the benefits and tremendous difference in applying the measured transformations.
Financial Engineering Course: Lecture 2/14, part 3/3, (Understanding of Filtrations and Measures)
Financial Engineering Course: Lecture 2/14, part 3/3, (Understanding of Filtrations and Measures)
  • 2021.09.30
  • www.youtube.com
Financial Engineering: Interest Rates and xVALecture 2- part 3/3 Understanding of Filtrations and Measures▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬This course ...