32 BusinessDayConvention
bdc()
const {
return bdc_; }
42 BusinessDayConvention
bdc_;
63 QuantLib::ext::shared_ptr<ore::data::LegData>
createLegData()
const {
return QuantLib::ext::make_shared<ore::data::LegData>(); }
80 void build(
const QuantLib::ext::shared_ptr<ore::data::EngineFactory>& engineFactory)
override;
84 void fromXML(
XMLNode* node)
override;
97 std::map<ore::data::AssetClass, std::set<std::string>>
98 underlyingIndices(
const QuantLib::ext::shared_ptr<ReferenceDataManager>& referenceDataManager =
nullptr)
const override;
BusinessDayConvention bdc() const
Calendar calendar() const
void fromXML(XMLNode *node) override
XMLNode * toXML(XMLDocument &doc) const override
ScheduleData schedule() const
BusinessDayConvention bdc_
const std::vector< ore::data::LegData > & legData() const
CommoditySpreadOptionData()
boost::optional< OptionStripData > optionStrip_
std::vector< ore::data::LegData > legData_
void fromXML(XMLNode *node) override
const ore::data::OptionData & optionData() const
XMLNode * toXML(XMLDocument &doc) const override
ore::data::OptionData optionData_
QuantLib::ext::shared_ptr< ore::data::LegData > createLegData() const
CommoditySpreadOptionData(const std::vector< ore::data::LegData > &legData, const ore::data::OptionData &optionData, QuantLib::Real strike)
boost::optional< OptionStripData > optionStrip()
QuantLib::Real strike() const
CommoditySpreadOption(const CommoditySpreadOptionData &data)
const ore::data::OptionData & option() const
CommoditySpreadOptionData csoData_
std::vector< std::string > const & fxIndex() const
std::vector< std::string > fxIndex_
QuantLib::Real strike() const
Serializable object holding option data.
Serializable schedule data.
Small XML Document wrapper class.
Base class for all serializable classes.
leg data for commodity leg types
Serializable Credit Default Swap.
trade option data model and serialization
base trade data model and serialization