quantlib.termstructures.inflation_term_structure.
YoYInflationTermStructure¶
- class YoYInflationTermStructure¶
Bases:
InflationTermStructure- Attributes:
- base_date
- base_rate
calendarCalendar: calendarday_counterDayCounter: day countermax_dateDate: the latest date for which the curve can return valuesmax_timeTime: the latest time for which the curve can return valuesreference_dateDate: the date at which discount = 1.0 and/or variance = 0.0settlement_daysint: number of settlement days used for reference date calculation
Methods
time_from_reference(self, Date dt)date/time conversion
yoy_rate(self, Date d, bool extrapolate=False)