Re: Bonds sample
Posted by
Piter Dias-3 on
URL: http://quantlib.414.s1.nabble.com/Bonds-sample-tp12365p12366.html
Nicolai,
>> what is the reasoning
behind the fact
>> that one has to create a schedule (for
coupons) and provide it to the bond
>> constructor, instead of
providing the necessary information to the bond
>> constructor
and then have it construct the needed schedule?
It is more generic and make easy to implement non regular
cashflows. I could use it in a securitization product we had in my last job,
for example.
> I don't have access to the code
right now, but if I remember right the
> input frequency is used in
order to calculate the actual coupon
> payment from the coupon rate,
and it might be different from the
> frequency used to calculate the
yield,
This is the case for Brazil. We have the NTN-F public
bond quoted at Annual Business/252 but whose coupon generation follows Annual
30/360.
Regards,
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev