56 <<
") must match exercise types ("
59 "exercise dates (" <<
exerciseDates_.size() <<
") must match exercise values ("
63 void build(
const QuantLib::ext::shared_ptr<ore::data::EngineFactory>&)
override;
67 const std::vector<ore::data::LegData>&
swap()
const {
return swap_; }
88 std::vector<ore::data::LegData>
swap_;
Serializable object holding generic trade data, reporting dimensions.
std::vector< double > lowerNotionalBounds_
std::vector< std::string > lowerNotionalBoundsDates_
std::string noticePeriod_
std::vector< double > exerciseValues_
std::vector< ore::data::LegData > swap_
const std::string & noticeConvention() const
const std::string & noticePeriod() const
virtual void fromXML(ore::data::XMLNode *node) override
const std::string & noticeCalendar() const
std::string floatingIndex_
Store the name of the floating leg index.
FlexiSwap(const ore::data::Envelope &env, const std::vector< ore::data::LegData > &swap, const std::vector< double > &lowerNotionalBounds, const std::vector< std::string > &lowerNotionalBoundsDates, const std::string &optionLongShort)
const std::vector< std::string > & lowerNotionalBoundsDates() const
std::string optionLongShort_
const std::vector< ore::data::LegData > & swap() const
virtual ore::data::XMLNode * toXML(ore::data::XMLDocument &doc) const override
std::vector< std::string > exerciseDates_
std::string noticeConvention_
const std::vector< std::string > & exerciseTypes() const
const std::vector< double > & lowerNotionalBounds() const
void build(const QuantLib::ext::shared_ptr< ore::data::EngineFactory > &) override
std::string noticeCalendar_
FlexiSwap(const ore::data::Envelope &env, const std::vector< ore::data::LegData > &swap, const std::string ¬icePeriod, const std::string ¬iceCalendar, const std::string ¬iceConvention, const std::vector< std::string > &exerciseDates, const std::vector< std::string > &exerciseTypes, const std::vector< double > &exerciseValues, const std::string &optionLongShort)
const std::string & optionLongShort() const
std::vector< std::string > exerciseTypes_
const std::vector< double > & exerciseValues() const
const std::vector< std::string > & exerciseDates() const
Small XML Document wrapper class.
leg data model and serialization
Serializable Credit Default Swap.
base trade data model and serialization