24#ifndef quantext_black_variance_curve_3_hpp
25#define quantext_black_variance_curve_3_hpp
27#include <ql/math/interpolation.hpp>
28#include <ql/patterns/lazyobject.hpp>
29#include <ql/quote.hpp>
30#include <ql/termstructures/volatility/equityfx/blackvoltermstructure.hpp>
50 BlackVarianceCurve3(Natural settlementDays,
const Calendar& cal, BusinessDayConvention bdc,
const DayCounter& dc,
51 const std::vector<Time>& times,
const std::vector<Handle<Quote> >& blackVolCurve,
52 bool requireMonotoneVariance =
true);
72 virtual void accept(AcyclicVisitor&)
override;
94 Visitor<BlackVarianceCurve3>* v1 =
dynamic_cast<Visitor<BlackVarianceCurve3>*
>(&v);
98 BlackVarianceTermStructure::accept(v);
Black volatility curve modeled as variance curve.
void performCalculations() const override
std::vector< Real > variances_
Real minStrike() const override
std::vector< Time > times_
virtual void accept(AcyclicVisitor &) override
bool requireMonotoneVariance_
Date maxDate() const override
Interpolation varianceCurve_
std::vector< Handle< Quote > > quotes_
virtual Real blackVarianceImpl(Time t, Real) const override
Real maxStrike() const override