MakeSchedule

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/MakeSchedule-tp12719.html


Hi,
        a modification I'd like to try and get in: instead of, say,

MakeSchedule(Date(1, September, 2006),
             Date(1, September, 2011),
             Period (3, Months),
             TARGET(), Following);

I'd go even more explicit, i.e.,

MakeSchedule().from(Date(1, September, 2006))
              .to(Date(1, September, 2011))
              .withTenor(3*Months)
              .withCalendar(TARGET())
              .withConvention(Following);

This would allow one, e.g., to have a choice between withTenor and
withFrequency.  We might also have smart default values for the
convention.

Any objections?

Luigi



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