org.jquantlib.indexes
Class YoYInflationIndex
- java.lang.Object
-
- org.jquantlib.indexes.Index
-
- org.jquantlib.indexes.InflationIndex
-
- org.jquantlib.indexes.YoYInflationIndex
-
- All Implemented Interfaces:
- Observable, Observer
public abstract class YoYInflationIndex extends InflationIndex
Base class for year-on-year inflation indices. These may be genuine indices published on, say, Bloomberg, or "fake" indices that are defined as the ratio of an index at different time points.
-
-
Constructor Summary
Constructors Constructor and Description YoYInflationIndex(java.lang.String familyName, Region region, boolean revised, boolean interpolated, boolean ratio, Frequency frequency, Period availabilityLag, Currency currency)YoYInflationIndex(java.lang.String familyName, Region region, boolean revised, boolean interpolated, boolean ratio, Frequency frequency, Period availabilityLag, Currency currency, Handle<YoYInflationTermStructure> yoyInflation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublefixing(Date fixingDate)doublefixing(Date fixingDate, boolean forecastTodaysFixing)booleanratio()Handle<YoYInflationTermStructure>yoyInflationTermStructure()-
Methods inherited from class org.jquantlib.indexes.InflationIndex
addFixing, availabilityLag, currency, familyName, fixingCalendar, frequency, interpolated, isValidFixingDate, name, region, revised, update
-
Methods inherited from class org.jquantlib.indexes.Index
addFixing, addFixings, addObserver, clearFixings, countObservers, deleteObserver, deleteObservers, getObservers, notifyObservers, notifyObservers, timeSeries
-
-
-
-
Constructor Detail
-
YoYInflationIndex
public YoYInflationIndex(java.lang.String familyName, Region region, boolean revised, boolean interpolated, boolean ratio, Frequency frequency, Period availabilityLag, Currency currency)
-
-
Method Detail
-
fixing
public double fixing(Date fixingDate, boolean forecastTodaysFixing)
-
yoyInflationTermStructure
public Handle<YoYInflationTermStructure> yoyInflationTermStructure()
-
ratio
public boolean ratio()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG