29 ext::shared_ptr<AndreasenHugeVolatilityInterpl> localVol)
30 : localVol_(
std::move(localVol)) {}
48 std::max(
localVol_->minStrike(), strike)));
52 return localVol_->riskFreeRate()->calendar();
55 return localVol_->riskFreeRate()->dayCounter();
58 return localVol_->riskFreeRate()->referenceDate();
61 return localVol_->riskFreeRate()->settlementDays();
Implements the LocalVolTermStructure interface based on a Andreasen-Huge volatility interpolation.
Andreasen-Huge local volatility calibration and interpolation.
Calendar calendar() const override
the calendar used for reference and/or option date calculation
const ext::shared_ptr< AndreasenHugeVolatilityInterpl > localVol_
const Date & referenceDate() const override
the date at which discount = 1.0 and/or variance = 0.0
Real minStrike() const override
the minimum strike for which the term structure can return vols
Volatility localVolImpl(Time t, Real strike) const override
local vol calculation
Natural settlementDays() const override
the settlementDays used for reference date calculation
DayCounter dayCounter() const override
the day counter used for date/time conversion
Date maxDate() const override
the latest date for which the curve can return values
AndreasenHugeLocalVolAdapter(ext::shared_ptr< AndreasenHugeVolatilityInterpl > localVol)
Real maxStrike() const override
the maximum strike for which the term structure can return vols
Real Time
continuous quantity with 1-year units
unsigned QL_INTEGER Natural
positive integer
Real Volatility
volatility
Interest-rate term structure.