Equity curve configuration. More...
#include <ored/configuration/equitycurveconfig.hpp>
Inheritance diagram for EquityCurveConfig:
Collaboration diagram for EquityCurveConfig:Public Types | |
| enum class | Type { DividendYield , ForwardPrice , OptionPremium , NoDividends , ForwardDividendPrice } |
| Supported equity curve types. More... | |
Public Member Functions | |
Constructors/Destructors | |
| EquityCurveConfig (const string &curveID, const string &curveDescription, const string &forecastingCurve, const string ¤cy, const string &calendar, const Type &type, const string &equitySpotQuote, const vector< string > "es, const string &dayCountID="", const string ÷ndInterpVariable="Zero", const string ÷ndInterpMethod="Linear", const bool dividendExtrapolation=false, const bool extrapolation=false, const QuantLib::Exercise::Type &exerciseStyle=QuantLib::Exercise::Type::European) | |
| Detailed constructor. More... | |
| EquityCurveConfig () | |
| Default constructor. More... | |
Serialisation | |
| void | fromXML (XMLNode *node) override |
| XMLNode * | toXML (XMLDocument &doc) const override |
Inspectors | |
| const string & | forecastingCurve () const |
| const string & | currency () const |
| const string & | calendar () const |
| const Type & | type () const |
| const string & | equitySpotQuoteID () const |
| const string & | dayCountID () const |
| const string & | dividendInterpolationVariable () const |
| const string & | dividendInterpolationMethod () const |
| bool | dividendExtrapolation () const |
| bool | extrapolation () const |
| const QuantLib::Exercise::Type | exerciseStyle () const |
| const vector< string > & | fwdQuotes () |
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 | |
| vector< string > | fwdQuotes_ |
| string | forecastingCurve_ |
| string | currency_ |
| string | calendar_ |
| Type | type_ |
| string | equitySpotQuoteID_ |
| string | dayCountID_ |
| string | divInterpVariable_ |
| string | divInterpMethod_ |
| bool | dividendExtrapolation_ |
| bool | extrapolation_ |
| QuantLib::Exercise::Type | exerciseStyle_ |
| string & | forecastingCurve () |
| Type & | type () |
| string & | equitySpotQuoteID () |
| string & | dayCountID () |
| string & | dividendInterpolationVariable () |
| string & | dividendInterpolationMethod () |
| bool & | dividendExtrapolation () |
| bool & | extrapolation () |
| QuantLib::Exercise::Type & | exerciseStyle () |
| void | setCurrency (const string ¤cy) |
| void | setCalendar (const string &calendar) |
| void | populateRequiredCurveIds () |
Additional Inherited Members | |
Protected Attributes inherited from CurveConfig | |
| string | curveID_ |
| string | curveDescription_ |
| vector< string > | quotes_ |
| map< CurveSpec::CurveType, set< string > > | requiredCurveIds_ |
Equity curve configuration.
Definition at line 48 of file equitycurveconfig.hpp.
|
strong |
Supported equity curve types.
| Enumerator | |
|---|---|
| DividendYield | |
| ForwardPrice | |
| OptionPremium | |
| NoDividends | |
| ForwardDividendPrice | |
Definition at line 51 of file equitycurveconfig.hpp.
| EquityCurveConfig | ( | const string & | curveID, |
| const string & | curveDescription, | ||
| const string & | forecastingCurve, | ||
| const string & | currency, | ||
| const string & | calendar, | ||
| const Type & | type, | ||
| const string & | equitySpotQuote, | ||
| const vector< string > & | quotes, | ||
| const string & | dayCountID = "", |
||
| const string & | dividendInterpVariable = "Zero", |
||
| const string & | dividendInterpMethod = "Linear", |
||
| const bool | dividendExtrapolation = false, |
||
| const bool | extrapolation = false, |
||
| const QuantLib::Exercise::Type & | exerciseStyle = QuantLib::Exercise::Type::European |
||
| ) |
Detailed constructor.
Definition at line 29 of file equitycurveconfig.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 50 of file equitycurveconfig.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 90 of file equitycurveconfig.cpp.
Here is the call graph for this function:| const string & forecastingCurve | ( | ) | const |
| const string & currency | ( | ) | const |
Definition at line 74 of file equitycurveconfig.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:| const string & calendar | ( | ) | const |
| const Type & type | ( | ) | const |
Definition at line 76 of file equitycurveconfig.hpp.
| const string & equitySpotQuoteID | ( | ) | const |
Definition at line 77 of file equitycurveconfig.hpp.
| const string & dayCountID | ( | ) | const |
Definition at line 78 of file equitycurveconfig.hpp.
| const string & dividendInterpolationVariable | ( | ) | const |
Definition at line 79 of file equitycurveconfig.hpp.
| const string & dividendInterpolationMethod | ( | ) | const |
Definition at line 80 of file equitycurveconfig.hpp.
| bool dividendExtrapolation | ( | ) | const |
Definition at line 81 of file equitycurveconfig.hpp.
| bool extrapolation | ( | ) | const |
Definition at line 82 of file equitycurveconfig.hpp.
| const QuantLib::Exercise::Type exerciseStyle | ( | ) | const |
Definition at line 83 of file equitycurveconfig.hpp.
| const vector< string > & fwdQuotes | ( | ) |
| string & forecastingCurve | ( | ) |
Definition at line 89 of file equitycurveconfig.hpp.
| Type & type | ( | ) |
Definition at line 90 of file equitycurveconfig.hpp.
| string & equitySpotQuoteID | ( | ) |
Definition at line 91 of file equitycurveconfig.hpp.
| string & dayCountID | ( | ) |
Definition at line 92 of file equitycurveconfig.hpp.
| string & dividendInterpolationVariable | ( | ) |
Definition at line 93 of file equitycurveconfig.hpp.
| string & dividendInterpolationMethod | ( | ) |
Definition at line 94 of file equitycurveconfig.hpp.
| bool & dividendExtrapolation | ( | ) |
Definition at line 95 of file equitycurveconfig.hpp.
| bool & extrapolation | ( | ) |
Definition at line 96 of file equitycurveconfig.hpp.
| QuantLib::Exercise::Type & exerciseStyle | ( | ) |
Definition at line 97 of file equitycurveconfig.hpp.
| void setCurrency | ( | const string & | currency | ) |
| void setCalendar | ( | const string & | calendar | ) |
|
private |
Definition at line 45 of file equitycurveconfig.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 106 of file equitycurveconfig.hpp.
|
private |
Definition at line 107 of file equitycurveconfig.hpp.
|
private |
Definition at line 108 of file equitycurveconfig.hpp.
|
private |
Definition at line 109 of file equitycurveconfig.hpp.
|
private |
Definition at line 110 of file equitycurveconfig.hpp.
|
private |
Definition at line 111 of file equitycurveconfig.hpp.
|
private |
Definition at line 112 of file equitycurveconfig.hpp.
|
private |
Definition at line 113 of file equitycurveconfig.hpp.
|
private |
Definition at line 114 of file equitycurveconfig.hpp.
|
private |
Definition at line 115 of file equitycurveconfig.hpp.
|
private |
Definition at line 116 of file equitycurveconfig.hpp.
|
private |
Definition at line 117 of file equitycurveconfig.hpp.