On Sat, 2011-07-23 at 08:49 -0700, adam99 wrote:
> Is there a coverage for American callable floating rate note in Quantlib? I
> am primarily interested in pricing with single factor HW.
We have callable fixed-rate note in <ql/experimental/callablebonds>, but
not floating-rate. If you want to give it a try, you could look at the
way the floating-rate leg is computed in the DiscretizedSwap class
(<ql/pricingengines/swap/discretizedswap.hpp>.) You could do something
similar and add the redemption. A harder problem would be to include
credit risk; you'd probably need two HW trees with the same structure
(one for forecasting, the other including credit for discounting.)
Luigi
--
Hofstadter's Law:
It always takes longer than you expect, even when you take
Hofstadter's Law into account.
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev