ZeroInflationIndex¶
- class ZeroInflationIndex(str family_name, Region region, bool revised, Frequency frequency, Period availabilityLag, Currency currency, HandleZeroInflationTermStructure ts=HandleZeroInflationTermStructure())¶
Bases:
InflationIndexBase class for zero-inflation indexes.
- Parameters:
- family_namestr
The family name of the index.
- region
Region The region of the index.
- revisedbool
Whether the index is revised.
- frequency
Frequency The frequency of the index.
- availabilityLag
Period The availability lag of the index.
- currency
Currency The currency of the index.
- ts
ZeroInflationTermStructure, optional The zero-inflation term structure.
- Attributes:
availability_lagThe availability lag of the index.
currencyThe currency of the inflation index.
family_nameThe family name of the inflation index.
fixing_calendarthe calendar defining valid fixing dates
frequencyThe publication frequency of the inflation index.
last_fixing_dateReturns the last date for which a fixing was provided.
namethe name of the index
regionThe region of the index.
time_seriesthe fixing TimeSeries
zero_inflation_term_structureReturns the zero-inflation term structure associated with the index.
Methods
add_fixing(self, Date fixingDate, ...)add_fixings(self, list dates, list values, ...)clear_fixings(self)fixing(self, Date fixingDate, ...)has_historical_fixing(self, Date d)is_valid_fixing_date(self, Date fixing_date)