75 const std::vector<BGSTrancheData>&
tranches,
const ore::data::Schedule
schedule,
76 const std::vector<ore::data::LegData>&
swap)
80 void build(
const QuantLib::ext::shared_ptr<ore::data::EngineFactory>&)
override;
87 const std::vector<ore::data::LegData>&
swap()
const {
return swap_; }
96 std::map<ore::data::AssetClass, std::set<std::string>>
97 underlyingIndices(
const QuantLib::ext::shared_ptr<ore::data::ReferenceDataManager>&)
const override {
105 std::vector<ore::data::LegData>
swap_;
Serializable Tranche for use in Balance Guaranteed Swaps.
const std::vector< QuantLib::Real > & notionals() const
std::vector< std::string > notionalDates_
std::vector< QuantLib::Real > notionals_
virtual void fromXML(ore::data::XMLNode *node) override
const std::vector< std::string > & notionalDates() const
virtual ore::data::XMLNode * toXML(ore::data::XMLDocument &doc) const override
const std::string & description() const
const std::string & securityId() const
BGSTrancheData(const std::string &description, const std::string &securityId, const int seniority, const std::vector< QuantLib::Real > ¬ionals, const std::vector< std::string > ¬ionalDates)
Serializable Balance Guaranteed Swap.
std::string referenceSecurity_
ore::data::ScheduleData schedule_
const std::string & referenceSecurity() const
std::vector< ore::data::LegData > swap_
std::vector< BGSTrancheData > tranches_
virtual void fromXML(ore::data::XMLNode *node) override
const ore::data::ScheduleData schedule() const
const std::vector< BGSTrancheData > & tranches() const
const std::vector< ore::data::LegData > & swap() const
virtual ore::data::XMLNode * toXML(ore::data::XMLDocument &doc) const override
void build(const QuantLib::ext::shared_ptr< ore::data::EngineFactory > &) override
std::map< ore::data::AssetClass, std::set< std::string > > underlyingIndices(const QuantLib::ext::shared_ptr< ore::data::ReferenceDataManager > &) const override
BalanceGuaranteedSwap(const ore::data::Envelope &env, const std::string &referenceSecurity, const std::vector< BGSTrancheData > &tranches, const ore::data::Schedule schedule, const std::vector< ore::data::LegData > &swap)
Serializable object holding generic trade data, reporting dimensions.
Serializable schedule data.
Small XML Document wrapper class.
Base class for all serializable classes.
leg data model and serialization
Serializable Credit Default Swap.
base trade data model and serialization