EQ Black Scholes parametrization. More...
#include <qle/models/eqbsconstantparametrization.hpp>
Public Member Functions | |
EqBsConstantParametrization (const Currency ¤cy, const std::string &eqName, const Handle< Quote > &eqSpotToday, const Handle< Quote > &fxSpotToday, const Real sigma, const Handle< YieldTermStructure > &eqIrCurveToday, const Handle< YieldTermStructure > &eqDivYieldCurveToday) | |
Real | variance (const Time t) const override |
Real | sigma (const Time t) const override |
const QuantLib::ext::shared_ptr< Parameter > | parameter (const Size) const override |
Public Member Functions inherited from EqBsParametrization | |
EqBsParametrization (const Currency &eqCcy, const std::string &eqName, const Handle< Quote > &equitySpotToday, const Handle< Quote > &fxSpotToday, const Handle< YieldTermStructure > &equityIrCurveToday, const Handle< YieldTermStructure > &equityDivYieldCurveToday) | |
virtual Real | variance (const Time t) const =0 |
virtual Real | sigma (const Time t) const |
virtual Real | stdDeviation (const Time t) const |
const Handle< Quote > | eqSpotToday () const |
const Handle< Quote > | fxSpotToday () const |
const Handle< YieldTermStructure > | equityIrCurveToday () const |
const Handle< YieldTermStructure > | equityDivYieldCurveToday () const |
Size | numberOfParameters () const override |
Public Member Functions inherited from Parametrization | |
Parametrization (const Currency ¤cy, const std::string &name="") | |
virtual | ~Parametrization () |
virtual const Currency & | currency () const |
virtual const Array & | parameterTimes (const Size) const |
virtual Size | numberOfParameters () const |
virtual Array | parameterValues (const Size) const |
virtual const QuantLib::ext::shared_ptr< Parameter > | parameter (const Size) const |
virtual void | update () const |
const std::string & | name () const |
virtual Real | direct (const Size, const Real x) const |
virtual Real | inverse (const Size, const Real y) const |
Protected Member Functions | |
Real | direct (const Size i, const Real x) const override |
Real | inverse (const Size i, const Real y) const override |
Protected Member Functions inherited from Parametrization | |
Time | tr (const Time t) const |
Time | tl (const Time t) const |
Time | tr2 (const Time t) const |
Time | tm2 (const Time t) const |
Time | tl2 (const Time t) const |
Private Attributes | |
const QuantLib::ext::shared_ptr< PseudoParameter > | sigma_ |
Additional Inherited Members | |
Protected Attributes inherited from Parametrization | |
const Real | h_ |
const Real | h2_ |
EQ Black Scholes parametrization.
EQ Black Scholes parametrization, with constant volatility
Definition at line 34 of file eqbsconstantparametrization.hpp.
EqBsConstantParametrization | ( | const Currency & | currency, |
const std::string & | eqName, | ||
const Handle< Quote > & | eqSpotToday, | ||
const Handle< Quote > & | fxSpotToday, | ||
const Real | sigma, | ||
const Handle< YieldTermStructure > & | eqIrCurveToday, | ||
const Handle< YieldTermStructure > & | eqDivYieldCurveToday | ||
) |
The currency refers to the equity currency, the spots are as of today (i.e. the discounted spot)
Definition at line 24 of file eqbsconstantparametrization.cpp.
|
overridevirtual |
must satisfy variance(0) = 0.0, variance'(t) >= 0
Implements EqBsParametrization.
Definition at line 60 of file eqbsconstantparametrization.hpp.
|
overridevirtual |
is supposed to be positive
Reimplemented from EqBsParametrization.
Definition at line 64 of file eqbsconstantparametrization.hpp.
|
overridevirtual |
the parameter storing the raw parameter values
Reimplemented from Parametrization.
Definition at line 66 of file eqbsconstantparametrization.hpp.
|
overrideprotectedvirtual |
transformations between raw and actual parameters
Reimplemented from Parametrization.
Definition at line 56 of file eqbsconstantparametrization.hpp.
|
overrideprotectedvirtual |
Reimplemented from Parametrization.
Definition at line 58 of file eqbsconstantparametrization.hpp.
|
private |
Definition at line 51 of file eqbsconstantparametrization.hpp.