IborIndex¶
- class IborIndex(str family_name, Period tenor, Natural settlement_days, Currency currency, Calendar fixing_calendar, int convention, bool end_of_month, DayCounter day_counter, HandleYieldTermStructure yts=HandleYieldTermStructure())¶
Bases:
InterestRateIndexBase class for Inter-Bank-Offered-Rate indexes (e.g. Libor, etc.).
- Parameters:
- family_namestr
The family name of the index.
- tenor
Period The tenor of the index.
- settlement_daysint
The number of settlement days.
- currency
Currency The currency of the index.
- fixing_calendar
Calendar The calendar used for fixing dates.
- conventionint
The business day convention.
- end_of_monthbool
Whether the end-of-month rule applies.
- day_counter
DayCounter The day counter for the index.
- yts
HandleYieldTermStructure, optional The yield term structure handle.
- Attributes:
business_day_conventionThe business day convention.
- currency
- day_counter
end_of_monthWhether the end-of-month rule applies.
- family_name
fixing_calendarthe calendar defining valid fixing dates
- fixing_days
forwarding_term_structureThe curve used to forecast fixings.
namethe name of the index
- tenor
time_seriesthe fixing TimeSeries
Methods
add_fixing(self, Date fixingDate, ...)add_fixings(self, list dates, list values, ...)clear_fixings(self)fixing(self, Date fixingDate, ...)fixing_date(self, Date valueDate)forecast_fixing(self, Date fixing_date)from_name(market[, term_structure])Create a default IBOR index for the given market.
has_historical_fixing(self, Date d)is_valid_fixing_date(self, Date fixing_date)maturity_date(self, Date valueDate)value_date(self, Date fixingDate)