38 :
Trade(
"Failed", env) {}
41 instrument_ = QuantLib::ext::make_shared<VanillaInstrument>(QuantLib::ext::make_shared<NullInstrument>());
Pricing Engine Factory class.
Serializable object holding generic trade data, reporting dimensions.
void fromXML(ore::data::XMLNode *node) override
void setUnderlyingTradeType(const std::string &underlyingTradeType_)
Set the original trade.
const std::string & underlyingTradeType() const
Get the original trade.
ore::data::XMLNode * toXML(ore::data::XMLDocument &doc) const override
void build(const QuantLib::ext::shared_ptr< ore::data::EngineFactory > &) override
Trade Interface's build.
std::string underlyingTradeType_
virtual void fromXML(XMLNode *node) override
void setSensitivityTemplate(const EngineBuilder &builder)
virtual XMLNode * toXML(XMLDocument &doc) const override
QuantLib::ext::shared_ptr< InstrumentWrapper > instrument_
Vanilla Instrument Wrapper.
Small XML Document wrapper class.
Skeleton trade generated when trade loading/building fails.
Serializable Credit Default Swap.