Converts a CPIVolatilityStructure with fixed reference date into a floating reference date term structure. More...
#include <qle/termstructures/dynamiccpivolatilitystructure.hpp>
Public Member Functions | |
DynamicCPIVolatilitySurface (const QuantLib::ext::shared_ptr< CPIVolatilitySurface > &source, ReactionToTimeDecay decayMode=ConstantVariance) | |
Public Member Functions inherited from CPIVolatilitySurface | |
CPIVolatilitySurface (QuantLib::Natural settlementDays, const QuantLib::Calendar &, QuantLib::BusinessDayConvention bdc, const QuantLib::DayCounter &dc, const QuantLib::Period &observationLag, QuantLib::Frequency frequency, bool indexIsInterpolated, const QuantLib::Date &capFloorStartDate=QuantLib::Date(), QuantLib::VolatilityType volType=QuantLib::ShiftedLognormal, double displacement=0.0) | |
QuantLib::Date | optionDateFromTenor (const QuantLib::Period &tenor) const override |
Computes the expiry date from the capFloorStartDate() More... | |
QuantLib::Date | baseDate () const override |
base date will be in the past More... | |
QuantLib::VolatilityType | volatilityType () const |
Returns the volatility type. More... | |
double | displacement () const |
Returns the displacement for lognormal volatilities. More... | |
bool | isLogNormal () const |
QuantLib::Volatility | volatility (const QuantLib::Date &maturityDate, QuantLib::Rate strike, const QuantLib::Period &obsLag=QuantLib::Period(-1, QuantLib::Days), bool extrapolate=false) const override |
virtual QuantLib::Real | atmStrike (const QuantLib::Date &maturity, const QuantLib::Period &obsLag=QuantLib::Period(-1, QuantLib::Days)) const =0 |
QuantLib::Date | capFloorStartDate () const |
Protected Member Functions | |
CPIVolatilitySurface interface | |
Volatility | volatilityImpl (Time length, Rate strike) const override |
VolatilityTermStructure interface | |
Rate | minStrike () const override |
Rate | maxStrike () const override |
Date | maxDate () const override |
Protected Member Functions inherited from CPIVolatilitySurface | |
virtual double | fixingTime (const QuantLib::Date &maturityDate) const |
Computes the expiry time from the capFloorStartDate() More... | |
Observer interface | |
const QuantLib::ext::shared_ptr< CPIVolatilitySurface > | source_ |
ReactionToTimeDecay | decayMode_ |
const Date | originalReferenceDate_ |
void | update () override |
Additional Inherited Members | |
Protected Attributes inherited from CPIVolatilitySurface | |
QuantLib::VolatilityType | volType_ |
double | displacement_ |
Converts a CPIVolatilityStructure with fixed reference date into a floating reference date term structure.
Different ways of reacting to time decay can be specified.
Definition at line 41 of file dynamiccpivolatilitystructure.hpp.
DynamicCPIVolatilitySurface | ( | const QuantLib::ext::shared_ptr< CPIVolatilitySurface > & | source, |
ReactionToTimeDecay | decayMode = ConstantVariance |
||
) |
Definition at line 22 of file dynamiccpivolatilitystructure.cpp.
|
overrideprotected |
Definition at line 52 of file dynamiccpivolatilitystructure.cpp.
|
overrideprotected |
Definition at line 32 of file dynamiccpivolatilitystructure.cpp.
|
overrideprotected |
Definition at line 34 of file dynamiccpivolatilitystructure.cpp.
|
overrideprotected |
Definition at line 36 of file dynamiccpivolatilitystructure.cpp.
|
overrideprotected |
Definition at line 50 of file dynamiccpivolatilitystructure.cpp.
|
private |
Definition at line 69 of file dynamiccpivolatilitystructure.hpp.
|
private |
Definition at line 70 of file dynamiccpivolatilitystructure.hpp.
|
private |
Definition at line 71 of file dynamiccpivolatilitystructure.hpp.