26#ifndef quantlib_caplet_constant_volatility_hpp
27#define quantlib_caplet_constant_volatility_hpp
Constant caplet volatility, no time-strike dependence.
Volatility volatilityImpl(Time, Rate) const override
implements the actual volatility calculation in derived classes
Handle< Quote > volatility_
Real minStrike() const override
the minimum strike for which the term structure can return vols
VolatilityType volatilityType() const override
Date maxDate() const override
the latest date for which the curve can return values
Real maxStrike() const override
the maximum strike for which the term structure can return vols
Real displacement() const override
ext::shared_ptr< SmileSection > smileSectionImpl(const Date &d) const override
static Date maxDate()
latest allowed date
Shared handle to an observable.
Optionlet (caplet/floorlet) volatility structure.
Volatility volatility(const Period &optionTenor, Rate strike, bool extrapolate=false) const
returns the volatility for a given option tenor and strike rate
virtual Natural settlementDays() const
the settlementDays used for reference date calculation
virtual const Date & referenceDate() const
the date at which discount = 1.0 and/or variance = 0.0
BusinessDayConvention
Business Day conventions.
Real Time
continuous quantity with 1-year units
unsigned QL_INTEGER Natural
positive integer
Real Volatility
volatility
optionlet (caplet/floorlet) volatility structure