Numerical Solution of BSM Equation Using Some Payoff Functions

Similar documents
Greek parameters of nonlinear Black-Scholes equation

On the White Noise of the Price of Stocks related to the Option Prices from the Black-Scholes Equation

A Study on Numerical Solution of Black-Scholes Model

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

Lecture Quantitative Finance Spring Term 2015

Option Pricing Model with Stepped Payoff

Module 10:Application of stochastic processes in areas like finance Lecture 36:Black-Scholes Model. Stochastic Differential Equation.

A distributed Laplace transform algorithm for European options

Fractional Black - Scholes Equation

FE610 Stochastic Calculus for Financial Engineers. Stevens Institute of Technology

Black-Scholes Option Pricing

Option Pricing Formula for Fuzzy Financial Market

Solution of Black-Scholes Equation on Barrier Option

NEWCASTLE UNIVERSITY SCHOOL OF MATHEMATICS, STATISTICS & PHYSICS SEMESTER 1 SPECIMEN 2 MAS3904. Stochastic Financial Modelling. Time allowed: 2 hours

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

Black-Scholes-Merton Model

Lecture 4. Finite difference and finite element methods

MSC FINANCIAL ENGINEERING PRICING I, AUTUMN LECTURE 6: EXTENSIONS OF BLACK AND SCHOLES RAYMOND BRUMMELHUIS DEPARTMENT EMS BIRKBECK

Option Valuation with Sinusoidal Heteroskedasticity

1.12 Exercises EXERCISES Use integration by parts to compute. ln(x) dx. 2. Compute 1 x ln(x) dx. Hint: Use the substitution u = ln(x).

Chapter 5 Finite Difference Methods. Math6911 W07, HM Zhu

sinc functions with application to finance Ali Parsa 1*, J. Rashidinia 2

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

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

Homework Assignments

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

European call option with inflation-linked strike

Stochastic Volatility (Working Draft I)

THE USE OF NUMERAIRES IN MULTI-DIMENSIONAL BLACK- SCHOLES PARTIAL DIFFERENTIAL EQUATIONS. Hyong-chol O *, Yong-hwa Ro **, Ning Wan*** 1.

Homework Set 6 Solutions

NUMERICAL METHODS OF PARTIAL INTEGRO-DIFFERENTIAL EQUATIONS FOR OPTION PRICE

STOCHASTIC CALCULUS AND BLACK-SCHOLES MODEL

Department of Mathematics. Mathematics of Financial Derivatives

A Continuity Correction under Jump-Diffusion Models with Applications in Finance

A Worst-Case Approach to Option Pricing in Crash-Threatened Markets

Option Pricing Models for European Options

Aspects of Financial Mathematics:

Local vs Non-local Forward Equations for Option Pricing

PAijpam.eu ANALYTIC SOLUTION OF A NONLINEAR BLACK-SCHOLES EQUATION

Option Pricing under Delay Geometric Brownian Motion with Regime Switching

In chapter 5, we approximated the Black-Scholes model

FINITE DIFFERENCE METHODS

THE BLACK-SCHOLES FORMULA AND THE GREEK PARAMETERS FOR A NONLINEAR BLACK-SCHOLES EQUATION

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 19 11/20/2013. Applications of Ito calculus to finance

Lecture Quantitative Finance Spring Term 2015

Credit Risk and Underlying Asset Risk *

EFFICIENT MONTE CARLO ALGORITHM FOR PRICING BARRIER OPTIONS

Lecture 4 - Finite differences methods for PDEs

The Derivation and Discussion of Standard Black-Scholes Formula

Solutions of Bimatrix Coalitional Games

A NEW NOTION OF TRANSITIVE RELATIVE RETURN RATE AND ITS APPLICATIONS USING STOCHASTIC DIFFERENTIAL EQUATIONS. Burhaneddin İZGİ

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

1.1 Basic Financial Derivatives: Forward Contracts and Options

Application of an Interval Backward Finite Difference Method for Solving the One-Dimensional Heat Conduction Problem

A No-Arbitrage Theorem for Uncertain Stock Model

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

Time-changed Brownian motion and option pricing

PDE Methods for the Maximum Drawdown

Computational Finance Finite Difference Methods

Advanced Stochastic Processes.

No ANALYTIC AMERICAN OPTION PRICING AND APPLICATIONS. By A. Sbuelz. July 2003 ISSN

Evaluation of Asian option by using RBF approximation

HIGHER ORDER BINARY OPTIONS AND MULTIPLE-EXPIRY EXOTICS

King s College London

American Option Pricing Formula for Uncertain Financial Market

1 Geometric Brownian motion

Probability in Options Pricing

MATH3075/3975 FINANCIAL MATHEMATICS TUTORIAL PROBLEMS

Simple Formulas to Option Pricing and Hedging in the Black-Scholes Model

arxiv: v2 [q-fin.pr] 23 Nov 2017

Solving the Black-Scholes Equation

Solving the Black-Scholes Equation

Math Computational Finance Double barrier option pricing using Quasi Monte Carlo and Brownian Bridge methods

A NOVEL BINOMIAL TREE APPROACH TO CALCULATE COLLATERAL AMOUNT FOR AN OPTION WITH CREDIT RISK

Distortion operator of uncertainty claim pricing using weibull distortion operator

2.3 Mathematical Finance: Option pricing

F A S C I C U L I M A T H E M A T I C I

Options. An Undergraduate Introduction to Financial Mathematics. J. Robert Buchanan. J. Robert Buchanan Options

Pricing Barrier Options under Local Volatility

Project 1: Double Pendulum

2.1 Mathematical Basis: Risk-Neutral Pricing

The Black-Scholes Equation

Pricing theory of financial derivatives

STOCHASTIC VOLATILITY AND OPTION PRICING

1 The continuous time limit

Black-Scholes-Merton (BSM) Option Pricing Model 40 th Anniversary Conference. The Recovery Theorem

The Lognormal Interest Rate Model and Eurodollar Futures

THE OPTIMAL ASSET ALLOCATION PROBLEMFOR AN INVESTOR THROUGH UTILITY MAXIMIZATION

Analysis of pricing American options on the maximum (minimum) of two risk assets

SEMIGROUP THEORY APPLIED TO OPTIONS

No-arbitrage theorem for multi-factor uncertain stock model with floating interest rate

Sensitivity of American Option Prices with Different Strikes, Maturities and Volatilities

CONTINUOUS TIME PRICING AND TRADING: A REVIEW, WITH SOME EXTRA PIECES

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

Important Concepts LECTURE 3.2: OPTION PRICING MODELS: THE BLACK-SCHOLES-MERTON MODEL. Applications of Logarithms and Exponentials in Finance

MAFS Computational Methods for Pricing Structured Products

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

Lecture 8: The Black-Scholes theory

LIBOR models, multi-curve extensions, and the pricing of callable structured derivatives

Class 12. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Transcription:

Mathematics Today Vol.33 (June & December 017) 44-51 ISSN 0976-38, E-ISSN 455-9601 Numerical Solution of BSM Equation Using Some Payoff Functions Dhruti B. Joshi 1, Prof.(Dr.) A. K. Desai 1 Lecturer in Mathematics, Government Polytechnic, Himmatnagar - 383001, India E-mail: dkpatel1888@gmail.com Head of The Department of Mathematics, School of Sciences, Gujarat University, Ahmedabad - 380009, India E-mail: desai ak@yahoo.com Abstract In this paper we have derived an iterative finite difference formula to get numerical solution of Black-Scholes-Merton (BSM) Partial Differential Equation using Plain Vanila Payoff and Log Payoff functions. The solution of BSM equation represents the model for pricing an option (i.e Call/Put). It should be noted that most of the trading platforms use BSM equation along with The Plain Vanila Payoff function. Keywords: Black-Scholes-Merton model; Heat Equation; Finite Difference Formulas; Taylor s Series Expansion AMS Subject Classification (010): 35K05; 58J35; 65M06 1 Introduction The present day numerical computations were almost unknown before 1950. The high speed computing machine (the computer) has made possible the solution of problems having great complexity in mathematics as well as in financial mathematics [1. Here in this paper we have used MATHEMATICA to get numerical solutions of BSM euqation. Also we compare these solutions with MATHEMATICA exact value of the analytical solution of a heat equation which is obtained by applying some transformations to BSM equation. For the usual theory (i.e. existence, uniqueness, differentiability of solution etc.) related to the partial differential equations we refer to [4 and [. In Financial Mathematics, the Black-Scholes-Merton equation is used to find the value of European Call/Put options. The BSM equation [5 is, V t V + rs S + σ S V rv = 0 (1.1) S

Dhruti B Joshi & A K Desai - Numerical Solution of BSM Equation Using Some Payoff Functions 45 Here V (S, t) is the value of European Call option. S= Spot price of asset (i.e. the price of asset at time t = 0) r= Risk free interest rate σ= Volatility = Exercise price or Strike price T = Total period of time Here we consider the European Call option whose final payoff at the expiry time T is given by a function f(s). i.e. lim V (S, t) = f(s) t T As it is assumed here that V (S, t) is a continuous function, lim t T V (S, t) = V (S, T ) Therefore the final payoff at the expiry time is given by, V (S, T ) = f(s) Here, in section- we have applied some transformations to BSM equation to get a Heat equation as in [3 and the obtained analytical solution of this Heat equation will be used to compare with our numerical solutions in section-4. In section-3 we have converted the BSM equation into an equation with constant coefficients by applying a transformation and the idea of numerical method for solution of BSM equation is given in detail which is based on some discussions in [1 and [7. A new Finite Difference Formula is also derived in this section. In section-4 numerical computations are carried out using the formula that we obtain in section-3 to get numerical solutions of BSM equation and have compared it with analytical solution of the Heat equation derived in section-, which demonstrates the effect of our finite difference formula. Heat eqaution form of BSM equation The equation (1.1), V V + rs t S + σ S V S rv = 0 is known as Black-Scholes-Merton Partial Differential Equation. where, V (S, T ) = f(s) We convert this equation into Heat Equation as follows [3: We let, y = T t [ S x = ln + ) (r σ (T t) (.1) D(x, y) = e r(t t) V (S, t) Hence the function V (S, t) is replaced by the function D(x, y) in equation (1.1) and the resulting equation is a Heat equation, D y = σ D x. (.)

46 Mathematics Today Vol.33 (June & December 017) 44-51 Also the boundary condition, lim V (S, t) = f(s) is converted into the initial condition, t T lim D(x, y) = f(ex ) y 0 + The analytical solution of this initial value problem of Heat Equation is obtained using either Method of Separation of Variables [8 or Fourier Transforms [6. The solution obtained is, D(x, y) = 1 σ πy f(τ)e (x τ) σ y dτ (.3) We will compare numerical solution obtained by our finite difference formula with this analytical solution (.3). 3 Finite Difference Formula for BSM Equation Here, first of all we will convert the BSM equation into an equation with constant coefficients as follows: We let, where, w = Log [ S. Therefore, V (S, t) = u(w, t) Hence we get, V t = u t V (S, T ) = f(s) u(w, T ) = f(e w ). V S = u w w s = 1 S u w V SS = u w w ss + (w s ) u ww = 1 S u w + 1 S u ww. Now, applying these expressions to (1.1), we get, We apply finite difference formulas to above (3.1) as follows: By Taylor series expansion, Adding and subtracting the above two, we get, u t + σ (u ww u w ) + ru w ru = 0 (3.1) u(w + h, t) = u(w, t) + hu w (w, t) + 1! h u ww (w, t) +... & u(w h, t) = u(w, t) hu w (w, t) + 1! h u ww (w, t) +... u(w + h, t) + u(w h, t) = u(w, t) + h u ww (w, t) + O(h 4 ) & u(w + h, t) u(w h, t) = hu w (w, t) + O(h 3 ) where O(h n ) denotes the terms containing h n and higher powers of h. Hence, u(w + h, t) u(w h, t) u w = + O(h ) h & u(w + h, t) u(w, t) + u(w h, t) u ww = h + O(h ).

Dhruti B Joshi & A K Desai - Numerical Solution of BSM Equation Using Some Payoff Functions 47 As we want to use the scheme centred in space and forward in time, we will use the finite difference formulas, u(w + h, t + k) u(w h, t + k) u w = + O(h ) h & u(w + h, t + k) u(w, t + k) + u(w h, t + k) u ww = h + O(h ). Also by Taylor series expansion, u(w, t + k) = u(w, t) + ku t (w, t) + k! u tt(w, t) + k3 3! u ttt(w, t) + O(k 4 ) Hence, u(w, t + k) u(w, t) u t = + O(k ). k In the above expressions, taking w = ih & t = jk and moreover writing; we get, u(w, t) = u(ih, jk) = u i,j u(w + h, t) = u((i + 1)h, jk) = u i+1,j u(w, t + k) = u(ih, (j + 1)k) u t = u i,j+1 u i,j k = u i,j+1 + O(k ) u w = u i+1,j+1 u i 1,j+1 h Using above expressions, (3.1) is rewritten as, u i,j+1 u i,j k + σ + O(h ) u ww = u i+1,j+1 u i,j + u i 1,j+1 h + O(h ). [ ui+1,j+1 u i,j + u i 1,j+1 h u i+1,j+1 u i 1,j+1 + h [ ui+1,j+1 u i 1,j+1 r ru i,j + O(h + k ) = 0 h Therefore, [ σ h σ 4h + r [ [ 1 u i+1,j+1 + h k σ σ h u i,j+1 + h + σ 4h r u i 1,j+1 + O(h + k ) h [ 1 = k + r u i,j. Multiplying both the sides of above expression by k, we get, [ ( ) ( ) σ k h σ k + r ( k 4 h h [ σ + ( k h ) ( ) kh u i+1,j+1 + [1 σ u i,j+1 ) + σ 4 ( ) k r h In above (3.), if we take k h = µ and k h = ξ, it is rewritten as, [ σ ξ σ 4 µ + r µ ( ) k u i 1,j+1 + O(h k + k 3 ) = (1 + rk) u i,j. (3.) h u i+1,j+1 + [ 1 σ ξ [ σ u i,j+1 + ξ + σ 4 µ r µ u i 1,j+1 + O(h k + k 3 ) = (1 + rk) u i,j. (3.3)

48 Mathematics Today Vol.33 (June & December 017) 44-51 Above (3.3) is the required Finite Difference Formula for BSM equation which works explicitly for given condition u[w, T = f(e w ). Note that, this same formula may work implicitly if the initial condition is given as u[w, 0 = f(w). 4 Solution of BSM equation using some payoff functions The BSM equation is, with the condition, V t lim t T V (S, t) = f(s). V + rs S + σ S V S rv = 0 1) Plain Vanila Payoff Function For Plain Vanila Payoff, f(s) = S, S = 0, S Here we only consider the case when S. Therefore, as S = e w e w w Log[1 w 0 Also, f(s) = S u[w, T = e w u[w, T = (e w 1) Here we will consider, = 40, σ = 0., T = 0.5, & r = 0.1, where, is strike price, σ is volatility, T is expiry time and r is rate of interest. For different values of S we will compute the values of x & w and then compare the numerical solution u[w, t obtained by implementing (3.3) and analytical solution D[x, y (i.e.(.3)) in Mathematica. Note that, we are considering T = 0.5 and computing solutions for the last to second time row (i.e. t = 0.499, k = 0.001 and T k = 0.499) and therefore we get, y = T t = 0.001 Table 1: S=41 w (= Log [ [ S ) Log 41 40 x (see (.1)) 0.04776 Numerical Solution using (3.3) implemented on Mathematica Mathematica Exact Value of The Analytical Solution (.3) Difference σ π(0.001) u[log [ 41 40, 0.499 = 1.0040 D[0.04776, 0.001 = (eτ 1)e (0.04776 τ) σ (0.001) dτ 0.970534 10 3

Dhruti B Joshi & A K Desai - Numerical Solution of BSM Equation Using Some Payoff Functions 49 Table : S=4 w (= Log [ [ S ) Log 4 40 x (see (.1)) 0.048870 Numerical Solution using (3.3) implemented on Mathematica Mathematica Exact Value of The Analytical Solution (.3) Difference σ π(0.001) u[log [ 4 40, 0.499 =.0040 D[0.048870, 0.001 = (eτ 1)e (0.048870 τ) σ (0.001) dτ 0.194308 10 3 ) Log Payoff Function For Log Payoff, [ S f(s) = Log, S. We use the same values of σ,, T, & r as we have used earlier. Also, as S = e w e w w Log[1 w 0 And, [ S f(s) = Log [ e w u[w, T = Log u[w, T = Log [e w u[w, T = w Now for different values of S the comparison of Numerical solution u[w, t obtained by implementing (3.3) in Mathematica and analytical solution D[x, y (i.e. (.3)) is given below. Here also we are computing solutions for the last to second time row (i.e. t = 0.499, k = 0.001 and T k = 0.499) and therefore we get, y = T t = 0.001 Table 3: S=41 w (= Log [ [ S ) Log 41 40 x (see (.1)) 0.04776 Numerical Solution using (3.3) implemented on Mathematica Mathematica Exact Value of The Analytical Solution (.3) Difference u[log [ 41 40, 0.499 = 0.47701 1 σ π(0.001) D[0.04776, 0.001 = (0.04776 τ) τe σ (0.001) dτ.541 10 6

50 Mathematics Today Vol.33 (June & December 017) 44-51 Table 4: S=4 w (= Log [ [ S ) Log 4 40 x (see (.1)) 0.048870 Numerical Solution using (3.3) implemented on Mathematica Mathematica Exact Value of The Analytical Solution (.3) Difference u[log [ 4 40, 0.499 = 0.0488653 1 σ π(0.001) D[0.048870, 0.001 = (0.048870 τ) fτe σ (0.001) dτ 4.88653 10 6 Note: 1. The parameters, σ & r are considered on basis of their occurrence in trading terminals.. As the boundary condition V (S, T ) = f(s) depends on T, change in T produces change in the solution. For example, if we take T = 0.6, for the last to second time row y = T t = T (T k) = k = 0.001, which is the same as we have obtained for T = 0.5. But when T = 0.5, the last to second time row is, t = T k = 0.5 0.001 = 0.499 and when T = 0.6, the last to second time row is, t = T k = 0.6 0.001 = 0.599. Hence, and T = 0.5 V (S, 0.499) D(x, 0.001), T = 0.6, V (S, 0.599) D(x, 0.001). Conclusion We have derived (in section-3) a finite difference formula for Black-Scholes-Merton equation and (in section-4) have computed numerical solutions for Plain Vanila Payoff function and Log Payoff Function. Also compared the numerical solutions obtained by our finite difference formula with the analytical solution of heat equation which is obtained by applying some transformations to Black-Scholes-Merton Equation. The above tables indicate that the numerical solutions obtained by using the new Finite Difference Formula are very close to the analytical solutions. Acknowledgement With deep sense of gratitude we acknowledge DST-FIST support to The Department of Mathematics, Gujarat University, where the first author is doing her Ph.D under the guidance of second author. We also acknowledge with thanks the suggestions made by the referee which have brought the paper in the present form.

Dhruti B Joshi & A K Desai - Numerical Solution of BSM Equation Using Some Payoff Functions 51 References [1 William F. Ames, Numerical Methods For Partial Differential equations, Academic Press, New York, San Francisco, 1977. [ Bernstein, D. L. Existance Theorems In Partial Differential Equtions. Princeton University Press, N. J. 1950. [3 H. V. Dedania and S. J. Ghevariya, Option Pricing Formulas for Modified Log Payoff Functions, International Journal of Mathematics and Soft Computing, Vol 3(3)(013), 19-140. [4 Friedman, Partial Differential equations of Parabolic Type. Prentice - Hall Inc., Englewood Cliffs, N. J. 1964. [5 Amber Habib, The Calculus of Finnance, University Press, 011. [6 Jigna V. Panchal and A. K. Desai, Some Notes on the solutions of BSM equation, International Journal of Mathematics and Soft Computing, Vol.7, No.1(017), 51-56. [7 G. D. Smith, Numerical Solutions of Partial Differential Equations, Ames House, London, Oxford University Press, New York, Toronto,1965. [8 Ian Sneddon, Elements Of Partial Differential Equations