Numerical Methods in Option Pricing (Part III)

Similar documents
FINITE DIFFERENCE METHODS

Computational Finance Finite Difference Methods

Computational Finance. Computational Finance p. 1

CS476/676 Mar 6, Today s Topics. American Option: early exercise curve. PDE overview. Discretizations. Finite difference approximations

Monte Carlo Methods in Structuring and Derivatives Pricing

Chapter 5 Finite Difference Methods. Math6911 W07, HM Zhu

TEACHING NOTE 97-02: OPTION PRICING USING FINITE DIFFERENCE METHODS

Advanced Numerical Methods

MATH6911: Numerical Methods in Finance. Final exam Time: 2:00pm - 5:00pm, April 11, Student Name (print): Student Signature: Student ID:

Binomial model: numerical algorithm

MAFS Computational Methods for Pricing Structured Products

EFFICIENT MONTE CARLO ALGORITHM FOR PRICING BARRIER OPTIONS

- 1 - **** d(lns) = (µ (1/2)σ 2 )dt + σdw t

Queens College, CUNY, Department of Computer Science Computational Finance CSCI 365 / 765 Fall 2017 Instructor: Dr. Sateesh Mane.

FE610 Stochastic Calculus for Financial Engineers. Stevens Institute of Technology

6. Numerical methods for option pricing

1 The Hull-White Interest Rate Model

Binomial Option Pricing

Final Exam Key, JDEP 384H, Spring 2006

Math 623 (IOE 623), Winter 2008: Final exam

CS 774 Project: Fall 2009 Version: November 27, 2009

2.1 Mathematical Basis: Risk-Neutral Pricing

Contents Critique 26. portfolio optimization 32

Short-time-to-expiry expansion for a digital European put option under the CEV model. November 1, 2017

The Binomial Lattice Model for Stocks: Introduction to Option Pricing

Optimal Search for Parameters in Monte Carlo Simulation for Derivative Pricing

American Equity Option Valuation Practical Guide

Weak Reflection Principle and Static Hedging of Barrier Options

Solving the Black-Scholes Equation

Write legibly. Unreadable answers are worthless.

King s College London

The Binomial Lattice Model for Stocks: Introduction to Option Pricing

Math 416/516: Stochastic Simulation

The Pennsylvania State University. The Graduate School. Department of Industrial Engineering AMERICAN-ASIAN OPTION PRICING BASED ON MONTE CARLO

Multi-Asset Options. A Numerical Study VILHELM NIKLASSON FRIDA TIVEDAL. Master s thesis in Engineering Mathematics and Computational Science

Pricing Barrier Options under Local Volatility

Richardson Extrapolation Techniques for the Pricing of American-style Options

A Study on Numerical Solution of Black-Scholes Model

MATH4143: Scientific Computations for Finance Applications Final exam Time: 9:00 am - 12:00 noon, April 18, Student Name (print):

Option Pricing Models for European Options

Theory and practice of option pricing

From Discrete Time to Continuous Time Modeling

Advanced Topics in Derivative Pricing Models. Topic 4 - Variance products and volatility derivatives

Price sensitivity to the exponent in the CEV model

Implementing Models in Quantitative Finance: Methods and Cases

CHAPTER 10 OPTION PRICING - II. Derivatives and Risk Management By Rajiv Srivastava. Copyright Oxford University Press

King s College London

Lattice (Binomial Trees) Version 1.2

How costly is the repriceable employee stock option

Ch 5. Several Numerical Methods

Computational Finance

DRAFT. 1 exercise in state (S, t), π(s, t) = 0 do not exercise in state (S, t) Review of the Risk Neutral Stock Dynamics

Trinomial Tree. Set up a trinomial approximation to the geometric Brownian motion ds/s = r dt + σ dw. a

Fractional Black - Scholes Equation

Edgeworth Binomial Trees

quan OPTIONS ANALYTICS IN REAL-TIME PROBLEM: Industry SOLUTION: Oquant Real-time Options Pricing

An Adjusted Trinomial Lattice for Pricing Arithmetic Average Based Asian Option

Calibration Lecture 4: LSV and Model Uncertainty

Risk Neutral Pricing Black-Scholes Formula Lecture 19. Dr. Vasily Strela (Morgan Stanley and MIT)

MATH3075/3975 FINANCIAL MATHEMATICS TUTORIAL PROBLEMS

Financial derivatives exam Winter term 2014/2015

The Merton Model. A Structural Approach to Default Prediction. Agenda. Idea. Merton Model. The iterative approach. Example: Enron

Optimizing Modular Expansions in an Industrial Setting Using Real Options

Option Pricing for Discrete Hedging and Non-Gaussian Processes

Option Pricing. Chapter Discrete Time

1 Explicit Euler Scheme (or Euler Forward Scheme )

Project 1: Double Pendulum

1 Explicit Euler Scheme (or Euler Forward Scheme )

CONVERGENCE OF NUMERICAL METHODS FOR VALUING PATH-DEPENDENT OPTIONS USING INTERPOLATION

Parallel Multilevel Monte Carlo Simulation

Numerical schemes for SDEs

Chapter 3: Black-Scholes Equation and Its Numerical Evaluation

The Uncertain Volatility Model

Department of Mathematics. Mathematics of Financial Derivatives

Boundary conditions for options

Review Direct Integration Discretely observed options Summary QUADRATURE. Dr P. V. Johnson. School of Mathematics

CRANK-NICOLSON SCHEME FOR ASIAN OPTION

Lecture 4 - Finite differences methods for PDEs

Practical Hedging: From Theory to Practice. OSU Financial Mathematics Seminar May 5, 2008

Interest-Sensitive Financial Instruments

Term Structure Lattice Models

ANALYSIS OF THE BINOMIAL METHOD

ASC Topic 718 Accounting Valuation Report. Company ABC, Inc.

Computational Finance Binomial Trees Analysis

Math Computational Finance Barrier option pricing using Finite Difference Methods (FDM)

Computational Efficiency and Accuracy in the Valuation of Basket Options. Pengguo Wang 1

The Evaluation of American Compound Option Prices under Stochastic Volatility. Carl Chiarella and Boda Kang

Monte Carlo Methods for Uncertainty Quantification

Accelerated Option Pricing Multiple Scenarios

Fast and accurate pricing of discretely monitored barrier options by numerical path integration

Valuation of performance-dependent options in a Black- Scholes framework

MASM006 UNIVERSITY OF EXETER SCHOOL OF ENGINEERING, COMPUTER SCIENCE AND MATHEMATICS MATHEMATICAL SCIENCES FINANCIAL MATHEMATICS.

Gamma. The finite-difference formula for gamma is

AN IMPROVED BINOMIAL METHOD FOR PRICING ASIAN OPTIONS

Risk Neutral Valuation

CHAPTER 6 Numerical Schemes for Pricing Options

Valuation of Asian Option. Qi An Jingjing Guo

AMH4 - ADVANCED OPTION PRICING. Contents

A distributed Laplace transform algorithm for European options

Definition Pricing Risk management Second generation barrier options. Barrier Options. Arfima Financial Solutions

Transcription:

Numerical Methods in Option Pricing (Part III) E. Explicit Finite Differences. Use of the Forward, Central, and Symmetric Central a. In order to obtain an explicit solution for the price of the derivative, we need to use the following combination of approximations: forward difference for f t, central difference for f S, and symmetric central for f S The approximation to the PDE f f f + a + b + h r f = 0 t S S thus becomes: ( + ) ( ) ( + ) ( ) f S,t t f S,t f S S,t f S S,t + a t S ( + ) ( ) + ( ) ( S) f S S,t f S,t f S S,t + b + h rf = 0 b. We then evaluate the approximated PDE for the different values on the grid, starting from S=n S and t=m t: Brice Dupoyet FIN 78 Seminar in Option

m+ m m m n n m n+ n a n f f f f + t S m m m m fn+ fn + fn m m+ m+ n n n + b + h r f = 0 ( S) The resulting equation is called a difference equation. The difference equation approximates the PDE as t and S go to 0. c. The difference equation gives us EXPLICITLY the value of f for stock level n and time m+, thus it gives m+ us once we have computed the values at time m: f n t + r t f = f + b f f + f ( ) ( S) { + } m+ m+ m m m m m n n n n n n m n { + } ( ) t a + f f + t h S m m m n n n d. Notice that time m is actually temporally AFTER time m+, since the time represents time left to maturity. The initial condition (hence the value of the derivative at maturity, when m=0) is: f 0 = f ( n S,0) n 0 e. For stock levels that reach the boundaries, use the following boundary conditions: m At n+= N : f = f ( N S,m t) m At n-= N : f = f ( N S, m t) N N (What are these conditions for puts and calls?) Brice Dupoyet FIN 78 Seminar in Option

3. For the simple basic diffusion equation solution obtained m n f f = 0 t S 0 < t S. f is stable only if ( ), the a. The issue is that the use of difference equations as approximations to the PDE introduces rounding errors. b. We obtain a stable solution only if these rounding errors are not getting magnified at each iteration. c. For the simple diffusion case, all we need to make sure of is that we choose the increments for S and t so that ( ) 0 t S <. d. This is a major problem for more complicated cases, however, as the stability condition that needs to be satisfied is not known in advance. e. Keeping S proportional to t as they converge is a good general rule, however. Ex: let t ( S) = α Brice Dupoyet FIN 78 Seminar in Option

4 3. Probabilistic Interpretation a. Simplifying by setting h=0, the equation can be rearranged as: t t f b a f + r t S S m+ m m m n = m+ n + n n+ ( ) t t t + b f + b a f S m m m m m n n n n n ( S) ( S) m m m b. The terms in front of f n +, f n and fn can be viewed as the risk-neutral probabilities at point (n,m) on the grid: We have three possible moves (Trinomial lattice) m+ f n is given by the discounted next period expected value. Remember that time m+ is actually an instant before time m, since we transformed t into T-t. Brice Dupoyet FIN 78 Seminar in Option

5 4. Black-Scholes Example a. In order to use the explicit finite-difference method on the Black-Scholes PDE, we need to reduce the PDE to the simpler form mentioned earlier (through changes of variables) so that we know what the stability condition is. Otherwise, applying the methodology to the raw Black-Scholes PDE directly will most likely lead to an unstable system (numbers blowing up) since we do not know the stability condition for that case. Let x and τ be defined as: x =ln(s/k) and τ =(T-t)(σ/) Let C(S,t) be the price of a European Call option. Now let U(x,τ) = C(S,t)/K. C C C + r δ S + σ S rc = 0 t S S C satisfies ( ) with Terminal condition C(S,T)=max (0,S-K). Note that we also know that C(0,t)=0 and that C(S,t) approaches S-K as S goes to. Substitute in the new variables and obtain: U U U = { κ } + κ U τ x x where κ r ( σ ) and ( r ) ( ) x U ( x,0) = max ( 0, e ). κ δ σ, and Brice Dupoyet FIN 78 Seminar in Option

6 Note that this equation only contains two parameters (k and k) instead of four (K, T, r, σ, δ) Perform one additional change of variable: α x+βτ U x, τ e V x, τ let ( ) ( ) The equation for V thus is: τ V V V V + β V = α V + α + + α V + { κ } κv x x x Choose α and β so that the equation is simplified as much as possible, thus choose: ( ) ( ) β = α + κ α + κ = 0 α κ The equation for V now becomes: V τ V = x that is: for - <x<+ and τ>0 With initial condition (i.e., payoff): ( ) ( ) ( ) κ + κ ( ) ( ) β = κ κ 4 α = κ ( x / x / ) 0 ( ) V x,0 = max 0, e e V x We therefore have transformed the problem into a simpler form that has a well-known solution: The solution of the heat equation (diffusion equation) V V = for - <x<+ and τ>0 with initial condition τ x V x,0 = V x is: ( ) ( ) 0 + ( x y) ( 4τ) 0 πτ. V ( x, τ ) = V ( y) e dy Brice Dupoyet FIN 78 Seminar in Option

7 b. Programming the Finite-Difference Solution (Tips) First, redefine τ Select the number of divisions of the time-tomaturity interval, and infer τ Select the stock price range (min and max) Apply the change of variables (compute x, x_min, x_max, κ, κ, α, β, x, etc ) Once you have defined your horizontal and vertical axis, you are ready to build a grid that has x vertically and the new τ horizontally. Start building the grid by filling in values in the first column (i.e., the terminal payoff values), the first row (boundary value when x is very large) and the bottom row (boundary value when x is very small). Make sure to use the transformed boundary/initial/terminal condition given in the previous section. You can now use the formula found in the explicit finite difference technique (beginning of the notes) to fill the rest of the grid. Get your coefficients a, b, and h from the PDE for V(x,τ). This means that the solution you obtain will be the value for V(x,τ), not C(S,t). Finally convert your solution for V(x,τ) into the value for C(S,t) by reversing the change of variable. Brice Dupoyet FIN 78 Seminar in Option

8 F. Implicit Finite Difference Method. The advantage of using the implicit finite differences method is that the method does not suffer from the stability issue ( 0 t ( S) <.). The approximations needed to implement the implicit method are: backward difference for f t central difference for f S, and symmetric central difference for f S. a. The PDE, f f b f + a + + h cf = 0 t S S therefore has the following approximation: m m m m n n m n+ n a n f f f f + t S m m m m fn+ fn + fn m m m n n n + b + h r f = 0 ( S) b. This equation does not give a solution for f at time m given values at time m- directly, but gives an implicit solution for it. c. This equation uses boundary conditions in the same manner that the explicit method did. Brice Dupoyet FIN 78 Seminar in Option

9 m 3. The solution obtained for f n is stable regardless of how the increments for S and t are chosen. This is an important advantage of the methodology. Example: 4. The drawback of the technique is that the difference equation only gives an implicit solution. a. Note however that only three different unknown values appear in the equation ( m m m f n +, f n and fn ): m t m t an m t m m m b n + fn+ + b n ( t) r f n ( S) ( S) ( S) m t m t an m m m b n fn fn h n ( S) ( S) + = Brice Dupoyet FIN 78 Seminar in Option

0 b. Also note that we do know the price of the option at the boundaries. Therefore when n-= N or n+= N, there are only two unknown prices in the difference equation, as shown on the grid above. c. Note that even though the solution is an implicit one, we can still retrieve the derivative prices: At a given date m, the system of equations for n= N + to n= N - is said to be tridiagonal. A tridiagonal system has the following form: Brice Dupoyet FIN 78 Seminar in Option

b x + c x = d a x + b x + c x = d 3 a x + b x + c x = d 3 3 3 3 4 3 a x + b x + c x = d n n n n n n n a x + b x = d n n n n n where the unknowns are represented by the x s and where the a, b, c, and d s represent known values. d. Simple algorithms exist that solve such systems m quickly (by substitution) and produce a solution for f n for n= N to N. 5. The Crank-Nicholson Algorithm a. It lies between the explicit and implicit methods. Explicit at time m: m+ m m m n n m n+ n a n f f f f + t S m m m m fn+ fn + fn m m m+ n n n + b + h r f = 0 ( S) Brice Dupoyet FIN 78 Seminar in Option

Implicit at time m+: m+ m m+ m+ n n m+ n+ n a n f f f f + t S m+ m+ m+ m+ fn+ fn + fn m+ m+ m+ n n n + b + h r f = 0 ( S) The Crank-Nicholson method sums the two equations, yielding: m+ m m m m+ m+ n n m n+ n m+ n+ n n n f f f f f f + a + a t S S m m m m+ m+ m+ m fn+ fn + fn m+ fn+ fn + fn n b n ( S) ( S) + b + m m m+ m+ m+ m+ { n n n n } + h r f + h r f = 0 b. Overall, the methodology is still implicit, but it has a higher degree of precision than the regular implicit method. c. Just like the implicit method, it is also guaranteed to converge, regardless of the value for α= t/( S). Brice Dupoyet FIN 78 Seminar in Option

3 IV. Comparison of Numerical Methods: Finite Differences, Monte Carlo, Trees, Numerical Integration A. Criteria. Convergence a. Convergence is attained with every method. b. Comparable (constant scale as they converge to zero) t and S are needed for each method.. Stability a. Major concern for explicit finite difference method. b. Guaranteed for the implicit methods. 3. Computational Time and Algorithm Complexity a. Explicit is more straightforward than the implicit or Crank-Nicholson method. b. Both trees and numerical methods for PDEs grow linearly in the grid size. c. Monte Carlo simulation can take a long time. 4. Ease of Implementation a. Monte Carlo and Numerical Integrations are easy. b. Explicit finite differences and trees are relatively easy. Brice Dupoyet FIN 78 Seminar in Option

4 B. Applicability Potential. European vs. American Options a. With American options, the investor must decide at every point/node up to the expiration date whether it is optimal to exercise. b. Due to the large number of paths, it is thus very difficult to use Monte Carlo for American options. c. Trees are much better suited for American options. d. Finite differences can also be used for American options, although slightly more complicated.. Higher Number of Underlying Assets or Factors a. Monte Carlo adapts well to many factors, as one can simulate the risk-neutral path of each asset or factor, possibly taking into account the correlation(s) between the various Brownian motions. b. Numerical integrations are faster, however. c. More difficult for trees and finite differences, because going to higher dimensions (the tree becoming a cube, for instance) implies quickly rising computational costs. Brice Dupoyet FIN 78 Seminar in Option

5 3. Path Dependency a. Path dependency means that the derivative s payoff depends not only on the terminal value of the asset but also on the path taken between t and T. Example: mean, min, or max value of the asset during that path. b. Very easy for Monte Carlo. c. More difficult for trees and finite differences. 4. Vanilla Options vs. Exotic Options a. Very easy to implement if it is only a matter of changing the payoff function at expiration. Binary options are a good example of that. b. If the option payoff is also path-dependent, see section 3. Brice Dupoyet FIN 78 Seminar in Option