Monte Carlo and Early Exercise: Alessandro Gnoatto
Monte Carlo and Early Exercise: Alessandro Gnoatto
Alessandro Gnoatto
05.05.2021
Early Exercise
Perhaps the biggest challenge for Monte Carlo methods is the accurate
and efficient pricing of options with optional early exercise:
Bermudan options: can exercise at a finite number of times tj
American options: can exercise at any time The challenge is to
find/approximate the optimal strategy (i.e. when to exercise) and
hence determine the price and Greeks.
Early Exercise
Problem Formulation
Vem (x) = h
em (x)
⇣ h i⌘
e
Vi 1 (x) = max h ei e
1 (x), E Di 1,i Vi (Xi ) | Xi 1 =x
where
Xi is the underlying at exercise time ti
Ṽi (x) is option value at time ti assuming not previously exercised
ei (x) is exercise value at time ti
h
Di 1,i is the discount factor for interval [ti 1 , ti ]
Problem Formulation
By defining
ei (x)
hi (x) = D0,i h
Vi (x) = D0,i Vei (x)
where
D0,i = D0,1 D1,2 . . . Di 1,i
Vm (x) = hm (x)
Vi 1 (x) = max (hi 1 (x), E [Vi (Xi ) | Xi 1 = x])
Problem formulation
the expected value of the option at the time of exercise. The best that can
be achieved is then
V0 (X0 ) = sup E [h⌧ (X⌧ )]
⌧
Vm (Xm ) = hm (Xm )
and hence
h i
E [Vm (Xm ) r (Xm 1 )] = E Cbm 1 (Xm 1 ) r (Xm 1)
X
= E[ r (Xm 1) s (Xm 1 )] s
s
B = BV
where
(BV )r = E [Vm (Xm ) r (Xm 1 )]
(B )rs = E [ r (Xm 1 ) s (Xm 1 )]
Therefore,
1
=B BV
E[ r (Xm 1) s (Xm 1 )]
is approximated as
N
X ⇣ ⌘ ⇣ ⌘
1 (n) (n)
N r Xm 1 s Xm 1
n=1
Assuming that the number of paths is much greater than the number of
basis functions, the main cost is in approximating B with a cost which is
O NR 2 .
Vm 1 = hm 1 (Xm 1 )
Longsta↵-Schwartz
Receipt:
1 Approximate the continuation value
r (ti+1 ti )
ci = e E [Vi+1 | Si ]
2 Via
Nr
X
r (ti+1 ti )
ci = e E [vi+1 | Si ] ⇡ ak fk (Si )
k=1
Notice that this is not a standard linear regression! Notice that the
coefficients multiply a function f of the underlying, several choices of f are
possibile! f are called basis functions.
Alessandro Gnoatto (UNIVR) Least Squares Monte Carlo 05.05.2021 17 / 45
Implementation in Matlab
F > FA = F > V
Implementation details
1 Hermite polynomials
2 Code:
1 Legendre Polynomials
2 Code:
1 Chebychev Polynomials
2 Code:
We use two di↵erent set of simulated paths to estimate the regressors and
to perform the pricing step.
Alessandro Gnoatto (UNIVR) Least Squares Monte Carlo 05.05.2021 28 / 45
Implementation in Matlab
1 Put Options For a fixed time point t the payo↵ of a Put option is
given by
max(K S(t), 0)
Let us fix the parameters S(0) = K = 100, the volatility = 0.25 and
the rate r = 0.04. We assume that there are no dividends and the
maturity is one year.
2 Call Options In the case without dividens remember that the exercise
of an American call option is never optimal! We can use this
theoretical result to test our implementation against a multinomial
tree or the Black Scholes formula.
Remark
Example
Asian Options Let us fix a grid T = {t1 , . . . , tN = T } . For an Arithmetic
Asian option we consider the arithmetic average on T . It is given by
N
X
1
A(T ) = S (ti )
N 1
i=1
AC = max(A(T ) K , 0)
(4)
AP = max(K A(T ), 0)
AC = max(S(T ) A(T ), 0)
(5)
AP = max(A(T ) S(T ), 0)
We need paths both of the underlying and the average. These are
provided by
For comparison purposes, we also have a pricer for American Asian options
using trees.
Test Script
Also in this case we compare the two versions of the Algorithm: Regress
and Price with the same set of paths Vs Separation of Regression estimate
and pricing.
Example
Barrier Options. We consider Knock-In and Knock-Out Barrier options.
Let two functions lb and ub given by
lb, ub : [0, T ] ! R+
t 7! lb(t), ub(t)
The functions lb and ub respectively are called the lower barrier and the
upper barrier. A Knock-Out option is triggered once the asset moves
below lb or above ub, whereas a Knock-In option is triggered when the
asset moves below ub or above lb.
⇢
max(S(T ) K , 0) Tlb T
DIP =
⇢ 0 Tlb > T
max(K S(T ), 0) Tub T
UIP = ,
⇢0 Tub > T
max(S(T ) K , 0) Tlb T
DOP =
⇢ 0 Tlb < T
max(K S(T ), 0) Tub T
UOP = .
0 Tub < T
Alessandro Gnoatto (UNIVR) Least Squares Monte Carlo 05.05.2021 39 / 45