Could you please tell me how to price a Puttable Bond in QuantLib?

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

Could you please tell me how to price a Puttable Bond in QuantLib?

wind chen
 
Dear all:
 
Could you please tell me how to price a Puttable Bond in QuantLib? I do not find function or class so far. That is strange.
 
Thanks a lot,
 
Wind

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Could you please tell me how to price a Puttable Bond in QuantLib?

Luigi Ballabio
On Mon, 2010-09-13 at 09:54 -0400, wind chen wrote:
> Could you please tell me how to price a Puttable Bond in QuantLib? I
> do not find function or class so far. That is strange.

Look into the <ql/experimental/callablebonds> folder.  It's called
CallableBond, but when you instantiate the callability schedule you can
specify the type as Call or Put.

Luigi


--

Father's got the sack from the water-works
For smoking of his old cherry-briar;
Father's got the sack from the water-works
'Cos he might set the water-works on fire.



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users