Login  Register

Fixed periods in a swap

Posted by Henner Heck on Jan 28, 2011; 4:08pm
URL: http://quantlib.414.s1.nabble.com/Fixed-periods-in-a-swap-tp8845.html


Hello all,

i would like to know, how i can create a swap, which has unadjusted (fixed) period lengths
(always the same accrual period, therefore the same rate), but adjusted payment dates.
I suspect, that the two BusinessdayConvention parameters "convention" and
"terminationDateConvention" from the "QuantLib::Schedule" constructor and the optional
BusinessdayConvention "paymentConvention" from the VanillaSwap constructor are the places to look at.

Am i correct with the following assumptions? (If not, please give me the correct version. :)  )

paymentConvention:
Determines, how the payment dates of the cash flows are adjusted from their
original value from the schedule, if they happen to be on a weekend or holiday.

convention:
Determines, if and how the periods between the cashflows are adjusted (Following, ModifiedFollowing, etc.)
or not (Unadjusted and therefore fixed).
If "paymentConvention" is not set in the Swap, "convention" of the floating leg schedule is used as default setting for it
-> If the floating leg "convention" is "Unadjusted" and "paymentConvention" is not explicitely set,
i could end up with payment dates on weekends or holidays!?

terminationDateConvention:
Some special treatment of the last period or payment date?


In the Java classes i get from the SWIG interface files, the optional parameter "paymentConvention"
is not available for QuantLib::VanillaSwap. Any chance of making it available?


Best regards,
Henner Heck




--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev