financial risk forecasting chapter 7 simulation methods ... · financial risk forecasting ©...
TRANSCRIPT
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 1 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Financial Risk Forecasting
Chapter 7
Simulation methods for VaR for
options and bonds
Jon Danielsson ©2020London School of Economics
To accompanyFinancial Risk Forecasting
www.financialriskforecasting.com
Published by Wiley 2011
Version 5.0, August 2020
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 2 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 3 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
The focus of this chapter
• Chapter 6 demonstrates limitations of analytical VaRmethods for options and bonds
• The focus in this chapter is on simulation methods,sometimes called Monte Carlo (MC) simulation
1. Pseudo random number generators (RNG)2. Simulation pricing of options and bonds3. Simulation VaR for one asset and portfolios4. Issues in Monte Carlo estimation
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 4 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Idea
• Replicate a part of the world in computer software
• For example market outcomes, based on some model ofmarket evolution
• Sufficient number of simulations (replications) ideall yielda large and representative sample of market outcomes
• Use that to calculate quantities of interest (e.g. VaR)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 5 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Calendar time and trading time
• We use two different measures of time
Calendar time (365/6 days) used for interest ratecalculations
Trading time (≈ 250 days) used for risk calculations
• This is because we earn interest every day
• But calculate volatilities only from days (trading days)when stock exchanges open (Mondays to Fridays,excluding holidays)
• R will allow precise date calculations and has a databaseof dates when various exchanges are open
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 6 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Notation
F Futures priceg Derivative priceS Number of simulationsxb Portfolio holdings (basic assets)xo Portfolio holdings (derivatives)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 7 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulation pricing of bonds
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 8 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Bond pricing
• Price and risk of fixed income assets (e.g. bonds) is basedon market interest rates
• Using a model of the distribution of interest rates, we cansimulate random yield curves and obtain the distributionof bond prices
• We map distribution of interest rates to the distributionof bond prices
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 9 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Analytical bond pricing
• Denote rt the annual interest rate at time t
• The present value of a bond is the present discountedvalue of its cash flows:
P =T∑
t=1
τt
(1 + rt)t
• Where P is bond price and τt is cash flow at time t
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 10 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Analytical bond pricing
• Suppose we have a bond with 10 years to expiration, 7%annual interest, $10 par value, and current market rates:
{rt}10t=1 =(5.00, 5.69, 6.09, 6.38, 6.61,
6.79, 7.07, 7.19, 7.30)× 0.01
• The bond has a current value of $9.91
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 11 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulated bond pricing
• Assume here that the yield curve can only shift up anddown, not change shape
• Shocks to yields, ǫi
ǫi ∼ N(
0, σ2)
• For the sake of demonstration we set the number ofsimulations as S = 8, but note that accurate estimatesrequire much more simulations
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 12 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Eight yield curve simulations
2 4 6 8 10
Time
Yie
ld
TrueSimulated
4 %
5 %
6 %
7 %
8 %
9 %
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 13 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Eight yield curve simulations
2 4 6 8 10
Time
Yie
ld
TrueSimulated
4 %
5 %
6 %
7 %
8 %
9 %
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 14 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Eight yield curve simulations
2 4 6 8 10
Time
Yie
ld
TrueSimulated
4 %
5 %
6 %
7 %
8 %
9 %
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 15 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Eight yield curve simulations
2 4 6 8 10
Time
Yie
ld
TrueSimulated
4 %
5 %
6 %
7 %
8 %
9 %
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 16 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Eight yield curve simulations
2 4 6 8 10
Time
Yie
ld
TrueSimulated
4 %
5 %
6 %
7 %
8 %
9 %
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 17 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulated bond pricing
• The equation for the i th simulated price, Pi , now becomes
Pi =
T∑
t=1
τ t
(1 + r t + ǫi)t
where r t + ǫi is the i th simulated interest rate at time t
• Compare the eight bond prices obtained with S = 8 yieldcurve simulations with the distribution of bond priceswhen S = 50, 000
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 18 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Eight bond price simulations
1 2 3 4 5 6 7 8
Simulation
Sim
ula
ted p
rice
$ 0
$ 2
$ 4
$ 6
$ 8
$ 10True price
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 19 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Density of simulated bond pricesNormal distribution superimposed, S = 50, 000
Bond prices
Den
sity
7 8 9 10 11 12 13
0.0
0.1
0.2
0.3
0.4
VaR95%
VaR99%
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 20 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Allowing yield curve to change shape
• Key assumptions:• Yield curve only shifts up and down• Distribution of interest rate changes is normal
• The assumptions may be unrealistic in practice but it isrelatively straightforward to relax them
• in practice it rotates and twists• can use principal components (PCA)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 21 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulation pricing of options
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 22 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulation approach
• The price of an asset be the expectation of its final payoffunder risk neutrality
• Depends on the price movements of its underlying asset
• If sufficient number of price paths are simulated
• Obtain an estimate of the true price
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 23 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Option pricing
• Get price of European options on non-dividend-payingstock where all Black-Scholes (BS) assumptions hold
• Two primitive assets in BS pricing model:• risk-free asset with instantaneous rate r
• Underlying stock, follows normally distributed randomwalk with drift r (geometric Brownian motion incontinuous time)
• The no-arbitrage futures price of stock for delivery attime T is given by:
F = PerT
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 24 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Analytical option pricing
• Suppose we have a European call option with
1. current stock price $502. 20% annual volatility3. 5% annual risk-free rate4. 6 months to expiration5. $40 strike price
• The price is $11.0873
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 25 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulated option pricing
• We simulate returns until expiration and use these valuesto calculate simulated futures prices
• With sufficient sample of futures prices we can computethe set of payoffs of the option
• The MC price is then given by the mean of these payoffs
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 26 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulated option pricing
• The only complexity is due to expectation of a log-normalRN, i.e. if
O ∼ N(
µ, σ2)
then:
E [exp(O)] = exp
(
µ+1
2σ2
)
• We apply a log-normal correction (subtract 1
2σ2 from
simulated stock return) to ensure that expectation ofsimulated returns is the same as theoretical value
• See density of S = 106 futures prices and option payoffsusing same values as in the example before
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 27 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Density of simulated futures pricesS = 106, normal distribution superimposed
Futures prices
Den
sity
30 40 50 60 70 80
0.00
0.01
0.02
0.03
0.04
0.05
0.06
Strike price
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 28 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Density of simulated option pricesBased on simulated futures prices with S = 106
Option prices
Den
sity
0 5 10 15 20 25 30 35
0.00
0.02
0.04
0.06
0.08
0.10
0.12Black−Scholes
price
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 29 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulated option pricingNumerical example
• Mean of simulated option prices is the MC price• In this case R gives $11.08709, close enough to the
Black-Scholes price of $11.0873
• Note the asymmetry in the density of simulated futuresprices (result of log-normal distribution of prices)
• The VaR can be read off the previous graph, e.g. 1%smallest value of distribution gives 99% VaR
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 30 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulation of VaR
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 31 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulating a stock price using continues
time• The simplest model of a stock price in continuous time isgeometric Brownian motion
dS = µSdt + σSdz
• Then, returns are
yt = log pt − log pt−1
• I this is not what we will do here, Instead, use arithmeticreturns
Rt =Pt
Pt
− 1
• i.e.Pt = Rt−1(Rt + 1)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 32 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulation of VaR for one asset
• Simulate one-day return of an asset
• Apply analytical pricing formulas to simulated future price
• Obtain simulated profits/losses (P/L) as differencebetween tomorrow’s simulated future values and today’sknown value
• Calculate MC VaR from simulated P/L
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 33 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Setup
• Consider asset with price Pt and IID normal returns, withone-day volatility σ and risk-free rate r (in continuoustime)
• Number of units of basic asset held in a portfolio isdenoted by xb, while xo indicates number of options held
• Note that it is the t + 1 price that will be simulated
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 34 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
We will go through a series of ever more
complicated examples
1. Simulation of VaR for one asset (no option)
2. Simulation of VaR for one option
3. Simulation of VaR for a portfolio of one option and onestock
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 35 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
1. VaR with one basic assetSix-step procedure for obtaining MC VaR
1 Compute initial portfolio value:
ϑt = xbPt
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 36 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
1. VaR with one basic assetSix-step procedure for obtaining MC VaR
1 Compute initial portfolio value:
ϑt = xbPt
2 Simulate S one-day returns
Rt+1,i ∼ N(
0, σ2)
, i = 1, ..., S
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 37 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
1. VaR with one basic assetSix-step procedure for obtaining MC VaR
3 Calculate one-day future price:
Pt+1,i = Pt × (1 + Rt+1,i)
4 Calculate the simulated futures value of the portfolio:
ϑt+1,i = xbPt+1,i
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 38 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
1. VaR with one basic assetSix-step procedure for obtaining MC VaR
3 Calculate one-day future price:
Pt+1,i = Pt × (1 + Rt+1,i)
4 Calculate the simulated futures value of the portfolio:
ϑt+1,i = xbPt+1,i
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 39 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
1. VaR with one basic assetSix-step procedure for obtaining MC VaR
3 Calculate one-day future price:
Pt+1,i = Pt × (1 + Rt+1,i)
4 Calculate the simulated futures value of the portfolio:
ϑt+1,i = xbPt+1,i
5 The i th simulated P/L is then:
qt+1,i = ϑt+1,i − ϑt
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 40 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
1. VaR with one basic assetSix-step procedure for obtaining MC VaR
3 Calculate one-day future price:
Pt+1,i = Pt × (1 + Rt+1,i)
4 Calculate the simulated futures value of the portfolio:
ϑt+1,i = xbPt+1,i
5 The i th simulated P/L is then:
qt+1,i = ϑt+1,i − ϑt
6 VaR can be obtained directly from the vector of simulatedP/L, {qt+1,i}Si=1, e.g. VaR(0.01) is the 1% smallest value
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 41 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
2. VaR with an optionModified six-step procedure
• For options we need to modify the procedure
• Let g(·) denote the Black-Scholes equation and supposewe have xo options
• We replace steps 1 and 4 and come up with the followingprocedure
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 42 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
2. VaR with an optionModified six-step procedure
1’ Initial portfolio is
ϑt = xog(
Pt ,X ,T ,√250σ, r
)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 43 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
2. VaR with an optionModified six-step procedure
1’ Initial portfolio is
ϑt = xog(
Pt ,X ,T ,√250σ, r
)
2 Simulate S one-day returns
Rt+1,i ∼ N(
0, σ2)
, i = 1, ..., S
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 44 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
2. VaR with an optionModified six-step procedure
3 Calculate one-day future price:
Pt+1,i = Pt × (1 + Rt+,i)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 45 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
2. VaR with an optionModified six-step procedure
3 Calculate one-day future price:
Pt+1,i = Pt × (1 + Rt+,i)
4’ The i th simulated future value of the portfolio is
ϑt+1,i = xog
(
Pt+1,i ,X ,T − 1
365,√250σ, r
)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 46 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
2. VaR with an optionModified six-step procedure
5 The i th simulated P/L is then:
qt+1,i = ϑt+1,i − ϑt
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 47 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
2. VaR with an optionModified six-step procedure
5 The i th simulated P/L is then:
qt+1,i = ϑt+1,i − ϑt
6 VaR can be obtained directly from vector of simulatedP/L, {qt+1,i}Si=1, e.g. VaR(0.01) is 1% smallest value
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 48 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
2. MC VaR of option
• One call option with strike price X = 100 and 3 monthsto expiry
• R and Matlab both give VaR(0.01) of $1.21
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 49 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
2. Density of simulated P/LNormal distribution superimposed
Profit/Loss
Den
sity
−2 −1 0 1 2
0.0
0.2
0.4
0.6
0.8VaR95%
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 50 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
3. VaR with an options and a stockModified six-step procedure
• Now consider the case of a portfolio with both a stockand option(s) on the same stock
• Suppose we only have one type of option
• As in the case where we only had one option on a basicasset, we replace steps 1 and 4
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 51 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
3. VaR with an options and a stockModified six-step procedure
1” Initial portfolio is
ϑt = xbPt + xog(
Pt ,X ,T ,√250σ, r
)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 52 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
3. VaR with an options and a stockModified six-step procedure
1” Initial portfolio is
ϑt = xbPt + xog(
Pt ,X ,T ,√250σ, r
)
2 Simulate S one-day returns
Rt+1,i ∼ N(
0, σ2)
, i = 1, ..., S
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 53 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
3. VaR with an options and a stockModified six-step procedure
3 Calculate one-day future price:
Pt+1,i = Pt × (1 + Rt+,i)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 54 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
3. VaR with an options and a stockModified six-step procedure
3 Calculate one-day future price:
Pt+1,i = Pt × (1 + Rt+,i)
4” The i th simulated future value of the portfolio is
ϑt+1,i = xbPt+1,i + xog
(
Pt+1,i ,X ,T − 1
365,√250σ, r
)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 55 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
3. VaR with an options and a stockModified six-step procedure
5 The i th simulated P/L is then:
qt+1,i = ϑt+1,i − ϑt
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 56 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
3. VaR with an options and a stockModified six-step procedure
5 The i th simulated P/L is then:
qt+1,i = ϑt+1,i − ϑt
6 VaR can be obtained directly from vector of simulatedP/L, {qt+1,i}Si=1, e.g. VaR(0.01) is 1% smallest value
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 57 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulation pricing of aportfolio
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 58 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulation of portfolio VaR
• Consider the multivariate case, i.e. the case of more thanone underlying assets
• Main difference: We need to simulate correlated returns
for all assets• Simulated future prices calculated as before and
portfolio value obtained by summing up individualsimulated asset holdings
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 59 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulation of portfolio VaR
• Suppose we have two non-derivative assets with dailyreturn distribution
N(
µ =
(
0.05/3650.05/365
)
,Σ =
(
0.01 0.00050.0005 0.02
))
• Let xb be a vector of holdings
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 60 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Notation
• The notation becomes cluttered for the multivariate case
• Now we have to denote variables by time period, assetand simulation
• We let Pt,k,i denote the i th simulated price of asset k attime t, that is:
Ptime,asset,simulation = Pt,k,i
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 61 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Portfolio VaR for basic assetsSix-step procedure for obtaining MC portfolio VaR
1 Compute initial portfolio value:
ϑt =
K∑
k=1
xb
kPt,k
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 62 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Portfolio VaR for basic assetsSix-step procedure for obtaining MC portfolio VaR
1 Compute initial portfolio value:
ϑt =K∑
k=1
xb
kPt,k
2 Simulate a vector of one-day returns from today totomorrow
Rt+1,i ∼ N(
µ− 1
2DiagΣ,Σ
)
DiagΣ extracts the diagonal elements of Σ (because oflog-normal correction)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 63 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Portfolio VaR for basic assetsSix-step procedure for obtaining MC portfolio VaR
3 The i th simulated future price of asset k is:
Pt+1,k,i = Pt,k (1 + Rt+1,k,i)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 64 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Portfolio VaR for basic assetsSix-step procedure for obtaining MC portfolio VaR
3 The i th simulated future price of asset k is:
Pt+1,k,i = Pt,k (1 + Rt+1,k,i)
4 The i th simulated futures value of the portfolio is:
ϑt+1,i =K∑
k=1
xb
kPt+1,k,i
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 65 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Portfolio VaR for basic assetsSix-step procedure for obtaining MC portfolio VaR
5 The i th simulated P/L is then:
qt+1,i = ϑt+1,i − ϑt
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 66 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Portfolio VaR for basic assetsSix-step procedure for obtaining MC portfolio VaR
5 The i th simulated P/L is then:
qt+1,i = ϑt+1,i − ϑt
6 VaR can be obtained directly from vector of simulatedP/L, {qt+1,i}Si=1, as before
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 67 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Portfolio VaR for optionsModified six-step procedure
• For options we need to modify steps 1 and 4 from theprocedure outlined above
• Similar to modifications for the univariate case before
• For simplicity suppose the portfolio has only one type ofoption type per stock
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 68 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Portfolio VaR for optionsModified six-step procedure
1’ Initial portfolio is
ϑt =
K∑
k=1
(
xb
kPt,k + xo
kg(
Pt,k ,Xk ,T ,√250σk , r
))
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 69 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Portfolio VaR for optionsModified six-step procedure
1’ Initial portfolio is
ϑt =K∑
k=1
(
xb
kPt,k + xo
kg(
Pt,k ,Xk ,T ,√250σk , r
))
2 Simulate a vector of one-day returns from today totomorrow
Rt+1,i ∼ N(
µ− 1
2DiagΣ,Σ
)
DiagΣ extracts the diagonal elements of Σ (because ofthe log-normal correction)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 70 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Portfolio VaR for optionsModified six-step procedure
3 The i th simulated future price of asset k is:
Pt+1,k,i = Pt,k (1 + Rt+1,k,i)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 71 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Portfolio VaR for optionsModified six-step procedure
3 The i th simulated future price of asset k is:
Pt+1,k,i = Pt,k (1 + Rt+1,k,i)
4’ The i th simulated future value of the portfolio is
ϑt+1,i =
K∑
k=1
(
xbPt+1,i
+xog
(
Pt+1,k,i ,Xk ,T − 1
365,√250σk , r
))
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 72 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Portfolio VaR for optionsModified six-step procedure
5 The i th simulated P/L is then:
qt+1,i = ϑt+1,i − ϑt
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 73 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Portfolio VaR for optionsModified six-step procedure
5 The i th simulated P/L is then:
qt+1,i = ϑt+1,i − ϑt
6 VaR can be obtained directly from vector of simulatedP/L, {qt+1,i}Si=1, as before
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 74 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Richer versions
• We used simple examples to avoid cluttered notation,straightforward to allow for more complicated portfolios
• Number of stocks and multiple options on each stock• American (or more exotic) options• Combination of fixed income assets with stocks and
options
• Also, we could use other distributions (e.g. Student-t oreven historical simulation)
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 75 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Issues in simulation estimation
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 76 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Simulation issues
• Several issues need to be addressed in all MC exercises, ofwhich two are most important:
1. Quality of RNG and transformation method2. Number of simulations
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 77 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Quality of RNG
• MC simulation is not only dependent on quality of theunderlying stochastic model, also depends on quality ofthe RNG used
• Low-quality generators give biased or inaccurate results• E.g. a simulation size of 100 with period of 10 will
repeat same calculation 10 times
• Complicated portfolios may demand large number of RNsand therefore high-quality RNGs
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 78 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Quality of RNG
• Many transformation methods are only optimally tunedfor the center of the distribution
• This becomes particularly problematic when simulatingextreme events
• Some transformation methods use linear approximationsfor extreme tails, which leads to extreme uniforms beingincorrectly transformed
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 79 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Choosing number of simulations
• Choosing appropriate number of simulations is important• Too few give inaccurate answers• Too many waste time and computer resources
• In special cases formal statistical tests provide guidance,but usually informal methods have to be relied upon
• It is sometimes stated that accuracy of simulations isrelated to inverse simulation size
• This is based on assumption of linearity, which is notcorrect for the problems in this chapter
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 80 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Choosing number of simulations
• Best way is to simply increase number of simulations andsee how MC estimate converges
• Rule of thumb: Sufficient simulation size when numbershave stopped changing up to three significant digits
• We can also compare convergence of MC estimate to thetrue (analytical) price
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 81 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Convergence of MC estimateComparison with analytical Black-Scholes price
• In a example on slide 19 we computed analytical call priceof $11.0873 for a European option
• Now calculate MC estimates for different simulation sizesand compare the results with the true (analytical) price
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 82 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Cumulative MC estimatesComparison with analytical Black-Scholes price
10.7
10.8
10.9
11.0
11.1
Simulations
Avera
ge
102
103
104
105
106
Black−Scholes price
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 83 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Cumulative MC estimatesComparison with analytical Black-Scholes price
10.7
10.8
10.9
11.0
11.1
Simulations
Avera
ge
102
103
104
105
106
Black−Scholes price
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 84 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Cumulative MC estimatesComparison with analytical Black-Scholes price
10.7
10.8
10.9
11.0
11.1
Simulations
Avera
ge
102
103
104
105
106
Black−Scholes price
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 85 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Cumulative MC estimatesComparison with analytical Black-Scholes price
10.7
10.8
10.9
11.0
11.1
Simulations
Avera
ge
102
103
104
105
106
Black−Scholes price
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 86 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Cumulative MC estimatesComparison with analytical Black-Scholes price
10.7
10.8
10.9
11.0
11.1
Simulations
Ave
rage
102
103
104
105
106
Black−Scholes price
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 87 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Convergence of MC estimateComparison with analytical Black-Scholes price
• Based on graph on previous slide, it seems to take about5000 simulations to get three significant digits correct
• However, there are still fluctuations in the estimate for 5million simulations
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 88 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Convergence of MC VaR estimate
• Look at the convergence of MC VaR estimates as thesimulation size increases
• Graph MC VaR for a stock with daily volatility 1% alongwith ±99% confidence intervals
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 89 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Convergence of MC VaR estimatesWith ±99% confidence intervals
85
90
95
100
105
110
115
Simulations
VaR
102
502
503
504
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 90 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Convergence of MC VaR estimatesWith ±99% confidence intervals
85
90
95
100
105
110
115
Simulations
VaR
102
502
503
504
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 91 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Convergence of MC VaR estimatesWith ±99% confidence intervals
85
90
95
100
105
110
115
Simulations
VaR
102
502
503
504
Financial Risk Forecasting © 2011-2020 Jon Danielsson, page 92 of 92
Bonds Options One asset VaR Portfolio VaR Simulation issues
Convergence of MC VaR estimatesWith ±99% confidence intervals
85
90
95
100
105
110
115
Simulations
Va
R
102
502
503
504