Re:HullWhiteProcess class usage...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re:HullWhiteProcess class usage...

marco.tarenghi@libero.it
toyin sent me the files and now I know that they are in the CVS.

I think there is not a simple way to modify the files you mentioned: the pricing formulas implemented in the code are referred to a forward measure.
The idea is: I write the pricing formula in a chosen measure and then simulate in that measure.
So, the most natural measure (at least for caps/floors and many other instruments) is the forward measure.
If you want to simulate the dynamics in another measure, than you have to write the pricing formula in that measure (and not always it is possible, for eaxample I do not know analytical formulas for pricing caps in the risk neutral framework). Then it is just a matter of implementing it: remember that the endDiscount_ in nmHullWhiteEngine is the actual discount (ie zero coupon price) and its use is justified by forward measure pricing, but you cannot use it in the case of risk neutral pricing.
The discount factor is a random variable and it can be substitued with the price only in case of the relative forward measure.
The idea is similar to the one of bgm pricing.

regards,
Marco




Reply | Threaded
Open this post in threaded view
|

Re:HullWhiteProcess class usage...

Toyin Akin
Hi,

Thankyou for your response.

Okay for Caps/Floors you use the forward measure.

Can you give me an example of an instrument that is naturally applicable to
the risk neutral measure?

Again, time permitting, it would be useful to view examples of using the
four processes.

Toy out.


>From: "[hidden email]" <[hidden email]>
>CC: "quantlib-dev" <[hidden email]>,"quantlib-users"
><[hidden email]>,"luigi.ballabio"
><[hidden email]>
>Subject: Re:[Quantlib-users] HullWhiteProcess class usage...
>Date: Thu, 11 May 2006 12:09:13 +0200
>
>toyin sent me the files and now I know that they are in the CVS.
>
>I think there is not a simple way to modify the files you mentioned: the
>pricing formulas implemented in the code are referred to a forward measure.
>The idea is: I write the pricing formula in a chosen measure and then
>simulate in that measure.
>So, the most natural measure (at least for caps/floors and many other
>instruments) is the forward measure.
>If you want to simulate the dynamics in another measure, than you have to
>write the pricing formula in that measure (and not always it is possible,
>for eaxample I do not know analytical formulas for pricing caps in the risk
>neutral framework). Then it is just a matter of implementing it: remember
>that the endDiscount_ in nmHullWhiteEngine is the actual discount (ie zero
>coupon price) and its use is justified by forward measure pricing, but you
>cannot use it in the case of risk neutral pricing.
>The discount factor is a random variable and it can be substitued with the
>price only in case of the relative forward measure.
>The idea is similar to the one of bgm pricing.
>
>regards,
>Marco
>
>
>
>
>-------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job
>easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
><a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
>_______________________________________________
>Quantlib-users mailing list
>[hidden email]
>https://lists.sourceforge.net/lists/listinfo/quantlib-users