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}(ST−k)+]
=E[(S0exp{N(−0.5σ2T,σ2T)}−exp{−∫T0rtdt}K)+]
=BS(S0,k,ˉr,T,σ)
where ˉr=1T∫T0rtdt 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=(θt−art)dt+σ0dW1t,dSt=St[rtdt+σ(ρdW1t+√1−ρ2dW2t)],
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(e−∫Ttrsds|Ft)=exp(−B(t,T)rt−∫Ttθ(s)B(s,T)ds+12∫Ttσ20B(s,T)2ds),
Let Q denote the risk-neutral measure and QT denote the T-forward measure. Moreover, let Bt=e∫t0rsds be the money market account value. From (1), dQTdQ|t=P(t,T)B0P(0,T)Bt (with B0=1)=exp(−12∫t0σ20B(s,T)2ds−∫t0σ0B(s,T)dWs).
Note that, the forward price F(t,T) has the form F(t,T)=EQT(ST∣Ft)=StP(t,T).
No comments:
Post a Comment