|
From: SourceForge.net <no...@so...> - 2009-04-03 13:36:29
|
Patches item #2727178, was opened at 2009-04-02 20:41 Message generated for change (Settings changed) made by lballabio 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: Luigi Ballabio (lballabio) 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 |