quantlib.time.schedule.Schedule¶
- class Schedule(Date effective_date, Date termination_date, Period tenor, Calendar calendar, BusinessDayConvention business_day_convention=Following, BusinessDayConvention termination_date_convention=Following, DateGeneration date_generation_rule=DateGeneration.Forward, bool end_of_month=False)¶
Bases:
object
Payment schedule.
- __init__(*args, **kwargs)¶
Methods
__init__
(*args, **kwargs)at
(self, int index)dates
(self)from_dates
(cls, dates, ...[, ...])from_rule
(cls, Date effective_date, ...)next_date
(self, Date reference_date)previous_date
(self, Date reference_date)size
(self)to_npdates
(self)- at(self, int index)¶
- dates(self)¶
- classmethod from_dates(cls, dates, Calendar calendar=NullCalendar(), BusinessDayConvention business_day_convention=Unadjusted, termination_date_convention=None, Period tenor=None, rule=None, end_of_month=None, vector[bool] is_regular=[])¶
- classmethod from_rule(cls, Date effective_date, Date termination_date, Period tenor, Calendar calendar, BusinessDayConvention business_day_convention=Following, BusinessDayConvention termination_date_convention=Following, DateGeneration rule=DateGeneration.Forward, bool end_of_month=False, Date first_date=Date(), Date next_to_lastdate=Date())¶
- next_date(self, Date reference_date)¶
- previous_date(self, Date reference_date)¶
- size(self)¶
- to_npdates(self)¶