Computational Finance Binomial Trees - School of ...pjohnson/resources/math60082/lecture... ·...
Transcript of Computational Finance Binomial Trees - School of ...pjohnson/resources/math60082/lecture... ·...
Computational FinanceBinomial Trees
Dr P. V. Johnson
School of Mathematics
2018
Dr P. V. Johnson MATH60082
Monte Carlo Methods
Simple to program and to understand
Convergence is slow, extrapolation impossible.
Forward looking method ideal for path dependentderivatives
Computational effort increases linearly in multiple sourcesof uncertainty
Dr P. V. Johnson MATH60082
The fundamental theorem of asset pricing
If there are no arbitrage opportunities and markets are completethen there exists a unique, risk-neutral, pricing measure.
As such we can write the value of an option at time t, Vt, as
V0 = e−rTEQ[VT ]
where r is the continuously compounded interest rate.
We can apply the same argument for multiple time steps
Dr P. V. Johnson MATH60082
The fundamental theorem of asset pricing
If there are no arbitrage opportunities and markets are completethen there exists a unique, risk-neutral, pricing measure.
As such we can write the value of an option at time t, Vt, as
V0 = e−rTEQ[VT ]
where r is the continuously compounded interest rate.
We can apply the same argument for multiple time steps
Dr P. V. Johnson MATH60082
A one step tree
Assume a three asset world with:
a Bond, Bt,a Stock, St
and a call option Ct,
where interest rates are continuously compounded
risk neutral probability of the up and down statesoccurring are q and (1− q) then we have
Dr P. V. Johnson MATH60082
A one step tree
Basic binomial set up
• If we have a three asset world with a Bond, Bt, a Stock, St and a
call option Ct, where interest rates are continuously
compounded and the risk neutral probability of the up and down
states occurring are q and (1-q) then we have
B0 = 1
BT = erT
BT = erT
S0 = s
ST = us
ST = ds
C0 = ?
CT = max(us – X, 0)
CT = max(ds – X, 0)
q
1-q
1-q
q
Dr P. V. Johnson MATH60082
How to find the option value?
From the fundemental theory of finance the price of thecall option is
C0 = e−rT [qmax(uS −X, 0) + (1− q) max(dS −X, 0)]
So in order to find C0 we need to find q, u and d
We will do this by first matching the return on the stock tothe return on a bond
and then match the variance of the stock to that from data.
Dr P. V. Johnson MATH60082
How to find the option value?
From the fundemental theory of finance the price of thecall option is
C0 = e−rT [qmax(uS −X, 0) + (1− q) max(dS −X, 0)]
So in order to find C0 we need to find q, u and d
We will do this by first matching the return on the stock tothe return on a bond
and then match the variance of the stock to that from data.
Dr P. V. Johnson MATH60082
Determining q, u and d
As the probabilities are risk neutral, match return on thestock to that of the bond,
qsu+ (1− q)sd = serT
qu+ (1− q)d = erT
Next, match the variance of our returns to the data.
Under the continuous risk-neutral model we have
dS = rSdt+ σSdX
ST = s exp[(r − 12σ
2)T + σ√Tφ]
Dr P. V. Johnson MATH60082
Determining q, u and d
As the probabilities are risk neutral, match return on thestock to that of the bond,
qsu+ (1− q)sd = serT
qu+ (1− q)d = erT
Next, match the variance of our returns to the data.
Under the continuous risk-neutral model we have
dS = rSdt+ σSdX
ST = s exp[(r − 12σ
2)T + σ√Tφ]
Dr P. V. Johnson MATH60082
Determining q, u and d
We can show that the variance for the continuous case is:
var[ST ] = s2 exp[(2r + σ2)T ]− s2e2rT
and in the binomial case
var[ST ] = s2(qu2 + (1− q)d2)− (qsu+ (1− q)sd)2
So the second equation to satisfy is
e(2r+σ2)T = qu2 + (1− q)d2
Dr P. V. Johnson MATH60082
Popular Models
Cox, Ross and Rubinstein (1979) set:
ud = 1
thus
u = eσ√T , d = e−σ
√T , q =
erd − du− d
Rendleman and Bartter (1979) choose:
q =1
2
and so
u = e(r−12σ
2)T+σ√T , d = e(r−1
2σ2)T−σ
√T .
Dr P. V. Johnson MATH60082
Valuing a European option
So now we have expressions for u, d and q whichapproximate the continuous lognormal distribution.
There are other ways to construct the tree if the underlyingasset follows a different stochastic process.
Now we turn our attention to valuing a European calloption.
Assume initial asset price S0,the time to expiry is T with N time steps,the size of the time-step ∆t = T/Nthe risk-free rate is r and the volatility is σ,the exercise price of the option is X
Dr P. V. Johnson MATH60082
If we denote the value of the underlying asset aftertimestep i and upstate j by Sij and the option price by Vijthen we have that:
Sij = S0ujdi−j
VNj = max(S0ujdN−j −X, 0)
Vij = e−r∆t(qVi+1,j+1 + (1− q)Vi+1,j) for i < N
where q, u and d are selected according to your preferredmodel (CRR or alternative).
Dr P. V. Johnson MATH60082
Example - A three step tree
Consider a European call option where S0 = 100, X = 100,T = 1, r = 0.06, σ = 0.2.
Choosing the CRR tree we have
u = eσ√
∆t = 1.1224
d = e−σ√
∆t = 0.8909
q =er∆t − du− d
= 0.5584
Next we show the calculation of the European call optionprice using 3 time steps, where we end up with an optionvalue of $11.55.
Dr P. V. Johnson MATH60082
Example - A three step tree
Consider a European call option where S0 = 100, X = 100,T = 1, r = 0.06, σ = 0.2.
Choosing the CRR tree we have
u = eσ√
∆t = 1.1224
d = e−σ√
∆t = 0.8909
q =er∆t − du− d
= 0.5584
Next we show the calculation of the European call optionprice using 3 time steps, where we end up with an optionvalue of $11.55.
Dr P. V. Johnson MATH60082
Example - A three step tree
t=0 t =1/3 t = 2/3 t = 1
V3,3 = 41.398
S3,3 = 141.40
V0,0 = 11.552
S0,0 = 100.00
V3,2 = 12.24
S3,2 = 112.24
V3,1 = 0
S3,1 = 89.094
V3,0 = 0
S3,0 = 70.722
V2,1 = 6.700
S2,1 = 100
V2,0 = 0
S2,0 = 79.379
V2,2 = 27.959
S2,2 = 125.98
V1,0 = 3.6675
S1,0 = 89.095
V1,1 = 18.204
S1,1 = 112.24
Dr P. V. Johnson MATH60082
American Option
American options are call (put) options where it is possibleto exercise early
The problem is a free boundary or optimal stoppingproblem where the current option value Vt is given by
Vt = maxτ
EQt [e−r(τ−t)Payoff(Sτ )]
where τ denotes the continuum of possible stopping times.
NOTE: This representation is not particularly useful whenattempting to value the option.
Dr P. V. Johnson MATH60082
The option to hold
Obviously any rational investor would only exercise if thevalue from exercising is greater than the value from notexercising, i.e. holding the option for one more period.
Binomial lattices are calculated backwards from expiry so
we already know the value of holding the option until thenext period (the continuation value)we know the early exercise value (the payoff from theoption).
American options are a straight forward adaptation ofEuropean
Dr P. V. Johnson MATH60082
The option to hold
Obviously any rational investor would only exercise if thevalue from exercising is greater than the value from notexercising, i.e. holding the option for one more period.
Binomial lattices are calculated backwards from expiry so
we already know the value of holding the option until thenext period (the continuation value)we know the early exercise value (the payoff from theoption).
American options are a straight forward adaptation ofEuropean
Dr P. V. Johnson MATH60082
The algorithm
Let us write the the continuation (or hold) value, as Vhij
the early exercise value as Vxij
then the algorithm to determine Vij is
Vij = Payoff(SNj) for t = T
Vhij = e−r∆t(qVi+1,j+1 + (1− q)Vi+1,j) for t < T
Vxij = Payoff(Sij) for t < T
Vij = max(Vhij , Vxij) for t < T
Dr P. V. Johnson MATH60082
The algorithm
Let us write the the continuation (or hold) value, as Vhij
the early exercise value as Vxij
then the algorithm to determine Vij is
Vij = Payoff(SNj) for t = T
Vhij = e−r∆t(qVi+1,j+1 + (1− q)Vi+1,j) for t < T
Vxij = Payoff(Sij) for t < T
Vij = max(Vhij , Vxij) for t < T
Dr P. V. Johnson MATH60082
Example - 3 step American tree
Consider an American put option where S0 = 100,X = 100, T = 1, r = 0.06, σ = 0.2.
Choosing the CRR tree we have
u = eσ√
∆t = 1.1224
d = e−σ√
∆t = 0.8909
q =er∆t − du− d
= 0.5584
Next we show the calculation of the American put.
The nodes in red denote that the holder of the optionexercised early.
Dr P. V. Johnson MATH60082
Example - 3 step American tree
t=0 t =1/3 t = 2/3 t = 1
V3,3 = 0.000
Vx,3,3 = -41.4
Vh,3,3 = 0.000
S3,3 = 141.40
V0,0 = 6.099
Vx,0,0 = 0.00
Vh,0,0 = 6.099
S0,0 = 100.00
V3,2 = 0.000
Vx,3,2 = -12.2
Vh,3,2 = 0.000
S3,2 = 112.24
V3,1 = 10.90
Vx,3,1 = 10.90
Vh,3,1 = 0.000
S3,1 = 89.09
V3,0 = 29.28
Vx,3,0 = 29.28
Vh,3,0 = 0.000
V3,0 = 70.72
V2,1 = 4.7199
Vx,2,1 = 0.00
Vh,2,1 = 4.720
S2,1 = 100.0
V2,0 = 20.62
Vx,2,0 = 20.62
Vh,2,0 = 18.64
S2,0 = 79.38
V2,2 = 0.000
Vx,2,2 = -26.0
Vh,2,2 = 0.000
S2,2 = 125.98
V1,0 = 11.509
Vx,1,0 = 10.91
Vh,1,0 = 11.51
S1,0 = 89.094
V1,1 = 2.043
Vx,1,1 = -12.2
Vh,1,1 = 2.043
S1,1 = 112.24
Dr P. V. Johnson MATH60082
Notes on the American option
For American call options with no dividends it is neveroptimal to exercise early.
From the lattice we can determine the early exercise region,as the
set of points S and t for which you would exercise early
Technically what we have evaluated here is a Bermudanoption, which is an American option that can only beexercised on certain specified dates.
In the limit of more and more observation dates we willapproach the American option price.
Dr P. V. Johnson MATH60082
Notes on the American option
For American call options with no dividends it is neveroptimal to exercise early.
From the lattice we can determine the early exercise region,as the
set of points S and t for which you would exercise early
Technically what we have evaluated here is a Bermudanoption, which is an American option that can only beexercised on certain specified dates.
In the limit of more and more observation dates we willapproach the American option price.
Dr P. V. Johnson MATH60082
Dividend paying assets
The fundamental theorem of finance does not directlyapply to dividend paying assets.
If St is the value of an asset at time t which pays out acontinuously compounded dividend yield, δ, then considera new asset X which is defined as
X0 = e−δtS0
at time t the S0 will have grown to Steδt and so Xt = St.
Thus it will be possible to replicate the value of an optionexpiring at time t by holding e−δt of the underlying asset.
Dr P. V. Johnson MATH60082
Dividend paying assets
Thus by the fundamental theorem of finance it will be Xwhich is priced under the risk-neutral measure given aknown future asset price St thus:
X0 = e−rtEQ0 [St]
and so
S0 = e−(r−δ)tEQ0 [St]
Dr P. V. Johnson MATH60082
Example - continuous dividends
We need new values of u and d where
E[ST ] = s exp[(r − δ)T ]
E[(ST )2] = s2 exp[(2(r − δ) + σ2)T ]
and using CRR gives:
u = eσ√
∆t, d = e−σ√
∆t, q =e(r−δ)∆t − d
u− d
Thus if we consider the American put option only nowwhen δ = 0.03 we see that the theoretical price is now $7.32
Dr P. V. Johnson MATH60082
t=0 t =1/3 t = 2/3 t = 1
V3,3 = 0.000
Vx,3,3 = -41.4
Vh,3,3 = 0.000
S3,3 = 141.40
V0,0 = 7.159
Vx,0,0 = 0.00
Vh,0,0 = 7.159
S0,0 = 100.00
V3,2 = 0.000
Vx,3,2 = -12.2
Vh,3,2 = 0.000
S3,2 = 112.24
V3,1 = 10.90
Vx,3,1 = 10.90
Vh,3,1 = 0.000
S3,1 = 89.09
V3,0 = 29.28
Vx,3,0 = 29.28
Vh,3,0 = 0.000
V3,0 = 70.72
V2,1 = 5.189
Vx,2,1 = 0.00
Vh,2,1 = 5.189
S2,1 = 100.0
V2,0 = 20.62
Vx,2,0 = 20.62
Vh,2,0 = 19.43
S2,0 = 79.38
V2,2 = 0.000
Vx,2,2 = -26.0
Vh,2,2 = 0.000
S2,2 = 125.98
V1,0 = 12.43
Vx,1,0 = 10.91
Vh,1,0 = 12.43
S1,0 = 89.094
V1,1 = 2.469
Vx,1,1 = -12.2
Vh,1,1 = 2.469
S1,1 = 112.24
Dr P. V. Johnson MATH60082
Example - discrete dividends
Perhaps a more realistic case is when there is a knowndiscrete dividend payment at a certain point in time. Inour example, imagine there is a known dividend, payableafter 2/3 of a year which is 3% of the share price.
Here the fundamental theorem will hold from period toperiod and our values of u, d and q will remain the same asfor the no dividend case but at t = 2/3, S2j → 0.97× S2j
This is depicted in the worked example next:
Dr P. V. Johnson MATH60082
t=0 t =1/3 t = 2/3 Pre Div t = 2/3 Post Div t=1
V3,3 = 0.000
Vx,3,3 = -37.2
Vh,3,3 = 0.000
S3,3 = 137.16
V0,0 = 7.094
Vx,0,0 = 0.00
Vh,0,0 = 7.094
S0,0 = 100.00
V3,2 = 0.000
Vx,3,2 = -8.87
Vh,3,2 = 0.000
S3,2 = 108.87
V3,1 = 13.58
Vx,3,1 = 13.58
Vh,3,1 = 0.000
S3,1 = 86.42
V3,0 = 31.40
Vx,3,0 = 31.40
Vh,3,0 = 0.000
S3,0 = 68.60
V2,1 = 5.877
Vx,2,1 = 0.00
Vh,2,1 = 5.877
S2,1 = 100.0
V2,0 = 23.00
Vx,2,0 = 20.62
Vh,2,0 = 23.00
S2,0 = 79.38
V2,2 = 0.000
Vx,2,2 = -26.0
Vh,2,2 = 0.000
S2,2 = 125.98
V1,0 = 13.172
Vx,1,0 = 10.91
Vh,1,0 = 13.17
S1,0 = 89.09
V1,1 = 2.544
Vx,1,1 = -12.2
Vh,1,1 = 2.544
S1,1 = 112.24V2,2 = 0.000
Vx,2,2 = -22.2
Vh,2,2 = 0.000
S2,2 = 122.20
V2,1 = 5.877
Vx,2,1 = 3
Vh,2,1 = 5.877
S2,1 = 97.0
V2,0 = 23.00
Vx,2,0 = 23.00
Vh,2,0 = 21.02
S2,0 = 77.00
Bold figures denote value if held until after the
dividend date
Dr P. V. Johnson MATH60082
Summing up dividends
Non-proportional cash dividends can be problematic as thisleads to a non-recombining tree .
This leads to a large increase in the computational effort.
There is an adjustment for European options but this isnot of great practical use as Black-Scholes can be usedquite simply in the European case.
In American option cases the simplest approach is to useinterpolation.
Dr P. V. Johnson MATH60082
Summary
We have developed a multistep binomial lattice which willapproximate the value of a European or American calloption when the underlying asset pays out dividends.
The construction comes from an extension to thefundamental theorem of finance and you have a choice ofparameters which are typically chosen to fit the binomialdistribution to the Black-Scholes lognormal distribution.
The most useful outcome is the ability to price Americanoptions easily.
Dr P. V. Johnson MATH60082