43 void build(
const QuantLib::ext::shared_ptr<ore::data::EngineFactory>&)
override;
44 void fromXML(
XMLNode* node)
override;
48 std::map<AssetClass, std::set<std::string>>
49 underlyingIndices(
const QuantLib::ext::shared_ptr<ReferenceDataManager>& referenceDataManager =
nullptr)
const override;
61 build(
const std::string& parentId,
const QuantLib::ext::shared_ptr<Trade>& underlying,
62 const std::vector<Date>& valuationDates,
const std::vector<Date>& paymentDates,
63 const std::string& fundingCurrency,
const QuantLib::ext::shared_ptr<EngineFactory>& engineFactory,
64 QuantLib::ext::shared_ptr<QuantLib::Index>& underlyingIndex, Real& underlyingMultiplier,
65 std::map<std::string, double>& indexQuantities, std::map<std::string, QuantLib::ext::shared_ptr<QuantExt::FxIndex>>& fxIndices,
66 Real& initialPrice, std::string& assetCurrency, std::string& creditRiskCurrency,
67 std::map<std::string, SimmCreditQualifierMapping>& creditQualifierMapping, Date&
maturity,
68 const std::function<QuantLib::ext::shared_ptr<QuantExt::FxIndex>(
69 const QuantLib::ext::shared_ptr<Market> market,
const std::string& configuration,
const std::string& domestic,
70 const std::string& foreign, std::map<std::string, QuantLib::ext::shared_ptr<QuantExt::FxIndex>>& fxIndices)>&
72 const std::string& underlyingDerivativeId,
RequiredFixings& fixings, std::vector<Leg>& returnLegs)
const override;
73 void updateUnderlying(
const QuantLib::ext::shared_ptr<ReferenceDataManager>& refData, QuantLib::ext::shared_ptr<Trade>& underlying,
74 const std::string& parentId)
const override;
79 const QuantLib::ext::shared_ptr<ReferenceDataManager>& referenceData,
80 const std::string& securityId)
const override;
Bond trade data model and serialization.
const ore::data::BondData & bondData() const
ConvertibleBond(const Envelope &env, const ConvertibleBondData &data)
Constructor for coupon bonds.
ConvertibleBondData data_
ConvertibleBondData originalData_
const BondData & bondData() const
ConvertibleBond()
Default constructor.
const ConvertibleBondData & data() const
Serializable object holding generic trade data, reporting dimensions.
Small XML Document wrapper class.
convertible bond data model and serialization
Serializable Credit Default Swap.
Bond Factory that builds bonds from reference data.
BondBuilder::Result build(const QuantLib::ext::shared_ptr< EngineFactory > &engineFactory, const QuantLib::ext::shared_ptr< ReferenceDataManager > &referenceData, const std::string &securityId) const override
void updateUnderlying(const QuantLib::ext::shared_ptr< ReferenceDataManager > &refData, QuantLib::ext::shared_ptr< Trade > &underlying, const std::string &parentId) const override
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
base trade data model and serialization