Modifying FittedBondDiscountCurve

Posted by Nicholas Manganaro-2 on
URL: http://quantlib.414.s1.nabble.com/Modifying-FittedBondDiscountCurve-tp15574.html

I was taking a look at <ql/termstructures/yield/fittedbonddiscountcurve.hpp> and saw the note:

       \todo refactor the bond helper class so that it is pure

              virtual and returns a generic bond or its cash

              flows. Derived classes would include helpers for

              fixed-rate and zero-coupon bonds. In this way, both

              bonds and bills can be used to fit a discount curve

              using the exact same machinery. At present, only

              fixed-coupon bonds are supported. An even better way to

              move forward might be to get rate helpers to return

              cashflows, in which case this class could be used to fit

              any set of cash flows, not just bonds.

 

I would like to include discount instruments in curve construction, if possible. Has anyone made progress along that path, perhaps on the line of the steps identified in this note?

I would appreciate advice or comments on the work necessary to use generic cash flows in this process, if it would not require a major re-write of the library.

Thanks.

-Nick


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users