38 static constexpr const char*
TYPE =
"CBO";
48 std::vector<QuantLib::ext::shared_ptr<TrancheData>>
trancheData;
76 std::map<AssetClass, std::set<std::string>>
77 underlyingIndices(
const QuantLib::ext::shared_ptr<ReferenceDataManager>& referenceDataManager =
nullptr)
const override;
80 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
81 void fromXML(
XMLNode* node)
override;
91 std::map<std::string, std::set<Date>>
fixings_;
120 build(
const std::string& parentId,
const QuantLib::ext::shared_ptr<Trade>& underlying,
121 const std::vector<Date>& valuationDates,
const std::vector<Date>& paymentDates,
122 const std::string& fundingCurrency,
const QuantLib::ext::shared_ptr<EngineFactory>& engineFactory,
123 QuantLib::ext::shared_ptr<QuantLib::Index>& underlyingIndex, Real& underlyingMultiplier,
124 std::map<std::string, double>& indexQuantities, std::map<std::string, QuantLib::ext::shared_ptr<QuantExt::FxIndex>>& fxIndices,
125 Real& initialPrice, std::string& assetCurrency, std::string& creditRiskCurrency,
126 std::map<std::string, SimmCreditQualifierMapping>& creditQualifierMapping, Date&
maturity,
127 const std::function<QuantLib::ext::shared_ptr<QuantExt::FxIndex>(
128 const QuantLib::ext::shared_ptr<Market> market,
const std::string& configuration,
const std::string& domestic,
129 const std::string& foreign, std::map<std::string, QuantLib::ext::shared_ptr<QuantExt::FxIndex>>& fxIndices)>&
131 const std::string& underlyingDerivativeId,
RequiredFixings& fixings, std::vector<Leg>& returnLegs)
const override;
credit bond basket data model and serialization
std::string investedTrancheName_
std::string investedTrancheName_
std::string notionalCurrency() const override
QuantLib::ext::shared_ptr< QuantExt::BondBasket > bondbasket_
const BondBasket & bondBasketData()
std::string reinvestmentEndDate_
std::map< std::string, std::set< Date > > fixings_
QuantLib::Real notional() const override
Return the current notional in npvCurrency. See individual sub-classes for the precise definition.
std::string subordinatedFee_
ScheduleData scheduleData_
std::string feeDayCounter_
std::string investedTrancheName()
BondBasket bondbasketdata_
void populateFromCboReferenceData(const QuantLib::ext::shared_ptr< ReferenceDataManager > &referenceDataManager)
std::string equityKicker_
std::vector< QuantLib::ext::shared_ptr< TrancheData > > trancheData_
double underlyingMultiplier()
std::string paymentConvention_
CboStructure cboStructure_
const CboStructure & cbostructure() const
void setCboStructure(const CboStructure &cboStructure)
CboReferenceDatum(const string &id)
void fromXML(XMLNode *node) override
XMLNode * toXML(ore::data::XMLDocument &doc) const override
static constexpr const char * TYPE
CboReferenceDatum(const string &id, const CboStructure &cboStructure)
Base class for reference data.
const std::string & id() const
void setType(const string &type)
setters
Serializable schedule data.
Small XML Document wrapper class.
Base class for all serializable classes.
Serializable Credit Default Swap.
Reference data model and serialization.
void build(const std::string &parentId, const QuantLib::ext::shared_ptr< Trade > &underlying, const std::vector< Date > &valuationDates, const std::vector< Date > &paymentDates, const std::string &fundingCurrency, const QuantLib::ext::shared_ptr< EngineFactory > &engineFactory, QuantLib::ext::shared_ptr< QuantLib::Index > &underlyingIndex, Real &underlyingMultiplier, std::map< std::string, double > &indexQuantities, std::map< std::string, QuantLib::ext::shared_ptr< QuantExt::FxIndex > > &fxIndices, Real &initialPrice, std::string &assetCurrency, std::string &creditRiskCurrency, std::map< std::string, SimmCreditQualifierMapping > &creditQualifierMapping, Date &maturity, const std::function< QuantLib::ext::shared_ptr< QuantExt::FxIndex >(const QuantLib::ext::shared_ptr< Market > market, const std::string &configuration, const std::string &domestic, const std::string &foreign, std::map< std::string, QuantLib::ext::shared_ptr< QuantExt::FxIndex > > &fxIndices)> &getFxIndex, const std::string &underlyingDerivativeId, RequiredFixings &fixings, std::vector< Leg > &returnLegs) const override
std::string paymentConvention
std::string subordinatedFee
std::string feeDayCounter
std::vector< QuantLib::ext::shared_ptr< TrancheData > > trancheData
ScheduleData scheduleData
std::string reinvestmentEndDate
void fromXML(XMLNode *node) override
BondBasket bondbasketdata
XMLNode * toXML(ore::data::XMLDocument &doc) const override
base trade data model and serialization
cbo tranche data model and serialization