• No results found

Numerical methods for American options

N/A
N/A
Protected

Academic year: 2021

Share "Numerical methods for American options"

Copied!
36
0
0

Loading.... (view fulltext now)

Full text

(1)

Lecture 9

Numerical methods for American options

Lecture Notes

by Andrzej Palczewski

(2)

American options

The holder of an American option has the right to exercise it at any moment up to maturity. If exercised at t

an American call option has the payoff (St − K)+, an American put option has the payoff (K − St)+.

Theorem. If the underlying does not pay dividends, the price of an American call option with maturity T and exercise price K is equal to the price of a European call option with exercise price K expiring at T.

Important! It is only true if there are no dividends. Above theorem does not apply for options on the foreign exchange market and on stock indices.

(3)

American instruments

Definition. American type instrument with maturity T and payoff function f is a contingent claim that can be exercised at any moment up to T. Its payoff at t equals

f(St, t).

Theorem. The price of an American claim at time t can be written as V (St, t)

for some function V : (0, ∞) × [0, T ] → R.

(4)

Properties

V (St, t) is the price of the instrument at t, so it values future payoffs from the instrument.

f(St, t) is the payoff of the instrument if it is exercised at t.

At the terminal time T

V (s, T ) = f (s, T ), s > 0.

To preclude arbitrage

V (s, t) ≥ f (s, t), (s, t) ∈ (0, ∞) × [0, T ].

(5)

If the inequality is strict, i.e. V (s, t) > f (s, t), the holder should not exercise the option. Because it is more profitable to sell the option for V (s, t) than to exercise it for f(s, t).

If V (s, t) = f (s, t), it is optimal to exercise the option immediately. By holding it, the holder risks loosing money.

General rule. The holder should exercise the option as soon as V (St, t) = f (St, t).

(6)

American option PDE

Up to the exercise of the option, its price forms a value process of the

replicating strategy. It is therefore a martingale with respect to the risk-neutral measure. Applying Itô’s formula gives

dVt = d V (St, t) =



σSt∂V (St, t)

∂s



dWt+ +



rSt∂V (St, t)

∂s + 1

2σ2St2 2V (St, t)

∂s2 − rV (St, t) + ∂V (St, t)

∂t

 dt.

This process is a martingale if and only if the term by dt is zero.

(7)

Until the optimal exercise we have rs∂V (s, t)

∂s + 1

2σ2s2 2V (s, t)

∂s2 − rV (s, t) + ∂V (s, t)

∂t = 0.

And of course, we have V (s, t) > f (s, t).

At the optimal exercise moment, we have V (s, t) = f (s, t),

and

rs∂V (s, t)

∂s + 1

2σ2s2 2V (s, t)

∂s2 − rV (s, t) + ∂V (s, t)

∂t ≤ 0.

The inequality in the second formula comes from the fact that V (s, t) may not represent the value process of some strategy after the optimal exercise

moment.

(8)

Free-boundary problem

We summarize our findings in the following system of equations and inequalities called the free-boundary problem

V (s, t) ≥ f (s, t)

1

2σ2s2 ∂2V∂s(s,t)2 + rs∂V∂s(s,t) − rV (s, t) + ∂V∂t(s,t) ≤ 0

V (s, t) = f (s, t) or 12σ2s2 ∂2V∂s(s,t)2 + rs∂V∂s(s,t) − rV (s, t) + ∂V∂t(s,t) = 0

boundary conditions...

The “free-boundary” is the set of points where V (s, t) = f (s, t). In these points the system is not governed by the equation with partial derivatives.

(9)

Boundary conditions

Boundary conditions for the American put option:

Terminal condition

V (s, T ) = (K − s)+. Left-boundary condition

s→0lim V (s, t) = K.

Right-boundary condition

s→∞lim V (s, t) = 0.

(10)

Complete free-boundary problem

For s > 0, t ∈ [0, T ]:

V (s, t) ≥ (K − s)+

1

2σ2s2 ∂2V∂s(s,t)2 + rs∂V∂s(s,t) − rV (s, t) + ∂V∂t(s,t) ≤ 0

V (s, t) = (K − s)+ or 12σ2s2 ∂2V∂s(s,t)2 + rs∂V∂s(s,t) − rV (s, t) + ∂V∂t(s,t) = 0

V (s, T ) = (K − s)+ lims→0 V (s, t) = K lims→∞ V (s, t) = 0

(11)

Simple example

We compute the price of an American put option by a simple numerical method.

First we make the following change of variables (the same as for the Black-Scholes PDE)

x := log s + (r − 1

2σ2)(T − t), τ := σ2

2 (T − t), y(x, τ ) := e−r(T −σ2 )V



ex−(σ22r −1)τ, T σ2

 ,

where x ∈ R and τ h

0, σ22Ti .

(12)

Transformation of the problem

y(x, τ ) ≥ e−r(T −σ2 )



K − ex−(σ22r −1)τ

+

,

∂y

∂τ (x, τ ) − ∂x2y2(x, τ ) ≥ 0,

y(x, τ ) = e−r(T −σ2 )



K − ex−(σ22r −1)τ

+

or ∂y∂t (x, τ ) − ∂x2y2(x, τ ) = 0,

y(x, 0) = e−rT(K − ex)+,

limx→−∞ y(x, τ ) = Ke−r(T −σ2 ), limx→∞ y(x, τ ) = 0.

(13)

Numerical method

Grid

x ∈ (−∞, ∞), τ ∈ [0, 12σ2T]

discretization of time τ: δτ = 12σN2T

τν := ν · δτ for ν = 0, 1, . . . , N discretization of space x

xmin, xmax

δx = xmax − xmin

M

xi := xmin + i · δx for i = 0, 1, . . . , M wi,ν denotes the approximation of y(xi, τν)

(14)

Finite differences

We use explicit method (this is important !).

The consequence is a small time step for the algorithm to be stable.

(15)

In the node (xi, τν+1) the expression

u1 = λwi−1,ν + (1 − 2λ)wi,ν + λwi−1,ν,

where λ = (δx)δτ 2, approximates the value of y(xi, τν+1) in the case of no exercise.

If this value is smaller than the payoff from the exercise u2 = e−r(T −2τν+1σ2 )

K − exi−(σ22r −1)τν+1+

then it is optimal to exercise immediately and wi,ν+1 = u2. This is written concisely as

wi,ν+1 = max



λwi+1,ν + (1 − 2λ)wi,ν + λwi−1,ν, e−r(T −2τν+1σ2 )

K − exi−(σ22r −1)τν+1+  .

(16)

Algorithm for an American put option

' $

Input: xmin, xmax, M, N, K, T and the parameters of the model

δτ = σ2N2T , δx = xmaxM−xmin

Calculate τν, ν = 0, 1, . . . , N, and xi, i = 0, 1, . . . , M For i = 0, 1, . . . , M

wi,0 = e−rT(K − exi)+ For ν = 0, 1, . . . , N − 1

w0,ν+1 = Ke−r(T −2τν+1σ2 ) wM,ν+1 = 0

For i = 1, 2, . . . , M − 1

u1 = λwi+1,ν + (1 − 2λ)wi,ν + λwi−1,ν u2 = e−r(T −2τν+1σ2 )

K − exi−(σ22r −1)τν+1+ wi,ν+1 = max(u1, u2)

Output: wi,ν for i = 0, 1, . . . , M, ν = 0, 1, . . . , N

(17)

General American instrument

For a general American instrument we return to original variables only making the change of time t 7→ τ = T − t.

A general American instrument is characterized by a pay-off function g(s, τ ).

The free-boundary problem for this instrument is given by

∂V (s,τ )

∂τ − rs∂V∂s(s,τ ) 12σ2s2 ∂2V∂s(s,τ )2 + rV (s, τ )

V (s, τ ) − g(s, τ )= 0, V (s, τ ) − g(s, τ ) ≥ 0,

∂V(s,τ )

∂τ − rs∂V∂s(s,τ ) 12σ2s2 ∂2V∂s(s,τ )2 + rV (s, τ ) ≥ 0, V (s, 0) = g(s, 0),

lims→+∞ V (s, τ ) = lims→+∞ g(s, τ ).

lims→0 V (s, τ ) = lims→0 g(s, τ ).

This problem is also called the linear complementarity problem for the American instrument defined by a pay-off function g(s, τ ).

(18)

Penalty method

There are many numerical methods which solve the linear complementarity problem (LCP). We present here the method called the penalty method.

This method is simple and efficient (this is particularly visible for more

complicated instruments like barrier options). On the other hand the method is only first order (slow convergence).

The basic idea of the penalty method is simple. We replace the linear complementarity problem by the nonlinear PDE

∂V (s, τ )

∂τ = rs∂V (s, τ )

∂s + 1

2σ2s22V (s, τ )

∂s2 − rV (s, τ ) + ρ max g(s, τ ) − V (s, τ ) where, in the limit as the positive penalty parameter ρ → ∞, the solution

satisfies V − g ≥ 0.

(19)

Finite difference approximation

We use the same grid as for the Black-Scholes equation with Vin denoting an approximation to V (si, τn) and gin an approximation to g(si, τn).

The nonlinear PDE for the penalty method becomes in the discrete version Vin+1 − Vin =

(1 − θ)



∆τ X

j=i±1

ij + βij) Vjn+1 − Vin+1 − r∆τVin+1



+ θ



∆τ X

j=i±1

ij + βij) Vjn − Vin − r∆τVin



+ Pin+1 gin+1 − Vin+1 ,

where the choice of θ gives the implicit (θ = 0) and the Crank-Nicolson = 12) scheme.

(20)

Finite difference approximation – cont.

Coefficients from the previous slide are as follows:

Pin+1 =

ρ, for Vin+1 < gin+1, 0, otherwise,

γij = σ2s2i

|sj − si| (si+1 − si−1),

βij =

rsi(j−i)

si+1−si−1, for σ2si + r(j − i)|sj − si| > 0,

 2rsi(j−i) si+1−si−1

+

, otherwise,

where j = i ± 1 and ρ is a penalty factor (a large positive number).

(21)

Finite difference approximation – cont.

The numerical algorithm can be written in the concise form

I + (1 − θ)∆τ M + P (V n+1)V n+1 = (I − θ∆τ M )V n + P (V n+1)gn+1, where V n is a vector with entries Vin and gn a vector with entries gin,

[M V n]i = −



X

j=i±1

ij + βij) Vjn − Vin − rVin



and P(V n) is a diagonal matrix with entries

[P (V n)]i,i =

ρ, for Vin < gin, 0, otherwise.

(22)

Finite difference approximation – cont.

Matrix M has the property of strict diagonal dominance. It has positive diagonal and non-positive off-diagonals with diagonal entries strictly

dominating sum of absolute values of off-diagonal entries. This property of M is essential for the convergence of the method and is visible from the

structure of the upper left corner of the matrix

M = 0 B B

@

r + γ12 + β12 −γ12 − β12 0 . . .

−γ21 − β21 r + γ21 + β21 + γ23 + β23 −γ23 − β23 . . .

. . . . . . . . . . . .

1 C C A

,

Note that in the vector on the right hand side (I − θ∆τ M )V n the first and the last elements have to be modified to take into account the boundary

conditions.

(23)

Convergence

Theorem.

Let us assume that

γij + βij ≥ 0, 2 − θ



∆τ X

j=i±1

ij + βij) + r∆τ



≥ 0,

∆τ

∆s < const.

∆τ, ∆s −→ 0, where ∆s = mini (si+1 − si).

(24)

Convergence – cont.

Then the numerical scheme for the LCP from the previous slides solves

∂V (s, τ )

∂τ − rs∂V (s, τ )

∂s 1

2σ2s2 2V (s, τ )

∂s2 + rV (s, τ ) ≥ 0, Vin+1 − gin+1 ≥ −C

ρ , C > 0,

 ∂V (s, τ )

∂τ − rs∂V (s, τ )

∂s 1

2σ2s22V (s, τ )

∂s2 + rV (s, τ ) = 0





|Vin+1 − gin+1| ≤ C ρ

 ,

where C is independent of ρ, ∆τ and ∆S.

(25)

Iterative solution

Since we get a nonlinear equation for V n+1 it has to be solved by iterations.

We shall use here the simple iteration method.

Let (V n+1)(k) be the k-th estimate for V n+1. For notational convenience, we write

V (k) ≡ (V n+1)(k) and P(k) ≡ P (V n+1)(k).

If V (0) = V n, then we have the following algorithm of Penalty American Constraint Iteration.

(26)

Algorithm

' $

Input: V n, tolerance tol.

V (0) = V n

For k = 0, . . . until convergence solve

`I + (1− θ)∆τ M + P(k))´V (k+1) = (I − θ∆τ M )Vn + P(k)gn+1. If

maxi

|Vi(k+1)−Vi(k)|

max(1,|Vi(k+1)|) < tol or

P(k+1) = P(k) quit.

V n+1 = V (k+1)

Output: V n+1

(27)

Convergence of iterations

Theorem.

Let

γij + βij ≥ 0, then

the nonlinear iteration converges to the unique solution to the

numerical algorithm of the penalized problem for any initial iterate V (0);

the iterates converge monotonically, i.e., V (k+1) ≥ V (k) for k ≥ 1;

the iteration has finite termination; i.e. for an iterate sufficiently close to the solution of the penalized problem, convergence is ob- tained in one step

(28)

Size of ρ

In theory, if we are taking the limit as ∆s, ∆τ → 0, then we should have ρ = O

 1

min (∆s)2,(∆τ )2

 .

This means that any error in the penalized formulation tends to zero at the same rate as the discretization error. However, in practice it seems easier to specify the value of ρ in terms of the required accuracy. Then we should take

ρ 1 tol.

(29)

Speed up iterates convergence

Although the simple iterates converge to the solution of the nonlinear problem its speed of convergence is rather slow.

To make the convergence more rapid we can use the Newton iterates. This requires to write the nonlinear equation in the form F(x) = 0 and solve the iterative procedure

xk+1 = xk − F(xk)−1F(xk), where F(x) is the Jacobian of F.

In the penalty method algorithm the only nonlinear term which requires differentiation in order to obtain F is Pin. Unfortunately, this term is

discontinuous. A good convergence can be obtained when we define the derivative of the penalty term as

∂Pin+1(gin+1 − Vin+1)

∂Vin+1 =

−ρ, for Vin+1 < gin+1, 0, otherwise.

(30)

American call option

Solving linear complementarity problem for an American call option we have to impose a boundary condition on artificial boundary Smax. Let us recall that for an Europen call option the suggested boundary condition is



Smax − Ke−r(T −t)+

or for a stock paying dividend of constant rate d



Smaxe−d(T −t) − Ke−r(T −t)+

.

Due to the early exercise possibility for an American call option the boundary condition on artificial boundary Smax should be



Smax − K+

.

(31)

American call option – cont.

For large Smax and r > 0 we have

Smax − K+

< 

Smax − Ke−r(T −t)+

.

Hence for large S, the price of an American call option is smaller than the price of an European call option, which contradicts the theorem that these prices are equal.

The problem comes from the replacement of an original boundary condition for S → ∞ by a condition at artificial boundary Smax. To avoid the problem we should impose the following boundary condition at Smax

max



Smax − K+

,

Smaxe−d(T −t) − Ke−r(T −t)+ .

(32)

American barrier options

Contrary to European barrier options for American barrier options we do not have in-out parity. In general, the sum of prices of knock-in and knock-out options is not equal to the price of the corresponding American vanilla option.

Let

τX(D) = inf{t ≤ T : St ≤ X} τX(U ) = inf{t ≤ T : St ≥ X}

be the first time the price of the underlying asset falls below (rise above) the barrier X. Then for options with payoff g(St, t) we have

sup

τ1∈T0,T

Eh

e−rτ1g(Sτ1, τ1)11

1X(·)}

i + sup

τ2∈T0,T

Eh

e−rτ2g(Sτ2, τ2)11

2X(·)}

i sup

τ3∈T0,T

Eh

e−rτ3g(Sτ3, τ3)i

and the equality holds only when all stopping times τ1, τ2 and τ3 are equal.

(33)

American knock-in options

Down-and-in option.

The option condition is: when the asset price St falls below X the holder of the option receives an American vanilla option, with maturity date T and strike price K.

To price that option we consider only the interval [X, +∞). In this interval there is no early exercise possibility and we gave an European option which fulfils the Black-Scholes equation

∂V (S, t)

∂t + rS∂V (S, t)

∂S + 1

2σ2S2 2V (S, t)

∂S2 − rV (S, t) = 0.

with terminal condition

V (S, T ) = 0 for S > X.

and boundary conditions

V (S, t) → 0 as S → ∞, V (X, t) = C(X, t),

(34)

American knock-in options – cont.

Up-and-in option.

The option condition is: when the asset price St rises above X the holder of the option receives an American vanilla option, with maturity date T and

strike price K.

We price the option in the interval [0, X]. In this interval there is no early exercise possibility and we gave an European option which fulfils the Black-Scholes equation with terminal condition

V (S, T ) = 0 for S < X.

and boundary conditions

V (S, t) → 0 as S → 0, V (X, t) = C(X, t),

(35)

American knock-out options

These options are options with early exercise provision. Terminal conditions are as for American vanila options modified by limitations coming from

boundary conditions.

Boundary conditions:

Down-and-out option

V (S, t) = h(X, t), 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) = h(X, t), for S = X.

Here h(X, t) is a payoff function on barrier X (see the next slide).

(36)

American knock-out options – cont.

From both financial and mathematical point of view, payoff function h(X, t) is equal to zero.

But before the stock price crosses the trigger X, the American option is

active and its price must be no less than the option’s payoff function g(St, t) ((St − K)+ for call option and (K − St)+ for put option). Hence, up to the barrier the price of the option must be bounded from below by the payoff function g(St, t).

Assuming h(X, t) = 0 will create a jump on the barrier since before the stock price crosses the trigger X the price V (S, t) ≥ g(S, t). If the option price is continuous up to the barrier then we shall get V (X, t) ≥ g(X, t). That

suggests to take as the payoff function on the barrier h(X, t) = g(X, t).

This choice does not change the resulting price V (S, t) but has obvious

numerical adventage: we do not solve a problem with jumps on a boundary.

As a result we obtain a numerical algorithm which is more stable (jumps on a boundary can create oscillations in numerical solutions).

References

Related documents

Third, an out-option paired with an in-option with the same barrier can be used to change the underlying, strike, or maturity of a vanilla option at the first hitting time of a

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

Option buyer (holder, long in Right to buy stock at strike Right to sell stock at strike (holder, long in options) stock at strike price stock at strike price Option seller

– current price of underlying asset: spot, futures, forward – strike (exercise): price at which transaction occurs – (option) premium: the option’s price itself2. • Price

• Investor makes a profit if the stock price at the expiration of the short-maturity option is close to the strike price of the short-maturity option.. • Investor loses money when

• Put Option: The right, but not the obligation, to sell an asset at a specified exercise (or, strike) price on or before a specified date.. • Exercise or Strike Price: Price

The strike price, or exercise price, of an option is the specified share price at which the shares of stock can be bought or sold by the holder, or buyer, of the option contract if

European call option: a contract that gives the holder the right (but not the obligation) to buy the underlying asset for the (strike) price K at (maturity) time T (K; T speci ed in