QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Interface for zero inflation term structures. More...
#include <inflationtermstructure.hpp>
Inspectors | |
Rate | zeroRate (const Date &d, const Period &instObsLag=Period(-1, Days), bool forceLinearInterpolation=false, bool extrapolate=false) const |
zero-coupon inflation rate. More... | |
Rate | zeroRate (Time t, bool extrapolate=false) const |
zero-coupon inflation rate. More... | |
virtual Rate | zeroRateImpl (Time t) const =0 |
to be defined in derived classes More... | |
Additional Inherited Members | |
Public Types inherited from Observer | |
typedef set_type::iterator | iterator |
Protected Member Functions inherited from InflationTermStructure | |
virtual void | setBaseRate (const Rate &r) |
void | checkRange (const Date &, bool extrapolate) const |
void | checkRange (Time t, bool extrapolate) const |
Protected Member Functions inherited from TermStructure | |
void | checkRange (const Date &d, bool extrapolate) const |
date-range check More... | |
void | checkRange (Time t, bool extrapolate) const |
time-range check More... | |
Protected Attributes inherited from InflationTermStructure | |
ext::shared_ptr< Seasonality > | seasonality_ |
Period | observationLag_ |
Frequency | frequency_ |
Rate | baseRate_ |
Protected Attributes inherited from TermStructure | |
bool | moving_ = false |
bool | updated_ = true |
Calendar | calendar_ |
Interface for zero inflation term structures.
Definition at line 158 of file inflationtermstructure.hpp.
ZeroInflationTermStructure | ( | Date | baseDate, |
Frequency | frequency, | ||
const DayCounter & | dayCounter, | ||
const ext::shared_ptr< Seasonality > & | seasonality = {} |
||
) |
Definition at line 164 of file inflationtermstructure.cpp.
ZeroInflationTermStructure | ( | const Date & | referenceDate, |
Date | baseDate, | ||
Frequency | frequency, | ||
const DayCounter & | dayCounter, | ||
const ext::shared_ptr< Seasonality > & | seasonality = {} |
||
) |
Definition at line 171 of file inflationtermstructure.cpp.
ZeroInflationTermStructure | ( | Natural | settlementDays, |
const Calendar & | calendar, | ||
Date | baseDate, | ||
Frequency | frequency, | ||
const DayCounter & | dayCounter, | ||
const ext::shared_ptr< Seasonality > & | seasonality = {} |
||
) |
Definition at line 179 of file inflationtermstructure.cpp.
QL_DEPRECATED_DISABLE_WARNING ZeroInflationTermStructure | ( | const DayCounter & | dayCounter, |
Rate | baseZeroRate, | ||
const Period & | lag, | ||
Frequency | frequency, | ||
const ext::shared_ptr< Seasonality > & | seasonality = {} |
||
) |
Definition at line 190 of file inflationtermstructure.cpp.
ZeroInflationTermStructure | ( | const Date & | referenceDate, |
const Calendar & | calendar, | ||
const DayCounter & | dayCounter, | ||
Rate | baseZeroRate, | ||
const Period & | lag, | ||
Frequency | frequency, | ||
const ext::shared_ptr< Seasonality > & | seasonality = {} |
||
) |
Definition at line 199 of file inflationtermstructure.cpp.
ZeroInflationTermStructure | ( | Natural | settlementDays, |
const Calendar & | calendar, | ||
const DayCounter & | dayCounter, | ||
Rate | baseZeroRate, | ||
const Period & | lag, | ||
Frequency | frequency, | ||
const ext::shared_ptr< Seasonality > & | seasonality = {} |
||
) |
Definition at line 210 of file inflationtermstructure.cpp.
QL_DEPRECATED_ENABLE_WARNING Rate zeroRate | ( | const Date & | d, |
const Period & | instObsLag = Period(-1,Days) , |
||
bool | forceLinearInterpolation = false , |
||
bool | extrapolate = false |
||
) | const |
zero-coupon inflation rate.
Essentially the fair rate for a zero-coupon inflation swap (by definition), i.e. the zero term structure uses yearly compounding, which is assumed for ZCIIS instrument quotes.
Definition at line 223 of file inflationtermstructure.cpp.
zero-coupon inflation rate.
Definition at line 259 of file inflationtermstructure.cpp.
to be defined in derived classes
Implemented in InterpolatedZeroInflationCurve< Interpolator >.