26#include <ql/math/interpolation.hpp>
27#include <ql/patterns/lazyobject.hpp>
28#include <ql/quote.hpp>
29#include <ql/termstructures/volatility/equityfx/blackvoltermstructure.hpp>
42 const std::vector<Handle<Quote>>& volSpreads,
43 const bool useAtmReferenceVolsOnly =
false);
60 mutable std::vector<Real>
data_;
Spreaded Black volatility curve modeled as variance curve.
void performCalculations() const override
Handle< BlackVolTermStructure > referenceVol_
Calendar calendar() const override
Real blackVolImpl(Time t, Real) const override
const Date & referenceDate() const override
Real minStrike() const override
std::vector< Time > times_
bool useAtmReferenceVolsOnly_
Natural settlementDays() const override
Date maxDate() const override
Real maxStrike() const override
QuantLib::ext::shared_ptr< Interpolation > interpolation_
std::vector< Handle< Quote > > volSpreads_
std::vector< Real > data_