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

Serializable FX Digital Barrier Option. More...

#include <ored/portfolio/fxdigitalbarrieroption.hpp>

+ Inheritance diagram for FxDigitalBarrierOption:
+ Collaboration diagram for FxDigitalBarrierOption:

Public Member Functions

 FxDigitalBarrierOption ()
 Default constructor. More...
 
 FxDigitalBarrierOption (Envelope &env, OptionData option, BarrierData barrier, double strike, double payoffAmount, const string &foreignCurrency, const string &domesticCurrency, const string &startDate="", const string &calendar="", const string &fxIndex="", const string &payoffCurrency="")
 Constructor. More...
 
void build (const QuantLib::ext::shared_ptr< EngineFactory > &) override
 Build QuantLib/QuantExt instrument, link pricing engine. More...
 
Inspectors
const OptionDataoption () const
 
const BarrierDatabarrier () const
 
double strike () const
 
double payoffAmount () const
 
const string & payoffCurrency () const
 
const string & startDate () const
 
const string & calendar () const
 
const string & fxIndex () const
 
- Public Member Functions inherited from FxSingleAssetDerivative
const std::string & boughtCurrency () const
 
const std::string & soldCurrency () const
 
const std::string & foreignCurrency () const
 
const std::string & domesticCurrency () 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
 
virtual QuantLib::Real notional () const
 Return the current notional in npvCurrency. See individual sub-classes for the precise definition. More...
 
virtual string notionalCurrency () 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...
 

Serialisation

OptionData option_
 
BarrierData barrier_
 
string startDate_
 
string calendar_
 
string fxIndex_
 
Real strike_
 
Real payoffAmount_
 
string payoffCurrency_
 
virtual void fromXML (XMLNode *node) override
 
virtual XMLNodetoXML (XMLDocument &doc) const override
 

Additional Inherited Members

- Protected Member Functions inherited from FxSingleAssetDerivative
 FxSingleAssetDerivative (const std::string &tradeType)
 
 FxSingleAssetDerivative (const std::string &tradeType, ore::data::Envelope &env, const std::string &boughtCurrency, const std::string &soldCurrency)
 
- Protected Member Functions inherited from FxDerivative
 FxDerivative (const std::string &tradeType)
 
 FxDerivative (const std::string &tradeType, ore::data::Envelope &env)
 
- 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 FxSingleAssetDerivative
std::string boughtCurrency_
 
std::string soldCurrency_
 
std::string & foreignCurrency_ = boughtCurrency_
 
std::string & domesticCurrency_ = soldCurrency_
 
- 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

Serializable FX Digital Barrier Option.

Definition at line 36 of file fxdigitalbarrieroption.hpp.

Constructor & Destructor Documentation

◆ FxDigitalBarrierOption() [1/2]

Default constructor.

Definition at line 39 of file fxdigitalbarrieroption.hpp.

40 : ore::data::Trade("FxDigitalBarrierOption"), FxSingleAssetDerivative("") {}
FxSingleAssetDerivative(const std::string &tradeType)
Trade base class.
Definition: trade.hpp:55

◆ FxDigitalBarrierOption() [2/2]

FxDigitalBarrierOption ( Envelope env,
OptionData  option,
BarrierData  barrier,
double  strike,
double  payoffAmount,
const string &  foreignCurrency,
const string &  domesticCurrency,
const string &  startDate = "",
const string &  calendar = "",
const string &  fxIndex = "",
const string &  payoffCurrency = "" 
)

Constructor.

Definition at line 42 of file fxdigitalbarrieroption.hpp.

45 : ore::data::Trade("FxDigitalBarrierOption", env),
const std::string & domesticCurrency() const
const std::string & foreignCurrency() const

Member Function Documentation

◆ build()

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

Build QuantLib/QuantExt instrument, link pricing engine.

Implements Trade.

Definition at line 42 of file fxdigitalbarrieroption.cpp.

42 {
43
44 // ISDA taxonomy
45 additionalData_["isdaAssetClass"] = string("Foreign Exchange");
46 additionalData_["isdaBaseProduct"] = string("Simple Exotic");
47 additionalData_["isdaSubProduct"] = string("Digital");
48 additionalData_["isdaTransaction"] = string("");
49
50 const QuantLib::ext::shared_ptr<Market> market = engineFactory->market();
51
52 // Only American supported for now
53 QL_REQUIRE(tradeActions().empty(), "TradeActions not supported for FxOption");
54 QL_REQUIRE(option_.style() == "European", "Option Style unknown: " << option_.style());
55 QL_REQUIRE(option_.exerciseDates().size() == 1, "Invalid number of exercise dates");
56 QL_REQUIRE(strike_ > 0.0 && strike_ != Null<Real>(), "Invalid strike " << strike_);
57
58 Currency boughtCcy = parseCurrency(foreignCurrency_);
59 Currency soldCcy = parseCurrency(domesticCurrency_);
60 Real level = barrier_.levels()[0].value();
61 Date start = ore::data::parseDate(startDate_);
62 Real rebate = barrier_.rebate();
63 QL_REQUIRE(rebate >= 0, "rebate must be non-negative");
64
65 QL_REQUIRE(level > 0.0 && level != Null<Real>(), "Invalid level " << level);
66
67 // Payoff and Barrier Type
68 QL_REQUIRE(barrier_.style().empty() || barrier_.style() == "American", "Only american barrier style suppported");
69 Option::Type type = parseOptionType(option_.callPut());
70 Barrier::Type barrierType = parseBarrierType(barrier_.type());
71
72 // Handle PayoffCurrency, we might have to flip the trade here
73 Real strike = strike_;
74 bool flipResults = false;
75 if (payoffCurrency_ == "") {
76 DLOG("PayoffCurrency defaulting to " << domesticCurrency_ << " for FxDigitalBarrierOption " << id());
77 } else if (payoffCurrency_ == foreignCurrency_) {
78 // Invert the trade, switch dom and for and flip Put/Call
79 strike = 1.0 / strike;
80 level = 1.0 / level;
81 std::swap(boughtCcy, soldCcy);
82 type = type == Option::Call ? Option::Put : Option::Call;
83 switch (barrierType) {
84 case Barrier::DownIn:
85 barrierType = Barrier::UpIn;
86 break;
87 case Barrier::UpIn:
88 barrierType = Barrier::DownIn;
89 break;
90 case Barrier::DownOut:
91 barrierType = Barrier::UpOut;
92 break;
93 case Barrier::UpOut:
94 barrierType = Barrier::DownOut;
95 break;
96 }
97 flipResults = true;
98 } else if (payoffCurrency_ != domesticCurrency_) {
99 QL_FAIL("Invalid Payoff currency (" << payoffCurrency_ << ") for FxDigitalBarrierOption " << foreignCurrency_
101 }
102 DLOG("Setting up FxDigitalBarrierOption with strike " << strike << " level " << level << " foreign/bought "
103 << boughtCcy << " domestic/sold " << soldCcy);
104
105 // from this point on it's important not to use domesticCurrency_, foreignCurrency_, strike_, barrier_.level(), etc
106 // rather the local variables (boughtCcy, soldCcy, strike, level, etc) should be used as they may have been flipped.
107
108 additionalData_["payoffAmount"] = payoffAmount_;
109 additionalData_["payoffCurrency"] = payoffCurrency_;
110 additionalData_["effectiveForeignCurrency"] = boughtCcy.code();
111 additionalData_["effectiveDomesticCurrency"] = soldCcy.code();
112
113 npvCurrency_ = soldCcy.code(); // sold is the domestic
116
117 // Exercise
118 // Digital Barrier Options assume an American exercise that pays at expiry
119 Date expiryDate = parseDate(option_.exerciseDates().front());
120 QuantLib::ext::shared_ptr<Exercise> exercise = QuantLib::ext::make_shared<EuropeanExercise>(expiryDate);
121 maturity_ = std::max(option_.premiumData().latestPremiumDate(), expiryDate);
122
123 // Create a CashOrNothing payoff for digital options
124 QuantLib::ext::shared_ptr<StrikedTypePayoff> payoff(new CashOrNothingPayoff(type, strike, payoffAmount_));
125
126 // QL does not have an FXDigitalBarrierOption, so we add a barrier option here and wrap
127 // it in a composite
128 QuantLib::ext::shared_ptr<Instrument> vanilla = QuantLib::ext::make_shared<VanillaOption>(payoff, exercise);
129 QuantLib::ext::shared_ptr<Instrument> barrier =
130 QuantLib::ext::make_shared<BarrierOption>(barrierType, level, rebate, payoff, exercise);
131
132 // Check if the barrier has been triggered already
133 Calendar cal = ore::data::parseCalendar(calendar_);
134 QuantLib::ext::shared_ptr<QuantExt::FxIndex> fxIndex;
135 if (!fxIndex_.empty())
136 fxIndex = buildFxIndex(fxIndex_, soldCcy.code(), boughtCcy.code(), engineFactory->market(),
137 engineFactory->configuration(MarketContext::pricing));
138
139 // set pricing engines
140 // we buy foreign with domestic(=sold ccy).
141 QuantLib::ext::shared_ptr<EngineBuilder> builder = engineFactory->builder(tradeType_);
142 QL_REQUIRE(builder, "No builder found for " << tradeType_);
143 QuantLib::ext::shared_ptr<FxDigitalBarrierOptionEngineBuilder> fxBarrierOptBuilder =
144 QuantLib::ext::dynamic_pointer_cast<FxDigitalBarrierOptionEngineBuilder>(builder);
145 // if an 'in' option is triggered it becomes an FxDigitalOption, so we need an fxDigitalOption pricer
146 builder = engineFactory->builder("FxDigitalOption");
147 QL_REQUIRE(builder, "No builder found for FxDigitalOption");
148 QuantLib::ext::shared_ptr<FxDigitalOptionEngineBuilder> fxOptBuilder =
149 QuantLib::ext::dynamic_pointer_cast<FxDigitalOptionEngineBuilder>(builder);
150 setSensitivityTemplate(*builder);
151
152 barrier->setPricingEngine(fxBarrierOptBuilder->engine(boughtCcy, soldCcy, expiryDate));
153 vanilla->setPricingEngine(fxOptBuilder->engine(boughtCcy, soldCcy, flipResults));
154
155 Position::Type positionType = parsePositionType(option_.longShort());
156 Real bsInd = (positionType == QuantLib::Position::Long ? 1.0 : -1.0);
157
158 // If premium data is provided
159 // 1) build the fee trade and pass it to the instrument wrapper for pricing
160 // 2) add fee payment as additional trade leg for cash flow reporting
161 std::vector<QuantLib::ext::shared_ptr<Instrument>> additionalInstruments;
162 std::vector<Real> additionalMultipliers;
163 addPremiums(additionalInstruments, additionalMultipliers, positionType == Position::Long ? 1.0 : -1.0,
164 option_.premiumData(), -bsInd, soldCcy, engineFactory,
165 fxOptBuilder->configuration(MarketContext::pricing));
166
167 Settlement::Type settleType = parseSettlementType(option_.settlement());
168
169 Handle<Quote> spot = market->fxSpot(boughtCcy.code() + soldCcy.code());
170 instrument_ = QuantLib::ext::shared_ptr<InstrumentWrapper>(new SingleBarrierOptionWrapper(
171 barrier, positionType == Position::Long ? true : false, expiryDate,
172 settleType == Settlement::Physical ? true : false, vanilla, barrierType, spot, level, rebate, soldCcy,
173 start, fxIndex, cal, 1, 1, additionalInstruments, additionalMultipliers));
174
175 if (start != Date()) {
176 for (Date d = start; d <= expiryDate; d = cal.advance(d, 1 * Days)) {
178 }
179 }
180}
const std::string & type() const
Definition: barrierdata.hpp:46
double rebate() const
Definition: barrierdata.hpp:47
std::vector< ore::data::TradeBarrier > levels() const
Definition: barrierdata.hpp:50
const std::string & style() const
Definition: barrierdata.hpp:51
const string & callPut() const
Definition: optiondata.hpp:71
const string & longShort() const
Definition: optiondata.hpp:70
const string & style() const
Definition: optiondata.hpp:74
const string & settlement() const
Definition: optiondata.hpp:81
const PremiumData & premiumData() const
Definition: optiondata.hpp:83
const vector< string > & exerciseDates() const
Definition: optiondata.hpp:76
QuantLib::Date latestPremiumDate() const
Definition: premiumdata.cpp:28
void addFixingDate(const QuantLib::Date &fixingDate, const std::string &indexName, const QuantLib::Date &payDate=Date::maxDate(), const bool alwaysAddIfPaysOnSettlement=false, const bool mandatoryFixing=true)
TradeActions & tradeActions()
Set the trade actions.
Definition: trade.hpp:126
string npvCurrency_
Definition: trade.hpp:201
QuantLib::Real notional_
Definition: trade.hpp:202
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)
Definition: trade.cpp:58
void setSensitivityTemplate(const EngineBuilder &builder)
Definition: trade.cpp:295
string tradeType_
Definition: trade.hpp:196
RequiredFixings requiredFixings_
Definition: trade.hpp:223
QuantLib::ext::shared_ptr< InstrumentWrapper > instrument_
Definition: trade.hpp:197
string notionalCurrency_
Definition: trade.hpp:203
std::map< std::string, boost::any > additionalData_
Definition: trade.hpp:224
Calendar parseCalendar(const string &s)
Convert text to QuantLib::Calendar.
Definition: parsers.cpp:157
Date parseDate(const string &s)
Convert std::string to QuantLib::Date.
Definition: parsers.cpp:51
Currency parseCurrency(const string &s)
Convert text to QuantLib::Currency.
Definition: parsers.cpp:290
Position::Type parsePositionType(const std::string &s)
Convert text to QuantLib::Position::Type.
Definition: parsers.cpp:404
Barrier::Type parseBarrierType(const std::string &s)
Convert std::string to QuantLib::BarrierType.
Definition: parsers.cpp:1042
Settlement::Type parseSettlementType(const std::string &s)
Convert text to QuantLib::Settlement::Type.
Definition: parsers.cpp:434
Option::Type parseOptionType(const std::string &s)
Convert text to QuantLib::Option::Type.
Definition: parsers.cpp:481
#define DLOG(text)
Logging Macro (Level = Debug)
Definition: log.hpp:554
QuantLib::ext::shared_ptr< QuantExt::FxIndex > buildFxIndex(const string &fxIndex, const string &domestic, const string &foreign, const QuantLib::ext::shared_ptr< Market > &market, const string &configuration, bool useXbsCurves)
Definition: marketdata.cpp:137
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ option()

const OptionData & option ( ) const

Definition at line 55 of file fxdigitalbarrieroption.hpp.

55{ return option_; }

◆ barrier()

const BarrierData & barrier ( ) const

Definition at line 56 of file fxdigitalbarrieroption.hpp.

56{ return barrier_; }
+ Here is the caller graph for this function:

◆ strike()

double strike ( ) const

Definition at line 57 of file fxdigitalbarrieroption.hpp.

57{ return strike_; }
+ Here is the caller graph for this function:

◆ payoffAmount()

double payoffAmount ( ) const

Definition at line 58 of file fxdigitalbarrieroption.hpp.

58{ return payoffAmount_; }

◆ payoffCurrency()

const string & payoffCurrency ( ) const

Definition at line 59 of file fxdigitalbarrieroption.hpp.

59{ return payoffCurrency_; }

◆ startDate()

const string & startDate ( ) const

Definition at line 60 of file fxdigitalbarrieroption.hpp.

60{ return startDate_; }

◆ calendar()

const string & calendar ( ) const

Definition at line 61 of file fxdigitalbarrieroption.hpp.

61{ return calendar_; }

◆ fxIndex()

const string & fxIndex ( ) const

Definition at line 62 of file fxdigitalbarrieroption.hpp.

62{ return fxIndex_; }
+ Here is the caller graph for this function:

◆ fromXML()

void fromXML ( XMLNode node)
overridevirtual

Reimplemented from Trade.

Definition at line 195 of file fxdigitalbarrieroption.cpp.

195 {
196 Trade::fromXML(node);
197 XMLNode* fxNode = XMLUtils::getChildNode(node, "FxDigitalBarrierOptionData");
198 QL_REQUIRE(fxNode, "No FxDigitalBarrierOptionData Node");
199 option_.fromXML(XMLUtils::getChildNode(fxNode, "OptionData"));
200 barrier_.fromXML(XMLUtils::getChildNode(fxNode, "BarrierData"));
201 startDate_ = XMLUtils::getChildValue(fxNode, "StartDate", false);
202 calendar_ = XMLUtils::getChildValue(fxNode, "Calendar", false);
203 fxIndex_ = XMLUtils::getChildValue(fxNode, "FXIndex", false);
204 strike_ = XMLUtils::getChildValueAsDouble(fxNode, "Strike", true);
205 payoffAmount_ = XMLUtils::getChildValueAsDouble(fxNode, "PayoffAmount", true);
206 payoffCurrency_ = XMLUtils::getChildValue(fxNode, "PayoffCurrency", false); // optional
207 foreignCurrency_ = XMLUtils::getChildValue(fxNode, "ForeignCurrency", true);
208 domesticCurrency_ = XMLUtils::getChildValue(fxNode, "DomesticCurrency", true);
209}
virtual void fromXML(ore::data::XMLNode *node) override
Definition: barrierdata.cpp:25
virtual void fromXML(XMLNode *node) override
Definition: optiondata.cpp:32
virtual void fromXML(XMLNode *node) override
Definition: trade.cpp:34
static Real getChildValueAsDouble(XMLNode *node, const string &name, bool mandatory=false, double defaultValue=0.0)
Definition: xmlutils.cpp:286
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 211 of file fxdigitalbarrieroption.cpp.

211 {
212 XMLNode* node = Trade::toXML(doc);
213 XMLNode* fxNode = doc.allocNode("FxDigitalBarrierOptionData");
214 XMLUtils::appendNode(node, fxNode);
215
216 XMLUtils::appendNode(fxNode, option_.toXML(doc));
217 XMLUtils::appendNode(fxNode, barrier_.toXML(doc));
218 if (startDate_ != "")
219 XMLUtils::addChild(doc, fxNode, "StartDate", startDate_);
220 if (calendar_ != "")
221 XMLUtils::addChild(doc, fxNode, "Calendar", calendar_);
222 if (fxIndex_ != "")
223 XMLUtils::addChild(doc, fxNode, "FXIndex", fxIndex_);
224 XMLUtils::addChild(doc, fxNode, "Strike", strike_);
225 XMLUtils::addChild(doc, fxNode, "PayoffAmount", payoffAmount_);
226 if (payoffCurrency_ != "")
227 XMLUtils::addChild(doc, fxNode, "PayoffCurrency", payoffCurrency_);
228 XMLUtils::addChild(doc, fxNode, "ForeignCurrency", foreignCurrency_);
229 XMLUtils::addChild(doc, fxNode, "DomesticCurrency", domesticCurrency_);
230
231 return node;
232}
virtual ore::data::XMLNode * toXML(ore::data::XMLDocument &doc) const override
Definition: barrierdata.cpp:49
virtual XMLNode * toXML(XMLDocument &doc) const override
Definition: optiondata.cpp:86
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:

Member Data Documentation

◆ option_

OptionData option_
private

Definition at line 71 of file fxdigitalbarrieroption.hpp.

◆ barrier_

BarrierData barrier_
private

Definition at line 72 of file fxdigitalbarrieroption.hpp.

◆ startDate_

string startDate_
private

Definition at line 73 of file fxdigitalbarrieroption.hpp.

◆ calendar_

string calendar_
private

Definition at line 74 of file fxdigitalbarrieroption.hpp.

◆ fxIndex_

string fxIndex_
private

Definition at line 75 of file fxdigitalbarrieroption.hpp.

◆ strike_

Real strike_
private

Definition at line 76 of file fxdigitalbarrieroption.hpp.

◆ payoffAmount_

Real payoffAmount_
private

Definition at line 77 of file fxdigitalbarrieroption.hpp.

◆ payoffCurrency_

string payoffCurrency_
private

Definition at line 78 of file fxdigitalbarrieroption.hpp.