40 const std::vector<BarrierData>& barriers,
const ScheduleData& barrierMonitoringDates,
41 const std::vector<BarrierData>& transatlanticBarrier,
const std::string& payCurrency,
42 const std::string& settlementDate,
const std::string& quantity,
const std::string& strike,
43 const std::string& amount,
const std::string& kikoType)
52 const std::vector<BarrierData>& barriers,
const ScheduleData& barrierMonitoringDates,
53 const BarrierData& transatlanticBarrier,
const std::string& payCurrency,
54 const std::string& settlementDate,
const std::string& quantity,
const std::string& strike,
55 const std::string& amount,
const std::string& kikoType)
64 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
70 std::set<std::string>
names()
const {
71 std::set<std::string>
names;
73 names.insert(u->name());
81 std::vector<QuantLib::ext::shared_ptr<ore::data::Underlying>>
underlyings_;
95 std::map<ore::data::AssetClass, std::set<std::string>>
96 underlyingIndices(
const QuantLib::ext::shared_ptr<ReferenceDataManager>& referenceDataManager)
const override {
Serializable obejct holding barrier data.
CommodityGenericBarrierOption()
std::map< ore::data::AssetClass, std::set< std::string > > underlyingIndices(const QuantLib::ext::shared_ptr< ReferenceDataManager > &referenceDataManager) const override
EquityGenericBarrierOption()
ScheduleData barrierMonitoringDates_
std::string settlementConvention_
GenericBarrierOption(QuantLib::ext::shared_ptr< Underlying > &underlying, const OptionData &optionData, const std::vector< BarrierData > &barriers, const ScheduleData &barrierMonitoringDates, const BarrierData &transatlanticBarrier, const std::string &payCurrency, const std::string &settlementDate, const std::string &quantity, const std::string &strike, const std::string &amount, const std::string &kikoType)
std::vector< BarrierData > transatlanticBarrier_
std::set< std::string > names() const
std::vector< QuantLib::ext::shared_ptr< ore::data::Underlying > > underlyings_
void fromXML(XMLNode *node) override
XMLNode * toXML(XMLDocument &doc) const override
std::string settlementLag_
std::string barrierMonitoringEndDate_
std::string barrierMonitoringStartDate_
GenericBarrierOption(std::vector< QuantLib::ext::shared_ptr< Underlying > > underlyings, const OptionData &optionData, const std::vector< BarrierData > &barriers, const ScheduleData &barrierMonitoringDates, const std::vector< BarrierData > &transatlanticBarrier, const std::string &payCurrency, const std::string &settlementDate, const std::string &quantity, const std::string &strike, const std::string &amount, const std::string &kikoType)
std::vector< BarrierData > barriers_
GenericBarrierOption(const std::string &tradeType="GenericBarrierOption")
QuantLib::Calendar getUnderlyingCalendar(const QuantLib::ext::shared_ptr< EngineFactory > &factory) const
std::string settlementDate_
std::string settlementCalendar_
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
Serializable object holding option data.
Serializable schedule data.
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