51 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
54 std::map<AssetClass, std::set<std::string>>
55 underlyingIndices(
const QuantLib::ext::shared_ptr<ReferenceDataManager>& referenceDataManager =
nullptr)
const override;
Serializable object holding generic trade data, reporting dimensions.
Serializable Equity Option.
const string & equityName() const
std::map< AssetClass, std::set< std::string > > underlyingIndices(const QuantLib::ext::shared_ptr< ReferenceDataManager > &referenceDataManager=nullptr) const override
Add underlying Equity names.
virtual void fromXML(XMLNode *node) override
virtual XMLNode * toXML(XMLDocument &doc) const override
EquityUnderlying equityUnderlying_
const string & strikeCurrency() const
EquityOption()
Default constructor.
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
Build QuantLib/QuantExt instrument, link pricing engine.
EquityOption(Envelope &env, OptionData option, EquityUnderlying equityUnderlying, string currency, QuantLib::Real quantity, TradeStrike tradeStrike)
Constructor.
const std::string & name() const override
Serializable object holding option data.
Serializable Vanilla Option.
const string & currency() const
const OptionData & option() const
Small XML Document wrapper class.
Serializable Credit Default Swap.
vanilla option representation