public interface RateIndex extends FloatingRateIndex
Many financial products require knowledge of interest rate indices, such as Libor.
Implementations of this interface define these indices.
See IborIndex and OvernightIndex.
All implementations of this interface must be immutable and thread-safe.
| Modifier and Type | Method and Description |
|---|---|
HolidayCalendarId |
getFixingCalendar()
Gets the calendar that determines which dates are fixing dates.
|
String |
getName()
Gets the name that uniquely identifies this index.
|
Tenor |
getTenor()
Gets the tenor of the index.
|
static RateIndex |
of(String uniqueName)
Obtains an instance from the specified unique name.
|
getCurrency, getDayCount, getDefaultFixedLegDayCount, getFloatingRateName, isActive, parse, parse, tryParse, tryParsestatic RateIndex of(String uniqueName)
This parses names from IborIndex and OvernightIndex.
of in interface FloatingRateIndexof in interface IndexuniqueName - the unique nameIllegalArgumentException - if the name is not knownString getName()
This name is used in serialization and can be parsed using of(String).
HolidayCalendarId getFixingCalendar()
The rate will be fixed on each business day in this calendar.
Tenor getTenor()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.