Hi all,
In the final coupon period (e.g. 2 months before redemption), our South African bonds work similar to the method described here: http://help.derivativepricing.com/1283.htm I'll quote it too:
So in QuantLib, when I calculate a dirty price using FixedRateBond, is there a way that this is handled automatically? I suspect this is not the case and that I myself would have to check whether the bond is in the last coupon period and set the compounding to simple interest and leave other longer bonds to compounded interest. thanks Francois Botha ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
No, I think we don't have any code in there to manage this automatically. Luigi On Wed, Mar 29, 2017 at 9:59 AM Francois Botha <[hidden email]> wrote:
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |