32 ConstantCPIVolatility(QuantLib::Volatility v, QuantLib::Natural settlementDays,
const QuantLib::Calendar&,
33 QuantLib::BusinessDayConvention bdc,
const QuantLib::DayCounter& dc,
34 const QuantLib::Period& observationLag, QuantLib::Frequency frequency,
35 bool indexIsInterpolated,
const QuantLib::Date&
capFloorStartDate = QuantLib::Date(),
36 QuantLib::VolatilityType volType = QuantLib::ShiftedLognormal,
double displacement = 0.0);
38 QuantLib::Date
maxDate()
const override {
return QuantLib::Date::maxDate(); }
40 QuantLib::Real
minStrike()
const override {
return QL_MIN_REAL; }
42 QuantLib::Real
maxStrike()
const override {
return QL_MAX_REAL; }
44 QuantLib::Real
atmStrike(
const QuantLib::Date& maturity,
45 const QuantLib::Period& obsLag = QuantLib::Period(-1, QuantLib::Days))
const override;
48 virtual QuantLib::Volatility
volatilityImpl(QuantLib::Time length, QuantLib::Rate strike)
const override;
double displacement() const
Returns the displacement for lognormal volatilities.
QuantLib::Date capFloorStartDate() const
QuantLib::Real minStrike() const override
QuantLib::Real maxStrike() const override
QuantLib::Date maxDate() const override
QuantLib::Real atmStrike(const QuantLib::Date &maturity, const QuantLib::Period &obsLag=QuantLib::Period(-1, QuantLib::Days)) const override
virtual QuantLib::Volatility volatilityImpl(QuantLib::Time length, QuantLib::Rate strike) const override
interpolated correlation term structure