#include <qle/termstructures/blackvariancesurfacestddevs.hpp>
Public Member Functions | |
BlackVarianceSurfaceStdDevs (const Calendar &cal, const Handle< Quote > &spot, const std::vector< Time > ×, const std::vector< Real > &stdDevs, const std::vector< std::vector< Handle< Quote > > > &blackVolMatrix, const DayCounter &dayCounter, const QuantLib::ext::shared_ptr< EqFxIndexBase > &index, bool stickyStrike=false, bool flatExtrapMoneyness=false) | |
Public Member Functions inherited from BlackVarianceSurfaceMoneyness | |
BlackVarianceSurfaceMoneyness (const Calendar &cal, const Handle< Quote > &spot, const std::vector< Time > ×, const std::vector< Real > &moneyness, const std::vector< std::vector< Handle< Quote > > > &blackVolMatrix, const DayCounter &dayCounter, bool stickyStrike, bool flatExtrapMoneyness=false) | |
BlackVarianceSurfaceMoneyness (const Date &referenceDate, const Calendar &cal, const Handle< Quote > &spot, const std::vector< Time > ×, const std::vector< Real > &moneyness, const std::vector< std::vector< Handle< Quote > > > &blackVolMatrix, const DayCounter &dayCounter, bool stickyStrike, bool flatExtrapMoneyness=false) | |
Moneyness variance surface with a fixed reference date. More... | |
Date | maxDate () const override |
Real | minStrike () const override |
Real | maxStrike () const override |
void | update () override |
void | performCalculations () const override |
virtual void | accept (AcyclicVisitor &) override |
std::vector< QuantLib::Real > | moneyness () const |
Static Public Member Functions | |
static void | populateVolMatrix (const QuantLib::Handle< QuantLib::BlackVolTermStructure > &termStructre, std::vector< std::vector< Handle< QuantLib::Quote > > > "esToPopulate, const std::vector< Real > ×, const std::vector< Real > &stdDevPoints, const QuantLib::Interpolation &forwardCurve, const QuantLib::Interpolation atmVolCurve) |
Private Member Functions | |
virtual Real | moneyness (Time t, Real strike) const override |
Private Attributes | |
QuantLib::ext::shared_ptr< EqFxIndexBase > | index_ |
std::vector< Real > | forwards_ |
Interpolation | forwardCurve_ |
Interpolation | atmVarCurve_ |
std::vector< Time > | atmTimes_ |
std::vector< Real > | atmVariances_ |
bool | flatExtrapolateMoneyness_ |
Additional Inherited Members | |
Protected Member Functions inherited from BlackVarianceSurfaceMoneyness | |
Protected Attributes inherited from BlackVarianceSurfaceMoneyness | |
bool | stickyStrike_ |
Handle< Quote > | spot_ |
std::vector< Time > | times_ |
std::vector< Real > | moneyness_ |
bool | flatExtrapMoneyness_ |
Black volatility surface based on forward moneyness
Definition at line 40 of file blackvariancesurfacestddevs.hpp.
BlackVarianceSurfaceStdDevs | ( | const Calendar & | cal, |
const Handle< Quote > & | spot, | ||
const std::vector< Time > & | times, | ||
const std::vector< Real > & | stdDevs, | ||
const std::vector< std::vector< Handle< Quote > > > & | blackVolMatrix, | ||
const DayCounter & | dayCounter, | ||
const QuantLib::ext::shared_ptr< EqFxIndexBase > & | index, | ||
bool | stickyStrike = false , |
||
bool | flatExtrapMoneyness = false |
||
) |
Definition at line 28 of file blackvariancesurfacestddevs.cpp.
|
static |
Definition at line 92 of file blackvariancesurfacestddevs.cpp.
|
overrideprivatevirtual |
Implements BlackVarianceSurfaceMoneyness.
Definition at line 60 of file blackvariancesurfacestddevs.cpp.
|
private |
Definition at line 62 of file blackvariancesurfacestddevs.hpp.
|
private |
Definition at line 63 of file blackvariancesurfacestddevs.hpp.
|
private |
Definition at line 64 of file blackvariancesurfacestddevs.hpp.
|
private |
Definition at line 65 of file blackvariancesurfacestddevs.hpp.
|
private |
Definition at line 66 of file blackvariancesurfacestddevs.hpp.
|
private |
Definition at line 67 of file blackvariancesurfacestddevs.hpp.
|
private |
Definition at line 68 of file blackvariancesurfacestddevs.hpp.