24#ifndef quantlib_constant_capfloor_term_volatility_hpp
25#define quantlib_constant_capfloor_term_volatility_hpp
cap/floor term-volatility structure
Cap/floor term-volatility structure.
Volatility volatility(const Period &length, Rate strike, bool extrapolate=false) const
returns the volatility for a given cap/floor length and strike rate
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
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
static Date maxDate()
latest allowed date
Shared handle to an observable.
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