25#ifndef quantlib_abcd_atm_vol_curve_hpp
26#define quantlib_abcd_atm_vol_curve_hpp
48 std::vector<bool> inclusionInInterpolationFlag = std::vector<bool>(1,
true),
52 std::vector<Real>
k()
const;
111 mutable std::vector<Volatility>
vols_;
141 return k(
t) * (*interpolation_)(
t,
true);
Abcd interpolation interpolation between discrete points.
Actual/365 (Fixed) day counter.
Black at-the-money (no-smile) volatility curve base class.
Abcd-interpolated at-the-money (no-smile) volatility curve.
std::vector< Date > optionDates_
void registerWithMarketData()
void performCalculations() const override
Volatility atmVolImpl(Time t) const override
spot at-the-money volatility calculation (k adjusted)
std::vector< Volatility > actualVols_
Real minStrike() const override
the minimum strike for which the term structure can return vols
void initializeVolatilities()
EndCriteria::Type endCriteria() const
void accept(AcyclicVisitor &) override
const std::vector< Period > & optionTenors() const
const std::vector< Period > & optionTenorsInInterpolation() const
const std::vector< Time > & optionTimes() const
std::vector< Time > optionTimes_
std::vector< Real > k() const
Returns k adjustment factors for option tenors used in interpolation.
Date maxDate() const override
the latest date for which the curve can return values
std::vector< bool > inclusionInInterpolation_
const std::vector< Date > & optionDates() const
std::vector< Period > optionTenors_
std::vector< Period > actualOptionTenors_
std::vector< Volatility > vols_
void initializeOptionDatesAndTimes() const
Real atmVarianceImpl(Time t) const override
spot at-the-money variance calculation (k adjusted)
Real maxStrike() const override
the maximum strike for which the term structure can return vols
std::vector< Handle< Quote > > volHandles_
std::vector< Time > actualOptionTimes_
ext::shared_ptr< AbcdInterpolation > interpolation_
Actual/365 (Fixed) day count convention.
degenerate base class for the Acyclic Visitor pattern
Black at-the-money (no-smile) volatility curve.
Shared handle to an observable.
Framework for calculation on demand and result caching.
virtual void calculate() const
virtual Natural settlementDays() const
the settlementDays used for reference date calculation
Date optionDateFromTenor(const Period &) const
period/date conversion
BusinessDayConvention
Business Day conventions.
Real Time
continuous quantity with 1-year units
unsigned QL_INTEGER Natural
positive integer
Real Volatility
volatility
std::size_t Size
size of a container
framework for calculation on demand and result caching