_PeriodParams#
- class rateslib.periods.parameters._PeriodParams(_start, _end, _frequency, _convention, _termination, _calendar, _adjuster, _stub)#
Bases:
objectParameters of Period cashflows associated with some
Schedule.- Parameters:
_start (datetime) – The identified start date of the Period.
_end (datetime) – The identified end date of the Period.
_frequency (Frequency) – The
Frequencyassociated with the Period._convention (Convention) – The day count
Conventionassociated with the Period._termination (datetime, optional) – The termination date of an external
Schedule._calendar (Calendar, optional) – The calendar associated with the Period.
_stub (bool) – Whether the Period is defined as a stub according to some external
Schedule._adjuster (Adjuster, optional) – The date
Adjusterapplied to unadjusted dates in the externalScheduleto arrive at adjusted accrual dates.
Attributes Summary
The date
Adjusterapplied to unadjusted dates in the externalScheduleto arrive at adjusted accrual dates.The calendar associated with the Period.
The day count
Conventionassociated with the Period.The DCF of the Period determined under its given parameters.
The identified end date of the Period.
The
Frequencyassociated with the Period.The identified start date of the Period.
Whether the Period is defined as a stub according to some external
ScheduleThe termination date of an external
Schedule.Attributes Documentation
- adjuster#
The date
Adjusterapplied to unadjusted dates in the externalScheduleto arrive at adjusted accrual dates.
- calendar#
The calendar associated with the Period.
- convention#
The day count
Conventionassociated with the Period.
- dcf#
The DCF of the Period determined under its given parameters.
- end#
The identified end date of the Period.
- start#
The identified start date of the Period.