Fixed rate bond changes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fixed rate bond changes

Piter Dias-3
Guys,

I order to have a more generic FixedRateBond class I included two
constructors that are able to receive an InterestRate vector.
This way someone can setup a more generic coupon generation. I needed that,
for example, to setup NTN-F Brazilian public bond. Test Suite includes
examples with that bond.
I think we should have an amortization schedule two but I don´t know when I
will be able to do that.

There is a correction to a mistake I made in Calendar::businessDaysBetween
too, when from and to dates are the same.

I hope you guys enjoy and use it in the next QuantLib version. Once SF didn´t
accept my zip file by email I sent using Patche option of SF.

Regards,



Piter Dias
[hidden email]




Piter Dias
[hidden email]



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev