Tuesday, December 2, 2014

option pricing - Black-Scholes under stochastic interest rates


I'm trying to implement the Black-Scholes formula to price a call option under stochastic interest rates. Following the book of McLeish (2005), the formula is given by (assuming interest rates are nonrandom, i.e. known):


E[exp{T0rtdt}(STk)+]


=E[(S0exp{N(0.5σ2T,σ2T)}exp{T0rtdt}K)+]


=BS(S0,k,ˉr,T,σ)



where ˉr=1TT0rtdt is the average interest rate over the life of the option .


If interest rates are random, "we could still use the Black-Scholes formula by first conditioning on the interest rates, so that


$E[e^{-\bar{r}T}(S_T-K)^+|r_s, 0

and then computing the unconditional expected value of this by simulating values of ˉr and averaging".


I'm not sure how can I calculate ˉr given a simulated sample paths.



Answer



We assume that the short interest rate rt follows the Hull-White model, that is, the short rate r and the stock price S satisfies a system of SDEs of the form drt=(θtart)dt+σ0dW1t,dSt=St[rtdt+σ(ρdW1t+1ρ2dW2t)],

where a, σ0, σ, and ρ are constants, and {W1t,t0} and {W2t,t0} are two independent standard Brownian motions.


Note that, \begin{align*} &\ E\bigg(\exp\Big(-\int_0^T r_t dt \Big) (S_T-K)^+\bigg) \\ =& \ E\bigg(e^{-\bar{r}T} \Big(S_0e^{\bar{r}T -\frac{1}{2}\sigma^2 T - \sigma \big(\rho W_T^1 + \sqrt{1-\rho^2}W_T^2\big)} -K\Big)^+ \bigg)\\ =& \ E\Bigg(E\bigg(e^{-\bar{r}T} \Big[S_0e^{\bar{r}T -\frac{1}{2}\sigma^2 T + \sigma \big(\rho W_T^1 + \sqrt{1-\rho^2}W_T^2\big)} -K\Big]^+ \Bigg\vert r_s, 0

If ρ=0, that is, S and r are independent, then \begin{align*} &\ E\bigg(\exp\Big(-\int_0^T r_t dt \Big) (S_T-K)^+\bigg) \\ =& \ E\Bigg(E\bigg(e^{-\bar{r}T} \Big(S_0e^{\bar{r}T -\frac{1}{2}\sigma^2 T + \sigma W_T^2} -K\Big)^+ \bigg\vert r_s, 0



EDIT



Here, we provide an analytical valuation formula for the above vanilla European option. From this question, the zero-coupon bond price is given by P(t,T)=E(eTtrsds|Ft)=exp(B(t,T)rtTtθ(s)B(s,T)ds+12Ttσ20B(s,T)2ds),

where B(t,T)=1a(1ea(Tt)).
Then dlnP(t,T)=ea(Tt)rtdtB(t,T)drt+θ(t)B(t,T)dt12σ20B(t,T)2dt=(rt12σ20B(t,T)2)dtσ0B(t,T)dWt,
or dP(t,T)P(t,T)=rtdtσ0B(t,T)dWt.


Let Q denote the risk-neutral measure and QT denote the T-forward measure. Moreover, let Bt=et0rsds be the money market account value. From (1), dQTdQ|t=P(t,T)B0P(0,T)Bt  (with B0=1)=exp(12t0σ20B(s,T)2dst0σ0B(s,T)dWs).

Then by the Girsanov theorem, under QT, the process {(ˆW1t,ˆW2t),t0}, where ˆW1t=W1t+t0σ0B(s,T)ds,ˆW2t=W2t,
is a standard two-dimensional Brownian motion. Moreover, under QT, dP(t,T)P(t,T)=rtdtσ0B(t,T)dW1t=(rt+σ20B(t,T)2)dtσ0B(t,T)dˆW1tdStSt=rtdt+σ(ρdW1t+1ρ2dW2t)=(rtρσ0σB(t,T))dt+σ(ρdˆW1t+1ρ2dˆW2t).


Note that, the forward price F(t,T) has the form F(t,T)=EQT(STFt)=StP(t,T).

which is a martingale under the T-forward measure QT and satisfies an SDE of the form dF(t,T)=dStP(t,T)StP(t,T)2dP(t,T)dSt,P(t,T)P(t,T)2+StP(t,T)3dP(t,T),P(t,T)=F(t,T)[σ(ρdˆW1t+1ρ2dˆW2t)+σ0B(t,T)dˆW1t]=F(t,T)[(σρ+σ0B(t,T))dˆW1t+σ1ρ2dˆW2t].
Let ˆσ be a quantity defined by Tˆσ2=T0[(σρ+σ0B(s,T))2+σ2(1ρ2)]ds=T0[σ2+2ρσσ0B(s,T)+σ20B2(s,T)]ds=σ2T+2ρσσ0a[T1a(1eaT)]+σ20a2[T+12a(1e2aT)2a(1eaT)]=σ2T+2ρσσ0a[T1a(1eaT)]+σ20a2[T12ae2aT+2aeaT32a].
Then F(T,T)=F(0,T)exp(12ˆσ2T+ˆσTZ),
where Z is a standard normal random variable. Consequently, EQ((STK)+BT)=EQ((F(T,T)K)+BT)=EQT((F(T,T)K)+BTdQdQT|T)=P(0,T)EQT((F(T,T)K)+)=P(0,T)[F(0,T)N(d1)KN(d2)],
where d1=lnF(0,T)/K+12ˆσ2TˆσT and d2=d1ˆσT.


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...