39 const string& binaryLevel1,
const string& binaryLevel2,
const string& type1,
40 const string& type2,
const string& position,
41 const QuantLib::ext::shared_ptr<Underlying>& underlying1,
42 const QuantLib::ext::shared_ptr<Underlying>& underlying2,
43 const QuantLib::ext::shared_ptr<Underlying>& underlying3,
44 const QuantLib::ext::shared_ptr<Underlying>& underlying4,
const string& payCcy,
45 const QuantLib::ext::shared_ptr<Conventions>& conventions =
nullptr,
46 const std::string& binaryLevelUpper1 = std::string(),
47 const std::string& binaryLevelUpper2 = std::string())
55 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
string binaryLevelUpper2_
QuantLib::ext::shared_ptr< Underlying > underlying4_
QuantLib::ext::shared_ptr< Underlying > underlying1_
string binaryLevelUpper1_
QuantLib::ext::shared_ptr< Underlying > underlying3_
DoubleDigitalOption(const Envelope &env, const string &expiry, const string &settlement, const string &binaryPayout, const string &binaryLevel1, const string &binaryLevel2, const string &type1, const string &type2, const string &position, const QuantLib::ext::shared_ptr< Underlying > &underlying1, const QuantLib::ext::shared_ptr< Underlying > &underlying2, const QuantLib::ext::shared_ptr< Underlying > &underlying3, const QuantLib::ext::shared_ptr< Underlying > &underlying4, const string &payCcy, const QuantLib::ext::shared_ptr< Conventions > &conventions=nullptr, const std::string &binaryLevelUpper1=std::string(), const std::string &binaryLevelUpper2=std::string())
void fromXML(XMLNode *node) override
XMLNode * toXML(XMLDocument &doc) const override
QuantLib::ext::shared_ptr< Underlying > underlying2_
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
Serializable object holding generic trade data, reporting dimensions.
Small XML Document wrapper class.
Serializable Credit Default Swap.
scripted trade data model
base trade data model and serialization