42 const QuantLib::ext::shared_ptr<ore::data::Underlying>& underlying, std::string currency,
43 QuantLib::Real notional, std::string longShort, std::string callPut,
45 QuantLib::Real localCap = QuantLib::Null<QuantLib::Real>(),
46 QuantLib::Real localFloor = QuantLib::Null<QuantLib::Real>(),
47 QuantLib::Real globalCap = QuantLib::Null<QuantLib::Real>(),
48 QuantLib::Real globalFloor = QuantLib::Null<QuantLib::Real>(), QuantLib::Size settlementDays = 0,
49 QuantLib::Real premium = 0.0, std::string premiumCcy =
"", std::string premiumPayDate =
"")
58 void build(
const QuantLib::ext::shared_ptr<ore::data::EngineFactory>&)
override;
108 const QuantLib::ext::shared_ptr<ore::data::Underlying>& underlying, std::string currency,
109 QuantLib::Real notional, std::string longShort, std::string callPut,
111 QuantLib::Real localCap = QuantLib::Null<QuantLib::Real>(),
112 QuantLib::Real localFloor = QuantLib::Null<QuantLib::Real>(),
113 QuantLib::Real globalCap = QuantLib::Null<QuantLib::Real>(),
114 QuantLib::Real globalFloor = QuantLib::Null<QuantLib::Real>(),
115 QuantLib::Size settlementDays = 0, QuantLib::Real premium = 0.0, std::string premiumCcy =
"",
116 std::string premiumPayDate =
"")
117 :
CliquetOption(tradeType, env, underlying, currency, notional, longShort, callPut, scheduleData, moneyness,
118 localCap, localFloor, globalCap, globalFloor, settlementDays, premium, premiumCcy,
122 std::map<ore::data::AssetClass, std::set<std::string>>
123 underlyingIndices(
const QuantLib::ext::shared_ptr<ore::data::ReferenceDataManager>& referenceDataManager)
const override {
const Position::Type longShort_
const Date premiumPayDate_
QuantLib::ext::shared_ptr< ore::data::Underlying > underlying_
QuantLib::Size settlementDays() const
const QuantLib::Real & moneyness() const
const ore::data::ScheduleData & scheduleData() const
const std::string & currency() const
const std::string & name() const
QuantLib::Real globalFloor_
const std::string & callPut() const
ore::data::ScheduleData scheduleData_
CliquetOption(const std::string &tradeType)
Default constructor.
std::string premiumPayDate_
const QuantLib::Real & globalFloor() const
QuantLib::Real premium() const
const QuantLib::ext::shared_ptr< ore::data::Underlying > & underlying() const
QuantLib::Size settlementDays_
QuantLib::Real localFloor_
QuantLib::Real moneyness_
QuantLib::Real cliquetNotional_
const std::string & premiumCcy() const
CliquetOption(const std::string &tradeType, ore::data::Envelope &env, const QuantLib::ext::shared_ptr< ore::data::Underlying > &underlying, std::string currency, QuantLib::Real notional, std::string longShort, std::string callPut, ore::data::ScheduleData scheduleData, QuantLib::Real moneyness=1.0, QuantLib::Real localCap=QuantLib::Null< QuantLib::Real >(), QuantLib::Real localFloor=QuantLib::Null< QuantLib::Real >(), QuantLib::Real globalCap=QuantLib::Null< QuantLib::Real >(), QuantLib::Real globalFloor=QuantLib::Null< QuantLib::Real >(), QuantLib::Size settlementDays=0, QuantLib::Real premium=0.0, std::string premiumCcy="", std::string premiumPayDate="")
Constructor.
const QuantLib::Real & localFloor() const
const std::string & premiumPayDate() const
const std::string & longShort() const
std::set< QuantLib::Date > valuationDates_
const QuantLib::Real & globalCap() const
const QuantLib::Real & localCap() const
QuantLib::Real globalCap_
Serializable object holding generic trade data, reporting dimensions.
std::map< ore::data::AssetClass, std::set< std::string > > underlyingIndices(const QuantLib::ext::shared_ptr< ore::data::ReferenceDataManager > &referenceDataManager) const override
Add underlying Equity names.
EquityCliquetOption(const std::string &tradeType, ore::data::Envelope &env, const QuantLib::ext::shared_ptr< ore::data::Underlying > &underlying, std::string currency, QuantLib::Real notional, std::string longShort, std::string callPut, ore::data::ScheduleData scheduleData, QuantLib::Real moneyness=1.0, QuantLib::Real localCap=QuantLib::Null< QuantLib::Real >(), QuantLib::Real localFloor=QuantLib::Null< QuantLib::Real >(), QuantLib::Real globalCap=QuantLib::Null< QuantLib::Real >(), QuantLib::Real globalFloor=QuantLib::Null< QuantLib::Real >(), QuantLib::Size settlementDays=0, QuantLib::Real premium=0.0, std::string premiumCcy="", std::string premiumPayDate="")
Serializable schedule data.
Small XML Document wrapper class.
Serializable Credit Default Swap.
base trade data model and serialization