adi finite difference schemes for the calibration of ... · adi finite di erence schemes for the...

28
ADI Finite Dierence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method Maarten Wyns Joint work with Karel in ’t Hout WSC Spring Meeting 2017

Upload: others

Post on 01-Jun-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

ADI Finite Difference Schemes for the Calibration ofStochastic Local Volatility Models: An Adjoint Method

Maarten Wyns

Joint work with Karel in ’t Hout

WSC Spring Meeting 2017

Page 2: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Table of contents

I Introduction

I Difficulties

I Valuation of European options

I Adjoint calibration technique

I Numerical experiments

I Conclusions

2

Page 3: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Introduction: Why?

I European call option gives holder the right to buy a given assetat a prescribed date T for a prescribed price K

I Sτ foreign exchange rate at τ ≥ 0

I European call option: payoff u0(ST ) = max(ST − K , 0)

I Non-path-dependent European option:Fair value at τ = 0 is e−rdTE[u0(ST )] = e−rdTE[u0(S0e

XT )]

I rd , rf risk-free interest rates

3

Page 4: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Introduction: Why?

Modelling: Xτ = log(Sτ/S0)

Local volatility (LV) model

dXτ = (rd − rf − 12σ

2LV (Xτ , τ))dτ + σLV (Xτ , τ)dWτ

Stochastic local volatility (SLV) model

dXτ = (rd − rf − 12σ

2SLV (Xτ , τ)Vτ )dτ + σSLV (Xτ , τ)

√VτdW

(1)τ

dVτ = κ(η − Vτ )dτ + ξ√

VτdW(2)τ

Goal: Determine σSLV that reproduces market data

4

Page 5: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Difficulties

I For general σSLV European call values not known exactly

I Calibrate SLV model to underlying LV model

Gyongy ’86

LV and SLV model define same European call values if

σ2LV (x , τ) = σ2

SLV (x , τ)E[Vτ‖Xτ = x ] = σ2SLV (x , τ)

∫∞0 vp(x , v , τ)dv∫∞0 p(x , v , τ)dv

I E[Vτ‖Xτ = x ] dependent on σSLV in a non-trivial way

I For general σLV European call values not known exactly

5

Page 6: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Valuation of European options

Common: numerically solving the backward PDE (t = T − τ)

I LV model

ut = 12σ

2LV uxx + (rd − rf − 1

2σ2LV )ux

Maturity T → E[u0(S0eXT )] = u(X0,T )

I SLV model

ut = 12σ

2SLV vuxx + ρσSLV vuxv + 1

2ξ2vuvv

+ (rd − rf − 12σ

2SLV )ux + κ(η − v)uv

Maturity T → E[u0(S0eXT )] = u(X0,V0,T )

6

Page 7: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Theoretical alternative: forward PDE

I LV model

pτ = ∂2

∂x2

(12σ

2LV p)− ∂

∂x

((rd − rf − 1

2σ2LV )p

)E[u0(S0e

XT )] =∫∞−∞ u0(S0e

x)p(x ,T )dx

I SLV model

pτ = ∂2

∂x2

(12σ

2SLV vp

)+ ∂2

∂x∂v (ρσSLV vp) + ∂2

∂v2

(12ξ

2vp)

− ∂∂x

((rd − rf − 1

2σ2SLV )p

)− ∂

∂v (κ(η − v)p)

E[u0(S0eXT )] =

∫∞0

∫∞−∞ u0(S0e

x)p(x , v ,T )dxdv

7

Page 8: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Theoretical alternative: forward PDE

I LV model

pτ = ∂2

∂x2

(12σ

2LV p)− ∂

∂x

((rd − rf − 1

2σ2LV )p

)E[u0(S0e

XT )] =∫∞−∞ u(x ,T − τ)p(x , τ)dx

I SLV model

pτ = ∂2

∂x2

(12σ

2SLV vp

)+ ∂2

∂x∂v (ρξσSLV vp) + ∂2

∂v2

(12ξ

2vp)

− ∂∂x

((rd − rf − 1

2σ2SLV v)p

)− ∂

∂v (κ(η − v)p)

E[u0(S0eXT )] =

∫∞0

∫∞−∞ u(x , v ,T − τ)p(x , v , τ)dxdv

8

Page 9: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Adjoint calibration technique

FD DiscretizationBackward PDE, LV

↔ Adjoint DiscretizationForward PDE, LV

l (?)

Adjoint DiscretizationForward PDE, SLV

↔FD DiscretizationBackward PDE, SLV

(?) holds when similar discretizations for the backward PDEs

9

Page 10: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Adjoint discretization (LV model)

I FD discretization backward equation (t = T − τ):

U ′LV (t) = ALV (t)ULV (t), ULV,i (t) ≈ u(xi , t)

I Approximations PLV,i (τ) ≈∫ xi+0.5

xi−0.5p(x , τ)dx

ULV,i0(T ) = PTLV (τ)ULV (T−τ) = PT

LV (T )U0 =∑i

PLV,i (T )U0,i

I Adjoint discretization forward equation:

P ′LV (τ) = ATLV (T − τ)PLV (τ)

10

Page 11: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Adjoint discretization (SLV model)

I FD discretization backward equation: USLV,i ,j(t) ≈ u(xi , vj , t)

I Approximations PSLV,i ,j(τ) ≈∫ vj+0.5

vj−0.5

∫ xi+0.5

xi−0.5p(x , v , τ)dxdv

I Adjoint discretization forward equation:

USLV,i0,j0(T ) =∑i ,j

PSLV,i ,j(τ)USLV,i ,j(T − τ)

=∑i

∑j

PSLV,i ,j(T )

U0,i

11

Page 12: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Adjoint calibration

If

I Same discretization in x-direction of the backward equations

I Adjoint spatial discretization of the forward equations

I σ2LV (xi , τ) = σ2

SLV (xi , τ)∑

j vjPSLV,i,j (τ)∑j PSLV,i,j (τ)

≈ σ2SLV (xi , τ)

∫ ∞0

vp(xi ,v ,τ)dv∫ ∞0

p(xi ,v ,τ)dv

Then

I PLV,i (τ) =∑

j PSLV,i ,j(τ)

I ULV,i0(T ) = USLV,i0,j0(T )

12

Page 13: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Adjoint calibration

If

I Same discretization in x-direction of the backward equations

I Adjoint spatial discretization of the forward equations

I σ2LV (xi , τ) = σ2

SLV (xi , τ)∑

j vjPSLV,i,j (τ)∑j PSLV,i,j (τ) ≈ σ

2SLV (xi , τ)

∫ ∞0

vp(xi ,v ,τ)dv∫ ∞0

p(xi ,v ,τ)dv

Then

I PLV,i (τ) =∑

j PSLV,i ,j(τ)

I ULV,i0(T ) = USLV,i0,j0(T )

12

Page 14: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Non-linear system of ODEs

I Adjoint discretization yields system of ODEs for PSLV

I Corresponding discretization matrix depends on

σ2SLV (xi , τ) = σ2

LV (xi , τ)∑

j PSLV,i,j (τ)∑j vjPSLV,i,j (τ) (1)

I Non-linear system of ODEs

I Modified Craig–Sneyd implicit time stepping with inner iteration

13

Page 15: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Inner iteration

PSLV,n = PSLV,n−1 initial approximation to PSLV (τn);

for q is 1 to Q do

(a) approximate σ2SLV (xi , τn) by (1);

(b) update PSLV,n by performing a MCS time step;

end

I Q = 2 performs excellent

14

Page 16: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Numerical experiments, EUR/USD rate

S0 = 1.0764, rd = 0.03, rf = 0.01

Local volatility surface up to τ = 2 years

-20

x

Local vol surface

22τ

1

0

1

2

0

σLV

(x,τ

)

15

Page 17: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Stochastic parameters

Case 1 Case 2

κ 0.75 0.30η 0.015 0.04ξ 0.15 0.90ρ −0.14 −0.5T 2Y 2YS0 1.0764 1.0764V0 0.015 0.04

I Case 1: Actual EUR/USD parameters from Clarke (2011)

I Case 2: Challenging parameters from Andersen (2008)

16

Page 18: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Leverage surface, Case 1

-20

x

Leverage surface

22τ

1

0

20

10

0

σS

LV(x

,τ)

17

Page 19: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

European call prices, Case 1

Strike K , maturity T → U0,i = max(S0exi − K , 0)

K/S0

0.6 0.8 1 1.2 1.4

C(K

,T)

0

0.1

0.2

0.3

0.4European call price, S

0= 1.0764, T = 2

ULV,i

0

(T)

USLV,i

0,j

0

(T)

18

Page 20: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Implied vols (in %), Case 1

ULV,i0(T )→ σimp,LV,B(K ,T ), USLV,i0,j0(T )→ σimp,SLV,B(K ,T )

K/S0

0.6 0.8 1 1.2 1.4

σB

S(K

,T)

8

10

12

14

Implied volatility, S0= 1.0764, T = 2

σimp,LV,B

(K,T)

σimp,SLV,B

(K,T)

19

Page 21: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Leverage surface, Case 2

-20

x

Leverage surface

22τ

1

5

10

00

σS

LV(x

,τ)

20

Page 22: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

European call prices, Case 2

K/S0

0.6 0.8 1 1.2 1.4

C(K

,T)

0

0.1

0.2

0.3

0.4European call price, S

0= 1.0764, T = 2

ULV,i

0

(T)

USLV,i

0,j

0

(T)

21

Page 23: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Implied vols (in %), Case 2

K/S0

0.6 0.8 1 1.2 1.4

σB

S(K

,T)

8

10

12

14

Implied volatility, S0= 1.0764, T = 2

σimp,LV,B

(K,T)

σimp,SLV,B

(K,T)

22

Page 24: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Numerical results

Absolute implied vol error: |σimp,LV,B(K ,T )− σimp,SLV,B(K ,T )|

x-direction: 100 points, v -direction: 50 points, ∆τ = 1/100

K/S0 0.7 0.8 0.9 1.0 1.1 1.2 1.3

σimp,LV,B 10.23 9.19 8.99 9.61 10.70 11.68 12.49

Case 1 4e−3 3e−3 2e−3 1e−3 1e−3 2e−3 2e−3

Case 2 2e−3 4e−3 2e−4 5e−3 5e−3 4e−3 3e−4

23

Page 25: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Calibration time

I Calibration time ∼ desired accuracy LV discretization

I Calibration time ∼ desired accuracy v -direction

I x-direction: 100 points, v -direction: 50 points, time steps: 100→ Calibration time ≈ 1s

(Matlab code, Intel Core i7-3540M 3.00GHz, 8GB RAM)

24

Page 26: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Conclusions

I Adjoint calibration for exact match between semidiscrete LVand SLV model

I Time stepping and inner iteration for full discretization

I Fully discrete match upto temporal discretization error

I Spatial error � temporal error

I (1) Control discretization error within LV model(2) De facto exact calibration of the SLV model

25

Page 27: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

Thank You!

26

Page 28: ADI Finite Difference Schemes for the Calibration of ... · ADI Finite Di erence Schemes for the Calibration of Stochastic Local Volatility Models: An Adjoint Method ... High-order

References

B. Dupire, Pricing with a smile, RISK 7 (1994) 18–20.

I. Gyongy, Mimicking the one-dimensional marginal distributions of processes having an Ito differential,

Probab. Th. Rel. Fields 71 (1986) 501–516.

K. J. in ’t Hout & B. D. Welfert, Unconditional stability of second-order ADI schemes applied to

multi-dimensional diffusion equations with mixed derivative terms, Appl. Numer. Math. 59 (2009) 677–692.

K. J. in ’t Hout & S. Foulon, ADI finite difference schemes for option pricing in the Heston model with

correlation, Int. J. Numer. Anal. Mod. 7 (2010) 303–320.

W. Hundsdorfer & J. G. Verwer, Numerical Solution of Time-Dependent Advection-Diffusion-Reaction

Equations, Springer, Berlin, 2003.

A. Itkin, High-order splitting methods for forward PDE and PIDEs, Int. J. Theor. Appl. Finan. 18 (2015)

1550031-1 – 1550031-24.

A. Lipton, The vol smile problem, RISK 15 (2002) 61–65.

R. Rannacher, Finite element solution of diffusion problems with irregular data, Numer. Math. 43 (1984)

309–327.

M. Wyns & K. J. in ’t Hout, An adjoint method for the exact calibration of stochastic local volatility models,

J. Comput. Sci. (2017), http://dx.doi.org/10.1016/j.jocs.2017.02.004.

27