43 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
44 QuantLib::Real
notional()
const override;
58 QuantLib::Real
strike()
const;
59 QuantLib::Option::Type
callPut()
const;
70 const std::map<std::string, QuantLib::Real>&
constituents()
const;
111 const QuantLib::ext::shared_ptr<ReferenceDataManager>& refData);
Serializable object holding generic trade data, reporting dimensions.
const std::string & strikeType() const
const ore::data::OptionData & option() const
QuantLib::Real effectiveStrike() const
QuantLib::Real effectiveStrike_
const QuantLib::Date & tradeDate() const
const IndexCreditDefaultSwapData & swap() const
const std::string & indexTerm() const
QuantLib::Option::Type callPut() const
const CreditPortfolioSensitivityDecomposition sensitivityDecomposition() const
ore::data::OptionData option_
void fromXML(ore::data::XMLNode *node) override
void fromBasket(const QuantLib::Date &asof, std::map< std::string, QuantLib::Real > &constituents)
Populate constituent notionals and curve IDs from basket data.
const QuantLib::Date & fepStartDate() const
IndexCreditDefaultSwapOption(const ore::data::Envelope &env, const IndexCreditDefaultSwapData &swap, const ore::data::OptionData &option, QuantLib::Real strike, const std::string &indexTerm="", const std::string &strikeType="Spread", const QuantLib::Date &tradeDate=Date(), const QuantLib::Date &fepStartDate=Date())
Detailed constructor.
IndexCreditDefaultSwapData swap_
std::string effectiveStrikeType_
std::string creditCurveId() const
ore::data::XMLNode * toXML(ore::data::XMLDocument &doc) const override
const std::string & volCurveId() const
QuantLib::Date fepStartDate_
QuantLib::Real strike() const
void fromReferenceData(const QuantLib::Date &asof, std::map< std::string, QuantLib::Real > &constituents, const QuantLib::ext::shared_ptr< ReferenceDataManager > &refData)
Populate constituent notionals and curve IDs from reference data.
const std::map< std::string, QuantLib::Real > & constituents() const
CreditPortfolioSensitivityDecomposition sensitivityDecomposition_
QuantLib::Period effectiveIndexTerm_
QuantLib::Date tradeDate_
Notionals notionals_
Populated during trade building.
map< string, Real > constituents_
map of all the constituents to notionals
const std::string & effectiveStrikeType() const
const QuantLib::Period & effectiveIndexTerm() const
IndexCreditDefaultSwapOption()
Default constructor.
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
QuantLib::Real notional() const override
Return the current notional in npvCurrency. See individual sub-classes for the precise definition.
Serializable object holding option data.
Small XML Document wrapper class.
CreditPortfolioSensitivityDecomposition
Enumeration CreditPortfolioSensitivityDecomposition.
Serializable Credit Default Swap.
trade option data model and serialization
Reference data model and serialization.
Hold related notionals that are known on valuation date.
QuantLib::Real realisedFep
The realised front end protection amount, as of the valuation date, that would be due on option exerc...
QuantLib::Real tradeDate
Outstanding index notional on the trade date of the index CDS option.
QuantLib::Real full
Notional assuming no defaults i.e. an index factor of 1. Equal to notional on swap_.
QuantLib::Real valuationDate
Outstanding index notional on the valuation date of the index CDS option.
base trade data model and serialization