#include <qle/termstructures/blackvariancesurfacemoneyness.hpp>
Inheritance diagram for BlackVarianceSurfaceMoneynessForward:
Collaboration diagram for BlackVarianceSurfaceMoneynessForward:Public Member Functions | |
| BlackVarianceSurfaceMoneynessForward (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, const Handle< YieldTermStructure > &forTS, const Handle< YieldTermStructure > &domTS, bool stickyStrike=false, bool flatExtrapMoneyness=false) | |
| BlackVarianceSurfaceMoneynessForward (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, const Handle< YieldTermStructure > &forTS, const Handle< YieldTermStructure > &domTS, bool stickyStrike=false, bool flatExtrapMoneyness=false) | |
| Forward moneyness variance surface with a fixed reference date. More... | |
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 |
Private Member Functions | |
| void | init () |
| virtual Real | moneyness (Time t, Real strike) const override |
Private Attributes | |
| Handle< YieldTermStructure > | forTS_ |
| Handle< YieldTermStructure > | domTS_ |
| std::vector< Real > | forwards_ |
| QuantLib::Interpolation | forwardCurve_ |
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 143 of file blackvariancesurfacemoneyness.hpp.
| BlackVarianceSurfaceMoneynessForward | ( | const Calendar & | cal, |
| const Handle< Quote > & | spot, | ||
| const std::vector< Time > & | times, | ||
| const std::vector< Real > & | moneyness, | ||
| const std::vector< std::vector< Handle< Quote > > > & | blackVolMatrix, | ||
| const DayCounter & | dayCounter, | ||
| const Handle< YieldTermStructure > & | forTS, | ||
| const Handle< YieldTermStructure > & | domTS, | ||
| bool | stickyStrike = false, |
||
| bool | flatExtrapMoneyness = false |
||
| ) |
Moneyness is defined here as forward moneyness, ie K/F
Definition at line 147 of file blackvariancesurfacemoneyness.cpp.
Here is the call graph for this function:| BlackVarianceSurfaceMoneynessForward | ( | const Date & | referenceDate, |
| const Calendar & | cal, | ||
| const Handle< Quote > & | spot, | ||
| const std::vector< Time > & | times, | ||
| const std::vector< Real > & | moneyness, | ||
| const std::vector< std::vector< Handle< Quote > > > & | blackVolMatrix, | ||
| const DayCounter & | dayCounter, | ||
| const Handle< YieldTermStructure > & | forTS, | ||
| const Handle< YieldTermStructure > & | domTS, | ||
| bool | stickyStrike = false, |
||
| bool | flatExtrapMoneyness = false |
||
| ) |
Forward moneyness variance surface with a fixed reference date.
Definition at line 158 of file blackvariancesurfacemoneyness.cpp.
Here is the call graph for this function:
|
private |
Definition at line 169 of file blackvariancesurfacemoneyness.cpp.
Here is the caller graph for this function:
|
overrideprivatevirtual |
Implements BlackVarianceSurfaceMoneyness.
Definition at line 186 of file blackvariancesurfacemoneyness.cpp.
|
private |
Definition at line 166 of file blackvariancesurfacemoneyness.hpp.
|
private |
Definition at line 167 of file blackvariancesurfacemoneyness.hpp.
|
private |
Definition at line 168 of file blackvariancesurfacemoneyness.hpp.
|
private |
Definition at line 169 of file blackvariancesurfacemoneyness.hpp.