Black volatility curve modeled as variance curve. More...
#include <qle/termstructures/blackvariancecurve3.hpp>
Public Member Functions | |
BlackVarianceCurve3 (Natural settlementDays, const Calendar &cal, BusinessDayConvention bdc, const DayCounter &dc, const std::vector< Time > ×, const std::vector< Handle< Quote > > &blackVolCurve, bool requireMonotoneVariance=true) | |
TermStructure interface | |
Date | maxDate () const override |
VolatilityTermStructure interface | |
Real | minStrike () const override |
Real | maxStrike () const override |
Observer interface | |
void | update () override |
LazyObject interface | |
void | performCalculations () const override |
Visitability | |
std::vector< Time > | times_ |
std::vector< Handle< Quote > > | quotes_ |
std::vector< Real > | variances_ |
Interpolation | varianceCurve_ |
bool | requireMonotoneVariance_ |
virtual void | accept (AcyclicVisitor &) override |
virtual Real | blackVarianceImpl (Time t, Real) const override |
Black volatility curve modeled as variance curve.
This class calculates time-dependent Black volatilities using as input a vector of (ATM) Black volatilities observed in the market.
The calculation is performed interpolating on the variance curve. Linear interpolation is used.
Definition at line 47 of file blackvariancecurve3.hpp.
BlackVarianceCurve3 | ( | Natural | settlementDays, |
const Calendar & | cal, | ||
BusinessDayConvention | bdc, | ||
const DayCounter & | dc, | ||
const std::vector< Time > & | times, | ||
const std::vector< Handle< Quote > > & | blackVolCurve, | ||
bool | requireMonotoneVariance = true |
||
) |
Definition at line 24 of file blackvariancecurve3.cpp.
|
override |
Definition at line 87 of file blackvariancecurve3.hpp.
|
override |
Definition at line 89 of file blackvariancecurve3.hpp.
|
override |
Definition at line 91 of file blackvariancecurve3.hpp.
|
override |
Definition at line 49 of file blackvariancecurve3.cpp.
|
override |
Definition at line 54 of file blackvariancecurve3.cpp.
|
overridevirtual |
Definition at line 93 of file blackvariancecurve3.hpp.
|
overrideprotectedvirtual |
Definition at line 66 of file blackvariancecurve3.cpp.
|
private |
Definition at line 78 of file blackvariancecurve3.hpp.
|
private |
Definition at line 79 of file blackvariancecurve3.hpp.
|
mutableprivate |
Definition at line 80 of file blackvariancecurve3.hpp.
|
mutableprivate |
Definition at line 81 of file blackvariancecurve3.hpp.
|
private |
Definition at line 82 of file blackvariancecurve3.hpp.