- Joined
- 7/22/13
- Messages
- 43
- Points
- 18
Hi all,
I currently want to use Jamshidian's trick for pricing a coupon bond option in Hull-White model, which is to represent
the strike price K as a price of a coupon bond with a yield r_star.
To do so, one has to use a non linear solver to obtain this yield, r_star, of the coupon bearing bond with price K.
I have implemented Newton's method in Matlab but I do not get the correct yield.
The strange thing is that if I use the same algorithm for Vasicek model, I get exactly the correct result, in contrast to the Hull-White model where the result is NaN.
Does anyone know why this problem occurs?
Thanks.
I currently want to use Jamshidian's trick for pricing a coupon bond option in Hull-White model, which is to represent
the strike price K as a price of a coupon bond with a yield r_star.
To do so, one has to use a non linear solver to obtain this yield, r_star, of the coupon bearing bond with price K.
I have implemented Newton's method in Matlab but I do not get the correct yield.
The strange thing is that if I use the same algorithm for Vasicek model, I get exactly the correct result, in contrast to the Hull-White model where the result is NaN.
Does anyone know why this problem occurs?
Thanks.