Guys,
I am trying to enhance the FixedRateBond function of QuantLibXL but I can't find a way to do that without breaking compatibility. Below you can see the all current arguments of the function. In order to correctly represent that NTNF bond I need that coupon rate is 10% Annual 30/360 (30/360 just to count integer months).
I believe there are at least two ways to do that:
It is a bit weird because I enhanced QuantLib's FixedRateBond to include proper behavior and kept backward compatibility (test suite just ran ), but can't do the same for QuantLibXL. However, main main purpose doing that was ehancing QuantLibXL).
How could I finish this work? Should I create a new function (like newFixedRateBond), generate the diff file, attach a spreadsheet use case and let maintainers decide what to do with it?
I believe any object exposed to QuantLibXL may have this problem because make spreadsheet functions backward compatible is much harder than making it for C++ classes.
Regards,
ObjectID Description NTNF Currency BRL SettlementDays 3 FaceAmount 1000 ScheduleID obj_0000f#0003 Coupons 10.0000% DayCounter Business252 PaymentBDC Following Redemption IssueDate Permanent Trigger
Free forum by Nabble | Disable Popup Ads | Edit this page |