|
|
| CommodityVolatilityConfig () |
| | Default constructor.
|
|
| CommodityVolatilityConfig (const std::string &curveId, const std::string &curveDescription, const std::string ¤cy, const std::vector< QuantLib::ext::shared_ptr< VolatilityConfig > > &volatilityConfig, const std::string &dayCounter="A365", const std::string &calendar="NullCalendar", const std::string &futureConventionsId="", QuantLib::Natural optionExpiryRollDays=0, const std::string &priceCurveId="", const std::string &yieldCurveId="", const std::string "eSuffix="", const OneDimSolverConfig &solverConfig=OneDimSolverConfig(), const QuantLib::ext::optional< bool > &preferOutOfTheMoney=QuantLib::ext::nullopt) |
| | Explicit constructor.
|
|
const std::string & | currency () const |
|
const std::vector< QuantLib::ext::shared_ptr< VolatilityConfig > > & | volatilityConfig () const |
|
const std::string & | dayCounter () const |
|
const std::string & | calendar () const |
|
const std::string & | futureConventionsId () const |
|
QuantLib::Natural | optionExpiryRollDays () const |
|
const std::string & | priceCurveId () const |
|
const std::string & | yieldCurveId () const |
|
const std::string & | quoteSuffix () const |
|
OneDimSolverConfig | solverConfig () const |
|
const QuantLib::ext::optional< bool > & | preferOutOfTheMoney () const |
|
const ReportConfig & | reportConfig () const |
|
| CurveConfig (const string &curveID, const string &curveDescription, const vector< string > "es=vector< string >()) |
| | Detailed constructor.
|
|
| CurveConfig () |
| | Default constructor.
|
|
const string & | curveID () const |
|
const string & | curveDescription () const |
|
set< string > | requiredCurveIds (const CurveSpec::CurveType &curveType) const |
|
set< string > | requiredNames (const MarketObject o, const std::string &configuration) const |
|
map< CurveSpec::CurveType, set< string > > | requiredCurveIds () const |
|
map< MarketObject, set< string > > | requiredNames (const std::string &configuration) const |
|
map< pair< MarketObject, string >, set< string > > | requiredNames () const |
|
string & | curveID () |
|
string & | curveDescription () |
|
void | setRequiredCurveIds (const CurveSpec::CurveType &curveType, const set< string > &ids) |
|
void | setRequiredCurveIds (const map< CurveSpec::CurveType, set< string > > &ids) |
|
void | setRequiredNames (const MarketObject o, const std::string &configuration, const set< string > &ids) |
|
void | setRequiredNames (const map< std::pair< MarketObject, std::string >, set< string > > &ids) |
| virtual const vector< string > & | quotes () |
| | Return all the market quotes required for this config.
|
|
void | fromFile (const std::string &filename) |
|
void | toFile (const std::string &filename) const |
|
void | fromXMLString (const std::string &xml) |
| | Parse from XML string.
|
|
std::string | toXMLString () const |
| | Parse from XML string.
|
|
std::string | toXMLStringUnformatted () const |
Commodity volatility configuration.