[ quantlib-Patches-2727178 ] add Delay Days to FixedRateLeg

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

[ quantlib-Patches-2727178 ] add Delay Days to FixedRateLeg

SourceForge.net
Patches item #2727178, was opened at 2009-04-02 11:41
Message generated for change (Tracker Item Submitted) made by ultrium
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=312740&aid=2727178&group_id=12740

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nathan Abbott (ultrium)
Assigned to: Nobody/Anonymous (nobody)
Summary: add Delay Days to FixedRateLeg

Initial Comment:
We have a need to create a FixedRateCoupon with the payment date that is different from the end date. For example, we created a mortgage bond with a starting coupon that has a start date of March 1st, 2009, a end date of April 1st, 2009, and a payment date of April 15th, 2009. The rest of the coupons of the bond follow the same pattern for its dates. To create the coupons, I had to added a delayDays_ variable to the FixedRateLeg class. delayDays_ is set to zero by default. Also, a withDelayDays method was added to the class. I also change the Leg() operator to take advance of the delayDays_ variable.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=312740&aid=2727178&group_id=12740

------------------------------------------------------------------------------
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev