37 void build(
const QuantLib::ext::shared_ptr<ore::data::EngineFactory>&)
override;
110 std::map<AssetClass, std::set<std::string>>
111 underlyingIndices(
const QuantLib::ext::shared_ptr<ReferenceDataManager>& referenceDataManager =
nullptr)
const override;
138 std::map<AssetClass, std::set<std::string>>
139 underlyingIndices(
const QuantLib::ext::shared_ptr<ReferenceDataManager>& referenceDataManager =
nullptr)
const override;
variance swap engine builder
std::map< AssetClass, std::set< std::string > > underlyingIndices(const QuantLib::ext::shared_ptr< ReferenceDataManager > &referenceDataManager=nullptr) const override
Add underlying Equity names.
ComVarSwap(ore::data::Envelope &env, string longShort, const QuantLib::ext::shared_ptr< ore::data::Underlying > &underlying, string currency, double strike, double notional, string startDate, string endDate, string momentType, bool addPastDividends)
Serializable object holding generic trade data, reporting dimensions.
EqVarSwap(ore::data::Envelope &env, string longShort, const QuantLib::ext::shared_ptr< ore::data::Underlying > &underlying, string currency, double strike, double notional, string startDate, string endDate, string momentType, bool addPastDividends)
std::map< AssetClass, std::set< std::string > > underlyingIndices(const QuantLib::ext::shared_ptr< ReferenceDataManager > &referenceDataManager=nullptr) const override
Add underlying Equity names.
FxVarSwap(ore::data::Envelope &env, string longShort, const QuantLib::ext::shared_ptr< ore::data::Underlying > &underlying, string currency, double strike, double notional, string startDate, string endDate, string momentType, bool addPastDividends)
AssetClass assetClassUnderlying()
QuantLib::ext::shared_ptr< ore::data::Underlying > underlying_
const std::string & name() const
AssetClass assetClassUnderlying_
VarSwap(ore::data::Envelope &env, string longShort, const QuantLib::ext::shared_ptr< ore::data::Underlying > &underlying, string currency, double strike, double notional, string startDate, string endDate, AssetClass assetClassUnderlying, string momentType, bool addPastDividends)
const string & calendar()
const string & startDate()
VarSwap(AssetClass assetClassUnderlying)
double notional() const override
Return the current notional in npvCurrency. See individual sub-classes for the precise definition.
const QuantLib::ext::shared_ptr< ore::data::Underlying > & underlying() const
virtual void fromXML(XMLNode *node) override
virtual XMLNode * toXML(ore::data::XMLDocument &doc) const override
void build(const QuantLib::ext::shared_ptr< ore::data::EngineFactory > &) override
const string & momentType()
const string & longShort()
const string & currency()
const bool addPastDividends()
Small XML Document wrapper class.
Serializable Credit Default Swap.
base trade data model and serialization