36 explicit RainbowOption(
const QuantLib::ext::shared_ptr<Conventions>& conventions =
nullptr,
37 const std::string&
tradeType =
"RainbowOption")
40 const std::vector<QuantLib::ext::shared_ptr<Underlying>>& underlyings,
const OptionData& optionData,
41 const std::string& settlement)
46 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
67 explicit FxRainbowOption(
const QuantLib::ext::shared_ptr<Conventions>& conventions =
nullptr)
CommodityRainbowOption(const QuantLib::ext::shared_ptr< Conventions > &conventions=nullptr)
EquityRainbowOption(const QuantLib::ext::shared_ptr< Conventions > &conventions=nullptr)
FxRainbowOption(const QuantLib::ext::shared_ptr< Conventions > &conventions=nullptr)
Serializable object holding option data.
RainbowOption(const std::string ¤cy, const std::string ¬ional, const std::string &strike, const std::vector< QuantLib::ext::shared_ptr< Underlying > > &underlyings, const OptionData &optionData, const std::string &settlement)
void setIsdaTaxonomyFields() override
std::vector< QuantLib::ext::shared_ptr< Underlying > > underlyings_
void fromXML(XMLNode *node) override
XMLNode * toXML(XMLDocument &doc) const override
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
RainbowOption(const QuantLib::ext::shared_ptr< Conventions > &conventions=nullptr, const std::string &tradeType="RainbowOption")
QuantLib::Real notional() const override
Return the current notional in npvCurrency. See individual sub-classes for the precise definition.
const string & tradeType() const
Small XML Document wrapper class.
Serializable Credit Default Swap.
trade option data model and serialization
scripted trade data model
base trade data model and serialization