• No results found

Numerical PDE methods for exotic options

N/A
N/A
Protected

Academic year: 2021

Share "Numerical PDE methods for exotic options"

Copied!
39
0
0

Loading.... (view fulltext now)

Full text

(1)

Lecture 8

Numerical PDE methods

for exotic options

Lecture Notes

by Andrzej Palczewski

(2)

Barrier options

For barrier option part of the option contract is triggered if the asset price hits some barrier S = X, at some time prior to expiry.

Depending on the way the hitting time is monitored we dis-tinguish following options:

continuous monitoring (called American barrier) – hitting moment can be any time between issue and expiry of the option;

discrete monitoring – security price is monitored only in selected moments of time (say daily or weekly);

discrete monitoring called European barrier – security price is monitored only at expiry.

(3)

Barrier options – cont.

Depending on the conditions under which the option gets or losses value we have following type of barrier options:

up-and-in – the option expires worthless unless the barrier S = X is reached from below;

down-and-in – the option expires worthless unless

the barrier S = X is reached from above;

up-and-out – the option expires worthless if the barrier S = X is reached from below;

down-and-out – the option expires worthless if the barrier S = X is reached from above.

(4)

Barrier options – valuation

The value of a barrier option can be computed using the Black-Scholes equation.

For European options with barriers of European or Ameri-can type there are explicit analytic formulas (although some of them are quite complicated). But American options or op-tion with the barrier monitored discretely have to be valued numerically.

To solve the Black-Scholes equation for barrier options we have to supplement the equation with proper boundary and terminal conditions.

(5)

Knock-out options

Terminal conditions are as for vanila options modified by lim-itations coming from boundary conditions.

Boundary conditions:

Down-and-out option

V (S, t) = 0, for S = X,

V (S, t) = boundary value for vanila option, for S > X. Up-and-out option

V (S, t) = boundary value for vanila option, for S < X, V (S, t) = 0, for S = X.

(6)

Double knock-out options

A double knock-out option is a barrier option which expires worthless when the price of the underlying asset is to the left of the lower barrier X1 or to the right of the upper barrier

X2.

Terminal conditions are as for vanila options modified by lim-itations coming from boundary conditions.

Boundary conditions:

V (S, t) = 0, for S = X1, V (S, t) = 0, for S = X2.

(7)

Knock-in options

Down-and-in option.

For S ∈ [0, X] this is a plain vanila option. We show condi-tions for S > X. Terminal condition V (S, T ) = 0 for S > X. Boundary condition V (S, t) → 0 as S → ∞, V (X, t) = C(X, t),

where C(S, t) is the price of corresponding vanila option.

(8)

Up-and-in option.

For S ∈ [X, ∞) this is a plain vanila option. We show condi-tions for S < X. Terminal condition V (S, T ) = 0 for S < X. Boundary condition V (S, t) → 0 as S → 0, V (X, t) = C(X, t),

(9)

Discretely monitored barrier

A boundary constraint which holds at a point in time can be applied directly in an explicit manner. We compute the solution for a given time level and apply the constraint if nec-essary. Then move to the next time level.

Consider a down-and-out option with barrier X monitored in time moments tα. At time level ν we compute V ν and then apply the boundary constraint

Viν = V (si, tν) =

(

0, if si ≤ δ(tν,tα)X, Viν, otherwise

where δ(tν,tα) is the Kronecker delta.

(10)

Discretely monitored barrier – cont.

Boundary conditions on outer boundaries

For discretely monitored barriers we need boundary condi-tions for S → 0 and/or S → ∞. To impose these boundary conditions correctly we can use the relation

knock-in option + knock-out option = vanilla option (1) which holds as well for continuously and discretely moni-tored barriers when the monitoring moments are the same for in and out options.

Consider again a down-and-out option with barrier moni-tored discretely. For the upper boundary we have

(11)

Discretely monitored barrier – cont.

To impose proper conditions on the lower boundary S = 0

let us observe that for the down-and-in option we have

V (S, t) = boundary value for vanila option, for S → 0.

Using relation (1) we obtain for a down-and-out option

V (S, t) = 0, for S → 0.

Boundary conditions for other options can be obtained in a similar manner.

(12)

Lookback options

For the basic lookback contracts, the payoff comes in two varieties: the fixed strike and the floating strike. These options have payoffs that are the same as vanilla options except that in the floating strike option the vanilla exercise price is replaced by the maximum or minimum. In the fixed strike option it is the asset value in the vanilla option that is replaced by the maximum or minimum.

H(ST , JT) =          MT − ST, floating put, ST − mT, floating call (MT − K)+, fixed call, (K − mT)+, fixed put,

where JT denotes MT or mT and

(13)

Lookback options – cont.

Depending on the way the maximum or minimum is moni-tored we distinguish:

continuous monitoring – security price is monitored continuously between the issue and expiry of the option;

discrete monitoring – security price is monitored only in selected moments of time (say weekly or monthly).

The pair (St, Jt) is a Markov process, and the price at time

t of the lookback option is equal to V (t, St, Jt) where the function V is defined for t ∈ [0, T ] and (S, J) in an appropriate set depending whether J = M or J = m

(S, J) ∈

(

{(S, M ) ∈ R2+ : 0 ≤ S ≤ M }, for J = M ,

(14)

Lookback options – valuation

The value of a lookback option can be computed using an extended version of the Black-Scholes equation. We derive this equation assuming J = M.

Let Mn(t) =  Z t 0 Sτn1/n. We have lim n→∞ Mn(t) = max0≤τ ≤t Sτ = Mt.

Next we consider the function V (S, Mn, t), which can be think of as a price of an instrument depending on the vari-able Mn.

(15)

Black-Scholes equation

Using the Feynman-Kac theorem and the differential

dMn(t) = 1 n Stn Mn(t)n−1dt we obtain ∂V (S, Mn, t) ∂t + rS ∂V (S, Mn, t) ∂S + 1 n Sn Mnn−1 ∂V (S, Mn, t) ∂Mn + + 1 2σ 2S2 ∂2V (S, Mn, t) ∂S2 − rV (S, Mn, t) = 0. Computational Finance – p. 15

(16)

Black-Scholes equation – cont.

Since St ≤ max0≤τ ≤t Sτ = Mt then for S < M lim n→∞ 1 n Sn Mnn−1 = 0

and we obtain the Black-Scholes equation

∂V (S, M, t) ∂t +rS ∂V (S, M, t) ∂S + 1 2σ 2S2∂2V (S, M, t) ∂S2 −rV (S, M, t) = 0.

Observe that the above equation is the standard one-dimensional Black-Scholes equation in which the variable

M plays the role of a parameter. This parameter enters however into boundary and terminal conditions.

(17)

Black-Scholes equation – cont.

At expiry we have

V (S, M, T ) = H(S, M ).

We require a boundary condition on the line S = M. Con-sider the stochastic process St close to current maximum. Since the probability that the current maximum is still the maximum at expiry is zero, the option price must be insen-sitive to small changes of M when S is close to M. Hence

∂V (S, M, t)

∂M = 0 for S = M.

(18)

Black-Scholes equation – cont.

Additional boundary conditions depend on the type of the option.

For a floating put option we have

V (0, M, t) = Me−r(T −t).

For a floating call option we have boundary conditions as for a vanila option

V (S, m, t) ≈ S for S very large.

Observe that in all these cases we have to solve a 3-dimensional PDE.

(19)

Similarity reduction

For floating strike lookback options the 3-dimensional Black-Scholes equation can be reduced to 2 dimensions. We per-form all calculations for a floating put option.

We introduce the new variable x = MS . When the payoff can be written as (this is the case of the floating put and call)

H(S, M ) = M h(x),

then we search for a solution of the Black-Scholes equation assuming

V (S, M, t) = M W (x, t).

The equation for W has the form

∂W (x, t) ∂t + rx ∂W (x, t) ∂x + 1 2σ 2x2∂2W (x, t) ∂x2 − rW (x, t) = 0. Computational Finance – p. 19

(20)

Similarity reduction – cont.

The terminal and boundary conditions are as follows:

W (x, T ) = max(1 − x, 0), W (0, t) = e−r(T −t),

∂W

(21)

Asian options

For the basic Asian contracts, the payoff comes in two va-rieties: the average price and the average strike. These options have payoffs that are the same as vanilla options except that in the average strike option the vanilla exercise price is replaced by the average of asset prices. In the av-erage price option it is the asset value in the vanilla option that is replaced by the average of asset prices.

(S − K)b +, average price call, (K − S)b +, average price put, (ST − S)b +, average strike call, (S − Sb T )+, average strike put,

where bS denotes the average of asset prices.

(22)

Asian options – cont.

There are several ways the average of past values of St can be formated:

arithmetic average continuously monitored b

S = T1 R0T Stdt,

arithmetic average discretely monitored b

S = n1 Pni=1 Sti,

geometric average continuously monitored b

S = expT1 R0T log(St)dt,

geometric average discretely monitored Sb =

Qn

i=1 Sti

1/n

(23)

Asian options – cont.

Since for geometric average Asian options we have analytic expressions for the price, we are only interested in calcula-tion of arithmetic average Asian opcalcula-tion.

In what follows, we shall describe the PDE method for the calculation of an arithmetic average continuously monitored Asian option. This problem leads to a 3-dimensional Black-Scholes equation. For an arithmetic average continuously monitored Asian option this equation can be reduced to two dimensions and solved numerical by finite difference algo-rithms.

For an arithmetic average discretely monitored Asian op-tion we can use straightforwardly the known 2-dimensional Black-Scholes equation appropriately modifying initial con-ditions at the time of monitoring.

(24)

Asian options – valuation

The value of an arithmetic average continuously monitored Asian option can be computed using an extended version of the Black-Scholes equation.

Let us consider a generalized arithmetic average

At =

Z t 0

f (Sτ, τ )dτ,

where f (x, t) depends on the type of averaging (for a simple arithmetic average f (x, t) = x up to a constant factor).

The pair (St, At) is a Markov process, and the price at time t

of an arithmetic average Asian option is equal to V (t, St, At)

where the function V is defined for t ∈ [0, T ], St > 0 and

(25)

Black-Scholes equation

Using the Feynman-Kac theorem and the differential

dAt = f (St, t)dt we obtain ∂V (S, A, t) ∂t + rS ∂V (S, A, t) ∂S + f (S, t) ∂V (S, A, t) ∂A + + 1 2σ 2S2 ∂2V (S, A, t) ∂S2 − rV (S, A, t) = 0. Computational Finance – p. 25

(26)

Similarity reduction

We consider an arithmetic average strike call with payoff  ST − 1 T AT + = ST  1 − 1 T ST Z T 0 Sτdτ + .

This form of the payoff suggest introduction of an auxiliary variable Rt = 1 St Z t 0 Sτdτ.

Then the payoff is

ST  1 − 1 T RT + ,

and we can look for the factorization

(27)

Similarity reduction – cont.

The equation for H has the form

∂H(R, t) ∂t + (1 − rR) ∂H(R, t) ∂R + 1 2σ 2R2∂2H(R, t) ∂R2 = 0.

The terminal condition follows from the payoff

H(RT, T ) = 1 − 1

T RT

+ .

Since St is integrable, then, from the definition of Rt, for

R → ∞ we have S → 0. Remembering that for S → 0 call option is not exercised, we obtain

H(R, t) = 0 for R → ∞.

(28)

Similarity reduction – cont.

To obtain the boundary condition on the boundary R = 0 we return to the PDE which H fulfills. For R → 0 this equation gives

∂H(R, t) ∂t +

∂H(R, t)

∂R = 0 for R → 0.

Finally we obtain the following boundary value problem

∂H ∂t + (1 − rR) ∂H ∂R + 1 2σ 2R2 ∂2H ∂R2 = 0, H = 0 for R → ∞, ∂H ∂t + ∂H ∂R = 0 for R → 0, H(RT, T ) = 1 − 1 T RT + .

(29)

Numerical scheme

We solve the 2-dimensional Black-Scholes PDE of the pre-vious slides (barrier, lookback and options) without transfor-mation of variables. This approach is very usefull because the boundary conditions can be easily implemented.

The equation reads

∂u(x, t) ∂t + α(x) ∂u(x, t) ∂x + 1 2σ 2x2 ∂2u(x, t) ∂x2 − ρu(x, t) = 0,

with appropriate terminal and boundary conditions.

(30)

Finite difference approximation

Let vi,ν be an approximation of u(xi, tν) and ηi approximation of 2α(xi)

xi+1−xi −1

. Then

vi,ν−1 − vi,ν

δt = θAivi−1,ν−1 + θBivi,ν−1 + θCivi+1,ν−1+

+ (1 − θ)Aivi−1,ν + (1 − θ)Bivi,ν + (1 − θ)Civi+1,ν,

(2) where Ai = 1 2(σ 2i2 − η i), Bi = −(σ2i2 + ρ), Ci = 1 2(σ 2i2 + η i).

The choice of θ gives the explicit (θ = 0), the implicit (θ = 1) and the Crank-Nicolson (θ = 12) scheme.

(31)

Spurious oscillations

Numerical scheme (2), even if the grid is chosen properly to avoid instabilities, can be a subject of spurious oscillations.

(32)

Spurious oscillations – cont.

To understand the phenomenon of spurious oscillations let us consider a model equation

∂u ∂t + a ∂u ∂x = b ∂2u ∂x2.

The source of oscillations is the first order term a∂u∂x.

To see this let us perform the von Neumann stability analy-sis. To this end we approximate the above equation by finite differences wj,ν+1 − w ∆t + a wj+1,ν − wj−1,ν 2∆x = b wj+1,ν − 2w + wj−1,ν (∆x)2 .

(33)

Spurious oscillations – cont.

Let us express the approximations w of the ν-th time level by a sum of Fourier modes

w = X k

c(ν)k eikj∆x,

The linearity of the numerical scheme allows to find a rela-tion

c(ν+1)k = Gkc(ν)k ,

where Gk is the growth factor. For |Gk| ≤ 1 it is guaranteed that the modes eik∆x are not amplified.

(34)

Spurious oscillations – cont.

For the model equation we arrive at

Gk = 1 − 2λ + 2λ cos k∆x − iβλ sin k∆x

and |Gk|2 = (1 − 4λs2)2 + 4β2λ2s2(1 − s2), where λ = b∆t (∆x)2, β = a∆x b , s = sin k∆x 2 .

A straightforward analysis of the polynomial |Gk|2 reveals that |Gk| ≤ 1 for

0 ≤ λ ≤ 1

2, and, in addition, for β > 2 we need λβ

(35)

Spurious oscillations – cont.

The inequality 0 ≤ λ ≤ 1/2 brings back the stability criterion of the heat equation.

β is called a mesh Péclet number and corresponds to the ratio of the convection term a∂u∂x to the diffusion term b∂∂x2u2 in

the model equation.

It is clear that controlling oscillations means that β must be small.

(36)

Spurious oscillations for BS equation

Theorem In order to prevent the formation of spurious

oscillations in the numerical scheme (2), the following conditions must be satisfied

(xi − xi−1)2 x2i < σ2 ηi and 1 (1 − θ)δt > σ 2 x2i (xi+1 − xi)(xi − xi−1) + ρ.

(37)

Upwind scheme

The source of oscillations is the first order term a∂u∂x. Let us consider the model equation

∂u

∂t + a ∂u

∂x = 0.

The solution of this equation is F (x−at), where F (y) = u0(y)

is the initial condition for our equation u(x, 0) = u0(x).

For a > 0, we approximate the above equation by finite dif-ferences

wj,ν+1 − w

∆t + a

wj,ν − wj−1,ν

∆x = 0

This scheme is called upwind scheme.

(38)

Upwind scheme – cont.

To explain the name we return to the solution F (x − at).

As t increases the profile F (y) drifts in positive x-directions. We say that ”the wind blows to the right”.

In agreement with that ”blowing direction” we approximate the derivative

∂u ∂x ≈

wj,ν − wj−1,ν

∆x ,

i.e. the information flows from downstream to upstream nodes.

The stability analysis for this scheme gives

Gk = 1 − γ + γe−ik∆x,

(39)

Upwind scheme – cont.

For a < 0, the upwind scheme is

wj,ν+1 − w

∆t + a

wj+1,ν − wj,ν

∆x = 0.

The stability analysis for this scheme gives |Gk| ≤ 1 for |γ| ≤ 1.

References

Related documents

Můžeme tvrdit, že pokud se klasifikátor skládá ze slabých klasifikátorů, které mají chybu jen o něco málo menší než náhodná funkce, chyba na trénovací sadě

 National Grid Gas plc’s group financial statements and company financial statements (the “financial statements”) give a true and fair view of the state of the group’s and of

Abstract: OBJECTIVE The aim of this study was to evaluate the potential of contrast media (CM) reduction in computed tomography angiography (CTA) of coronary artery bypass

The purpose of this study is to investigate kinesiologists’ thoughts and perceptions regarding the CKO’s Practice Standards, Guidelines and Code of Ethics, and their level of ethical

Three user parameters such as number of iterations (I), threshold value (T) and decreasing rate (R) of threshold value in each iteration are searched in a

Additionally, mosquito species richness and community composition varied with SEF in San Juan with lower SES neighborhoods having higher richness; Aedes aegypti abundance showed

Wakefield Schools need enthusiastic, committed volunteers to become governors and support and challenge school leaders to provide the best possible education for the children and