Equity volatility structure configuration. More...
#include <ored/configuration/equityvolcurveconfig.hpp>
Public Member Functions | |
Constructors/Destructors | |
EquityVolatilityCurveConfig () | |
Default constructor. More... | |
EquityVolatilityCurveConfig (const string &curveID, const string &curveDescription, const string ¤cy, const std::vector< QuantLib::ext::shared_ptr< VolatilityConfig > > &volatilityConfig, const string &equityId=string(), const string &dayCounter="A365", const string &calendar="NullCalendar", const OneDimSolverConfig &solverConfig=OneDimSolverConfig(), const boost::optional< bool > &preferOutOfTheMoney=boost::none) | |
Detailed constructor. More... | |
EquityVolatilityCurveConfig (const string &curveID, const string &curveDescription, const string ¤cy, const QuantLib::ext::shared_ptr< VolatilityConfig > &volatilityConfig, const string &equityId=string(), const string &dayCounter="A365", const string &calendar="NullCalendar", const OneDimSolverConfig &solverConfig=OneDimSolverConfig(), const boost::optional< bool > &preferOutOfTheMoney=boost::none) | |
Serialisation | |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (XMLDocument &doc) const override |
Inspectors | |
const string & | equityId () const |
const string & | ccy () const |
const string & | dayCounter () const |
const string & | calendar () const |
const std::vector< QuantLib::ext::shared_ptr< VolatilityConfig > > & | volatilityConfig () const |
const string | quoteStem (const std::string &volType) const |
void | populateQuotes () |
bool | isProxySurface () |
OneDimSolverConfig | solverConfig () const |
const boost::optional< bool > & | preferOutOfTheMoney () const |
const ReportConfig & | reportConfig () const |
Public Member Functions inherited from CurveConfig | |
CurveConfig (const string &curveID, const string &curveDescription, const vector< string > "es=vector< string >()) | |
Detailed constructor. More... | |
CurveConfig () | |
Default constructor. More... | |
const string & | curveID () const |
const string & | curveDescription () const |
const set< string > & | requiredCurveIds (const CurveSpec::CurveType &curveType) const |
const map< CurveSpec::CurveType, set< string > > & | requiredCurveIds () const |
string & | curveID () |
string & | curveDescription () |
set< string > & | requiredCurveIds (const CurveSpec::CurveType &curveType) |
map< CurveSpec::CurveType, set< string > > & | requiredCurveIds () |
virtual const vector< string > & | quotes () |
Return all the market quotes required for this config. More... | |
Public Member Functions inherited from XMLSerializable | |
virtual | ~XMLSerializable () |
virtual void | fromXML (XMLNode *node)=0 |
virtual XMLNode * | toXML (XMLDocument &doc) const =0 |
void | fromFile (const std::string &filename) |
void | toFile (const std::string &filename) const |
void | fromXMLString (const std::string &xml) |
Parse from XML string. More... | |
std::string | toXMLString () const |
Parse from XML string. More... | |
Setters | |
string | ccy_ |
std::vector< QuantLib::ext::shared_ptr< VolatilityConfig > > | volatilityConfig_ |
string | equityId_ |
string | dayCounter_ |
string | calendar_ |
OneDimSolverConfig | solverConfig_ |
boost::optional< bool > | preferOutOfTheMoney_ |
ReportConfig | reportConfig_ |
string & | ccy () |
string & | dayCounter () |
void | populateRequiredCurveIds () |
static OneDimSolverConfig | defaultSolverConfig () |
Additional Inherited Members | |
Protected Attributes inherited from CurveConfig | |
string | curveID_ |
string | curveDescription_ |
vector< string > | quotes_ |
map< CurveSpec::CurveType, set< string > > | requiredCurveIds_ |
Equity volatility structure configuration.
Definition at line 47 of file equityvolcurveconfig.hpp.
EquityVolatilityCurveConfig | ( | const string & | curveID, |
const string & | curveDescription, | ||
const string & | currency, | ||
const std::vector< QuantLib::ext::shared_ptr< VolatilityConfig > > & | volatilityConfig, | ||
const string & | equityId = string() , |
||
const string & | dayCounter = "A365" , |
||
const string & | calendar = "NullCalendar" , |
||
const OneDimSolverConfig & | solverConfig = OneDimSolverConfig() , |
||
const boost::optional< bool > & | preferOutOfTheMoney = boost::none |
||
) |
Detailed constructor.
Definition at line 30 of file equityvolcurveconfig.cpp.
EquityVolatilityCurveConfig | ( | const string & | curveID, |
const string & | curveDescription, | ||
const string & | currency, | ||
const QuantLib::ext::shared_ptr< VolatilityConfig > & | volatilityConfig, | ||
const string & | equityId = string() , |
||
const string & | dayCounter = "A365" , |
||
const string & | calendar = "NullCalendar" , |
||
const OneDimSolverConfig & | solverConfig = OneDimSolverConfig() , |
||
const boost::optional< bool > & | preferOutOfTheMoney = boost::none |
||
) |
Definition at line 42 of file equityvolcurveconfig.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 95 of file equityvolcurveconfig.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 176 of file equityvolcurveconfig.cpp.
const string & equityId | ( | ) | const |
const string & ccy | ( | ) | const |
Definition at line 77 of file equityvolcurveconfig.hpp.
const string & dayCounter | ( | ) | const |
const string & calendar | ( | ) | const |
const std::vector< QuantLib::ext::shared_ptr< VolatilityConfig > > & volatilityConfig | ( | ) | const |
const string quoteStem | ( | const std::string & | volType | ) | const |
Definition at line 51 of file equityvolcurveconfig.cpp.
void populateQuotes | ( | ) |
Definition at line 55 of file equityvolcurveconfig.cpp.
bool isProxySurface | ( | ) |
Definition at line 207 of file equityvolcurveconfig.cpp.
OneDimSolverConfig solverConfig | ( | ) | const |
Definition at line 216 of file equityvolcurveconfig.cpp.
const boost::optional< bool > & preferOutOfTheMoney | ( | ) | const |
Definition at line 85 of file equityvolcurveconfig.hpp.
const ReportConfig & reportConfig | ( | ) | const |
string & ccy | ( | ) |
Definition at line 93 of file equityvolcurveconfig.hpp.
string & dayCounter | ( | ) |
Definition at line 94 of file equityvolcurveconfig.hpp.
|
private |
Definition at line 82 of file equityvolcurveconfig.cpp.
|
staticprivate |
Definition at line 220 of file equityvolcurveconfig.cpp.
|
private |
Definition at line 100 of file equityvolcurveconfig.hpp.
|
private |
Definition at line 101 of file equityvolcurveconfig.hpp.
|
private |
Definition at line 102 of file equityvolcurveconfig.hpp.
|
private |
Definition at line 103 of file equityvolcurveconfig.hpp.
|
private |
Definition at line 104 of file equityvolcurveconfig.hpp.
|
private |
Definition at line 105 of file equityvolcurveconfig.hpp.
|
private |
Definition at line 106 of file equityvolcurveconfig.hpp.
|
private |
Definition at line 107 of file equityvolcurveconfig.hpp.