Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
DoubleDigitalOption Class Reference

#include <ored/portfolio/doubledigitaloption.hpp>

+ Inheritance diagram for DoubleDigitalOption:
+ Collaboration diagram for DoubleDigitalOption:

Public Member Functions

 DoubleDigitalOption ()
 
 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 build (const QuantLib::ext::shared_ptr< EngineFactory > &) override
 
void fromXML (XMLNode *node) override
 
XMLNodetoXML (XMLDocument &doc) const override
 
- Public Member Functions inherited from ScriptedTrade
 ScriptedTrade (const std::string &tradeType="ScriptedTrade", const Envelope &env=Envelope())
 
 ScriptedTrade (const Envelope &env, const std::vector< ScriptedTradeEventData > &events, const std::vector< ScriptedTradeValueTypeData > &numbers, const std::vector< ScriptedTradeValueTypeData > &indices, const std::vector< ScriptedTradeValueTypeData > &currencies, const std::vector< ScriptedTradeValueTypeData > &daycounters, const std::map< std::string, ScriptedTradeScriptData > &script, const std::string &productTag, const std::string &tradeType="ScriptedTrade")
 
 ScriptedTrade (const Envelope &env, const std::vector< ScriptedTradeEventData > &events, const std::vector< ScriptedTradeValueTypeData > &numbers, const std::vector< ScriptedTradeValueTypeData > &indices, const std::vector< ScriptedTradeValueTypeData > &currencies, const std::vector< ScriptedTradeValueTypeData > &daycounters, const std::string &scriptName, const std::string &tradeType="ScriptedTrade")
 
void clear ()
 
void build (const QuantLib::ext::shared_ptr< EngineFactory > &) override
 
QuantLib::Real notional () const override
 Return the current notional in npvCurrency. See individual sub-classes for the precise definition. More...
 
std::string notionalCurrency () const override
 
void fromXML (XMLNode *node) override
 
XMLNodetoXML (ore::data::XMLDocument &doc) const override
 
void build (const QuantLib::ext::shared_ptr< EngineFactory > &engineFactory, const PremiumData &premiumData, const Real premiumMultiplier)
 
std::map< ore::data::AssetClass, std::set< std::string > > underlyingIndices (const QuantLib::ext::shared_ptr< ReferenceDataManager > &referenceDataManager=nullptr) const override
 
virtual void setIsdaTaxonomyFields ()
 
const std::vector< ScriptedTradeEventData > & events () const
 
const std::vector< ScriptedTradeValueTypeData > & numbers () const
 
const std::vector< ScriptedTradeValueTypeData > & indices () const
 
const std::vector< ScriptedTradeValueTypeData > & currencies () const
 
const std::vector< ScriptedTradeValueTypeData > & daycounters () const
 
const std::map< std::string, ScriptedTradeScriptData > & script () const
 
const std::string & productTag () const
 
const std::string & scriptName () const
 
const std::string & simmProductClass () const
 
const std::string & scheduleProductClass () const
 
const ScriptedTradeScriptDatascript (const std::string &purpose, const bool fallBackOnEmptyPurpose=true) const
 
- Public Member Functions inherited from Trade
 Trade ()
 Default constructor. More...
 
 Trade (const string &tradeType, const Envelope &env=Envelope(), const TradeActions &ta=TradeActions())
 Base class constructor. More...
 
virtual ~Trade ()
 Default destructor. More...
 
virtual void build (const QuantLib::ext::shared_ptr< EngineFactory > &)=0
 
virtual std::map< std::string, RequiredFixings::FixingDatesfixings (const QuantLib::Date &settlementDate=QuantLib::Date()) const
 
const RequiredFixingsrequiredFixings () const
 
virtual std::map< AssetClass, std::set< std::string > > underlyingIndices (const QuantLib::ext::shared_ptr< ReferenceDataManager > &referenceDataManager=nullptr) const
 
void reset ()
 Reset trade, clear all base class data. This does not reset accumulated timings for this trade. More...
 
void resetPricingStats (const std::size_t numberOfPricings=0, const boost::timer::nanosecond_type cumulativePricingTime=0)
 Reset accumulated timings to given values. More...
 
string & id ()
 Set the trade id. More...
 
void setEnvelope (const Envelope &envelope)
 Set the envelope with counterparty and portfolio info. More...
 
void setAdditionalData (const std::map< std::string, boost::any > &additionalData)
 
TradeActionstradeActions ()
 Set the trade actions. More...
 
const string & id () const
 
const string & tradeType () const
 
const Envelopeenvelope () const
 
const set< string > & portfolioIds () const
 
const TradeActionstradeActions () const
 
const QuantLib::ext::shared_ptr< InstrumentWrapper > & instrument () const
 
const std::vector< QuantLib::Leg > & legs () const
 
const std::vector< string > & legCurrencies () const
 
const std::vector< bool > & legPayers () const
 
const string & npvCurrency () const
 
const Date & maturity () const
 
virtual bool isExpired (const Date &d)
 
const string & issuer () const
 
template<typename T >
additionalDatum (const std::string &tag) const
 returns any additional datum. More...
 
virtual const std::map< std::string, boost::any > & additionalData () const
 returns all additional data returned by the trade once built More...
 
const std::string & sensitivityTemplate () const
 
void validate () const
 Utility to validate that everything that needs to be set in this base class is actually set. More...
 
virtual bool hasCashflows () const
 
boost::timer::nanosecond_type getCumulativePricingTime () const
 Get cumulative timing spent on pricing. More...
 
std::size_t getNumberOfPricings () const
 Get number of pricings. More...
 
- Public Member Functions inherited from XMLSerializable
virtual ~XMLSerializable ()
 
virtual void fromXML (XMLNode *node)=0
 
virtual XMLNodetoXML (XMLDocument &doc) const =0
 
void fromFile (const std::string &filename)
 
void toFile (const std::string &filename) const
 
void fromXMLString (const std::string &xml)
 Parse from XML string. More...
 
std::string toXMLString () const
 Parse from XML string. More...
 

Private Member Functions

void initIndices ()
 

Private Attributes

string expiry_
 
string settlement_
 
string binaryPayout_
 
string binaryLevel1_
 
string binaryLevel2_
 
string type1_
 
string type2_
 
string position_
 
string payCcy_
 
string binaryLevelUpper1_
 
string binaryLevelUpper2_
 
QuantLib::ext::shared_ptr< Underlyingunderlying1_
 
QuantLib::ext::shared_ptr< Underlyingunderlying2_
 
QuantLib::ext::shared_ptr< Underlyingunderlying3_
 
QuantLib::ext::shared_ptr< Underlyingunderlying4_
 

Additional Inherited Members

- Protected Member Functions inherited from Trade
Date addPremiums (std::vector< QuantLib::ext::shared_ptr< Instrument > > &instruments, std::vector< Real > &multipliers, const Real tradeMultiplier, const PremiumData &premiumData, const Real premiumMultiplier, const Currency &tradeCurrency, const QuantLib::ext::shared_ptr< EngineFactory > &factory, const string &configuration)
 
void setLegBasedAdditionalData (const Size legNo, Size resultLegId=Null< Size >()) const
 
void setSensitivityTemplate (const EngineBuilder &builder)
 
void setSensitivityTemplate (const std::string &id)
 
- Protected Attributes inherited from ScriptedTrade
std::vector< ScriptedTradeEventDataevents_
 
std::vector< ScriptedTradeValueTypeDatanumbers_
 
std::vector< ScriptedTradeValueTypeDataindices_
 
std::vector< ScriptedTradeValueTypeDatacurrencies_
 
std::vector< ScriptedTradeValueTypeDatadaycounters_
 
std::map< std::string, ScriptedTradeScriptDatascript_
 
std::string productTag_
 
std::string scriptName_
 
std::string simmProductClass_
 
std::string scheduleProductClass_
 
- Protected Attributes inherited from Trade
string tradeType_
 
QuantLib::ext::shared_ptr< InstrumentWrapperinstrument_
 
std::vector< QuantLib::Leg > legs_
 
std::vector< string > legCurrencies_
 
std::vector< boollegPayers_
 
string npvCurrency_
 
QuantLib::Real notional_
 
string notionalCurrency_
 
Date maturity_
 
string issuer_
 
string sensitivityTemplate_
 
bool sensitivityTemplateSet_ = false
 
std::size_t savedNumberOfPricings_ = 0
 
boost::timer::nanosecond_type savedCumulativePricingTime_ = 0
 
RequiredFixings requiredFixings_
 
std::map< std::string, boost::any > additionalData_
 

Detailed Description

Definition at line 35 of file doubledigitaloption.hpp.

Constructor & Destructor Documentation

◆ DoubleDigitalOption() [1/2]

Definition at line 37 of file doubledigitaloption.hpp.

37: ScriptedTrade("DoubleDigitalOption") {}
ScriptedTrade(const std::string &tradeType="ScriptedTrade", const Envelope &env=Envelope())

◆ DoubleDigitalOption() [2/2]

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() 
)

Definition at line 38 of file doubledigitaloption.hpp.

48 : ScriptedTrade("DoubleDigitalOption", env), expiry_(expiry), settlement_(settlement),
49 binaryPayout_(binaryPayout), binaryLevel1_(binaryLevel1), binaryLevel2_(binaryLevel2), type1_(type1),
50 type2_(type2), position_(position), payCcy_(payCcy), binaryLevelUpper1_(binaryLevelUpper1),
51 binaryLevelUpper2_(binaryLevelUpper2), underlying1_(underlying1),
52 underlying2_(underlying2), underlying3_(underlying3), underlying4_(underlying4) {
54 }
QuantLib::ext::shared_ptr< Underlying > underlying4_
QuantLib::ext::shared_ptr< Underlying > underlying1_
QuantLib::ext::shared_ptr< Underlying > underlying3_
QuantLib::ext::shared_ptr< Underlying > underlying2_
+ Here is the call graph for this function:

Member Function Documentation

◆ build()

void build ( const QuantLib::ext::shared_ptr< EngineFactory > &  )
overridevirtual

Build QuantLib/QuantExt instrument, link pricing engine. If build() is called multiple times, reset() should be called between these calls.

Implements Trade.

Definition at line 40 of file doubledigitaloption.cpp.

40 {
41
42 // set script parameters
43
44 clear();
46
47 events_.emplace_back("Expiry", expiry_);
48 events_.emplace_back("Settlement", settlement_);
49
50
51 std::string lowerBound1, upperBound1, lowerBound2, upperBound2;
52 std::tie(lowerBound1, upperBound1) = getLowerAndUpperBound(type1_, binaryLevel1_, binaryLevelUpper1_);
53 std::tie(lowerBound2, upperBound2) = getLowerAndUpperBound(type2_, binaryLevel2_, binaryLevelUpper2_);
54
55 numbers_.emplace_back("Number", "BinaryPayout", binaryPayout_);
56 numbers_.emplace_back("Number", "LowerBound1", lowerBound1);
57 numbers_.emplace_back("Number", "UpperBound1", upperBound1);
58 numbers_.emplace_back("Number", "LowerBound2", lowerBound2);
59 numbers_.emplace_back("Number", "UpperBound2", upperBound2);
60
61 Position::Type position = parsePositionType(position_);
62 numbers_.emplace_back("Number", "LongShort", position == Position::Long ? "1" : "-1");
63
64 currencies_.emplace_back("Currency", "PayCcy", payCcy_);
65
66 // check underlying types
67 QL_REQUIRE(underlying1_->type() == "Equity" || underlying1_->type() == "Commodity" ||
68 underlying1_->type() == "FX" || underlying1_->type() == "InterestRate",
69 "underlying type " << underlying1_->type() << " not supported");
70 QL_REQUIRE(underlying2_->type() == "Equity" || underlying2_->type() == "Commodity" ||
71 underlying2_->type() == "FX" || underlying2_->type() == "InterestRate",
72 "underlying type " << underlying2_->type() << " not supported");
73 if (underlying3_) {
74 QL_REQUIRE(underlying3_->type() == "Equity" || underlying3_->type() == "Commodity" ||
75 underlying3_->type() == "FX" || underlying3_->type() == "InterestRate",
76 "underlying type " << underlying3_->type() << " not supported");
77
78 QL_REQUIRE(underlying1_->type() == underlying3_->type(),
79 "Underlying1 and Underlying3 must belong to the same asset class. Got "
80 << underlying1_->type() << " and " << underlying3_->type());
81 }
82 if (underlying4_) {
83 QL_REQUIRE(underlying4_->type() == "Equity" || underlying4_->type() == "Commodity" ||
84 underlying4_->type() == "FX" || underlying4_->type() == "InterestRate",
85 "underlying type " << underlying4_->type() << " not supported");
86
87 QL_REQUIRE(underlying2_->type() == underlying4_->type(),
88 "Underlying2 and Underlying4 must belong to the same asset class. Got "
89 << underlying2_->type() << " and " << underlying4_->type());
90 }
91
92 // set product tag accordingly
93 if (underlying1_->type() == "InterestRate" && underlying2_->type() == "InterestRate")
94 productTag_ = "MultiUnderlyingIrOption";
95 else if (underlying1_->type() == "InterestRate" || underlying2_->type() == "InterestRate")
96 productTag_ = "IrHybrid({AssetClass})";
97 else
98 productTag_ = "MultiAssetOption({AssetClass})";
99
100 LOG("ProductTag=" << productTag_);
101
102 // set script
103
104 string underlying1Str, underlying2Str;
105 underlying1Str = underlying3_ ? "(Underlying1(Expiry) - Underlying3(Expiry))" : "Underlying1(Expiry)";
106 underlying2Str = underlying4_ ? "(Underlying2(Expiry) - Underlying4(Expiry))" : "Underlying2(Expiry)";
107
108 // clang-format off
109 script_ = {
110 {"", ScriptedTradeScriptData("NUMBER ExerciseProbability;\n"
111 "IF " + underlying1Str + " >= LowerBound1 AND " + underlying1Str + " <= UpperBound1 AND\n"
112 " " + underlying2Str + " >= LowerBound2 AND " + underlying2Str + " <= UpperBound2 THEN\n"
113 " Option = LongShort * LOGPAY( BinaryPayout, Expiry, Settlement, PayCcy);\n"
114 " ExerciseProbability = 1;\n"
115 "END;\n",
116 "Option",
117 {{"ExerciseProbability", "ExerciseProbability"},
118 {"currentNotional", "BinaryPayout"},
119 {"notionalCurrency", "PayCcy"}},
120 {})}};
121 // clang-format on
122
123 // build trade
124
125 ScriptedTrade::build(factory);
126}
std::vector< ScriptedTradeEventData > events_
std::vector< ScriptedTradeValueTypeData > currencies_
std::vector< ScriptedTradeValueTypeData > numbers_
std::map< std::string, ScriptedTradeScriptData > script_
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
Position::Type parsePositionType(const std::string &s)
Convert text to QuantLib::Position::Type.
Definition: parsers.cpp:404
#define LOG(text)
Logging Macro (Level = Notice)
Definition: log.hpp:552
std::pair< std::string, std::string > getLowerAndUpperBound(const std::string &type, const std::string &binaryLevelA, const std::string &binaryLevelB)
+ Here is the call graph for this function:

◆ fromXML()

void fromXML ( XMLNode node)
overridevirtual

Reimplemented from Trade.

Definition at line 137 of file doubledigitaloption.cpp.

137 {
138 Trade::fromXML(node);
139 XMLNode* tradeDataNode = XMLUtils::getChildNode(node, "DoubleDigitalOptionData");
140 QL_REQUIRE(tradeDataNode, "DoubleDigitalOptionData node not found");
141 expiry_ = XMLUtils::getChildValue(tradeDataNode, "Expiry", true);
142 settlement_ = XMLUtils::getChildValue(tradeDataNode, "Settlement", true);
143 binaryPayout_ = XMLUtils::getChildValue(tradeDataNode, "BinaryPayout", true);
144 binaryLevel1_ = XMLUtils::getChildValue(tradeDataNode, "BinaryLevel1", true);
145 binaryLevel2_ = XMLUtils::getChildValue(tradeDataNode, "BinaryLevel2", true);
146 type1_ = XMLUtils::getChildValue(tradeDataNode, "Type1", true);
147 type2_ = XMLUtils::getChildValue(tradeDataNode, "Type2", true);
148 position_ = XMLUtils::getChildValue(tradeDataNode, "Position", true);
149
151 XMLUtils::getChildValue(tradeDataNode, "BinaryLevelUpper1", type1_ == "Collar");
153 XMLUtils::getChildValue(tradeDataNode, "BinaryLevelUpper2", type2_ == "Collar");
154
155 QL_REQUIRE((type1_ != "Collar" && binaryLevelUpper1_.empty()) ||
156 (type1_ == "Collar" && !binaryLevelUpper1_.empty()),
157 "A non empty upper bound 'BinaryLevelUpper1' is required if and only if a type1 is set to 'Collar', "
158 "please check trade xml.");
159
160 QL_REQUIRE((type2_ != "Collar" && binaryLevelUpper2_.empty()) ||
161 (type2_ == "Collar" && !binaryLevelUpper2_.empty()),
162 "A non empty upper bound 'BinaryLevelUpper2' is required if and only if a type2 is set to 'Collar', "
163 "please check trade xml.");
164
165 XMLNode* tmp = XMLUtils::getChildNode(tradeDataNode, "Underlying1");
166 if (!tmp)
167 tmp = XMLUtils::getChildNode(tradeDataNode, "Name1");
168 UnderlyingBuilder underlyingBuilder1("Underlying1", "Name1");
169 underlyingBuilder1.fromXML(tmp);
170 underlying1_ = underlyingBuilder1.underlying();
171
172 tmp = XMLUtils::getChildNode(tradeDataNode, "Underlying2");
173 if (!tmp)
174 tmp = XMLUtils::getChildNode(tradeDataNode, "Name2");
175 UnderlyingBuilder underlyingBuilder2("Underlying2", "Name2");
176 underlyingBuilder2.fromXML(tmp);
177 underlying2_ = underlyingBuilder2.underlying();
178
179 tmp = XMLUtils::getChildNode(tradeDataNode, "Underlying3");
180 if (!tmp)
181 tmp = XMLUtils::getChildNode(tradeDataNode, "Name3");
182 if (tmp) {
183 UnderlyingBuilder underlyingBuilder3("Underlying3", "Name3");
184 underlyingBuilder3.fromXML(tmp);
185 underlying3_ = underlyingBuilder3.underlying();
186 }
187
188 tmp = XMLUtils::getChildNode(tradeDataNode, "Underlying4");
189 if (!tmp)
190 tmp = XMLUtils::getChildNode(tradeDataNode, "Name4");
191 if (tmp) {
192 UnderlyingBuilder underlyingBuilder4("Underlying4", "Name4");
193 underlyingBuilder4.fromXML(tmp);
194 underlying4_ = underlyingBuilder4.underlying();
195 }
196
197 payCcy_ = XMLUtils::getChildValue(tradeDataNode, "PayCcy", true);
198
199 initIndices();
200}
virtual void fromXML(XMLNode *node) override
Definition: trade.cpp:34
static string getChildValue(XMLNode *node, const string &name, bool mandatory=false, const string &defaultValue=string())
Definition: xmlutils.cpp:277
static XMLNode * getChildNode(XMLNode *n, const string &name="")
Definition: xmlutils.cpp:387
rapidxml::xml_node< char > XMLNode
Definition: xmlutils.hpp:60
+ Here is the call graph for this function:

◆ toXML()

XMLNode * toXML ( XMLDocument doc) const
overridevirtual

Reimplemented from Trade.

Definition at line 202 of file doubledigitaloption.cpp.

202 {
203 XMLNode* node = Trade::toXML(doc);
204 XMLNode* tradeNode = doc.allocNode("DoubleDigitalOptionData");
205 XMLUtils::appendNode(node, tradeNode);
206 XMLUtils::addChild(doc, tradeNode, "Expiry", expiry_);
207 XMLUtils::addChild(doc, tradeNode, "Settlement", settlement_);
208 XMLUtils::addChild(doc, tradeNode, "BinaryPayout", binaryPayout_);
209 XMLUtils::addChild(doc, tradeNode, "BinaryLevel1", binaryLevel1_);
210 XMLUtils::addChild(doc, tradeNode, "BinaryLevel2", binaryLevel2_);
211 if (!binaryLevelUpper1_.empty()) {
212 XMLUtils::addChild(doc, tradeNode, "BinaryLevelUpper1", binaryLevelUpper1_);
213 }
214 if (!binaryLevelUpper2_.empty()) {
215 XMLUtils::addChild(doc, tradeNode, "BinaryLevelUpper2", binaryLevelUpper2_);
216 }
217 XMLUtils::addChild(doc, tradeNode, "Type1", type1_);
218 XMLUtils::addChild(doc, tradeNode, "Type2", type2_);
219 XMLUtils::addChild(doc, tradeNode, "Position", position_);
220 XMLUtils::appendNode(tradeNode, underlying1_->toXML(doc));
221 XMLUtils::appendNode(tradeNode, underlying2_->toXML(doc));
222 if (underlying3_)
223 XMLUtils::appendNode(tradeNode, underlying3_->toXML(doc));
224 if (underlying4_)
225 XMLUtils::appendNode(tradeNode, underlying4_->toXML(doc));
226 XMLUtils::addChild(doc, tradeNode, "PayCcy", payCcy_);
227 return node;
228}
virtual XMLNode * toXML(XMLDocument &doc) const override
Definition: trade.cpp:46
static XMLNode * addChild(XMLDocument &doc, XMLNode *n, const string &name)
Definition: xmlutils.cpp:181
static void appendNode(XMLNode *parent, XMLNode *child)
Definition: xmlutils.cpp:406
+ Here is the call graph for this function:

◆ initIndices()

void initIndices ( )
private

Definition at line 128 of file doubledigitaloption.cpp.

128 {
129 indices_.emplace_back("Index", "Underlying1", scriptedIndexName(underlying1_));
130 indices_.emplace_back("Index", "Underlying2", scriptedIndexName(underlying2_));
131 if (underlying3_)
132 indices_.emplace_back("Index", "Underlying3", scriptedIndexName(underlying3_));
133 if (underlying4_)
134 indices_.emplace_back("Index", "Underlying4", scriptedIndexName(underlying4_));
135}
std::vector< ScriptedTradeValueTypeData > indices_
QL_DEPRECATED_ENABLE_WARNING std::string scriptedIndexName(const QuantLib::ext::shared_ptr< Underlying > &underlying)
Definition: utilities.cpp:614
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ expiry_

string expiry_
private

Definition at line 61 of file doubledigitaloption.hpp.

◆ settlement_

string settlement_
private

Definition at line 61 of file doubledigitaloption.hpp.

◆ binaryPayout_

string binaryPayout_
private

Definition at line 61 of file doubledigitaloption.hpp.

◆ binaryLevel1_

string binaryLevel1_
private

Definition at line 61 of file doubledigitaloption.hpp.

◆ binaryLevel2_

string binaryLevel2_
private

Definition at line 61 of file doubledigitaloption.hpp.

◆ type1_

string type1_
private

Definition at line 61 of file doubledigitaloption.hpp.

◆ type2_

string type2_
private

Definition at line 61 of file doubledigitaloption.hpp.

◆ position_

string position_
private

Definition at line 61 of file doubledigitaloption.hpp.

◆ payCcy_

string payCcy_
private

Definition at line 61 of file doubledigitaloption.hpp.

◆ binaryLevelUpper1_

string binaryLevelUpper1_
private

Definition at line 62 of file doubledigitaloption.hpp.

◆ binaryLevelUpper2_

string binaryLevelUpper2_
private

Definition at line 62 of file doubledigitaloption.hpp.

◆ underlying1_

QuantLib::ext::shared_ptr<Underlying> underlying1_
private

Definition at line 63 of file doubledigitaloption.hpp.

◆ underlying2_

QuantLib::ext::shared_ptr<Underlying> underlying2_
private

Definition at line 63 of file doubledigitaloption.hpp.

◆ underlying3_

QuantLib::ext::shared_ptr<Underlying> underlying3_
private

Definition at line 63 of file doubledigitaloption.hpp.

◆ underlying4_

QuantLib::ext::shared_ptr<Underlying> underlying4_
private

Definition at line 63 of file doubledigitaloption.hpp.