48 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
Serializable object holding generic trade data, reporting dimensions.
Serializable EQ Digital Option.
const OptionData & option() const
double payoffAmount() const
virtual void fromXML(XMLNode *node) override
virtual XMLNode * toXML(XMLDocument &doc) const override
const string & payoffCurrency() const
EquityDigitalOption(Envelope &env, OptionData option, double strike, const string &payoffCurrency, double payoffAmount, const EquityUnderlying &equityUnderlying, double quantity)
Constructor.
EquityDigitalOption()
Default constructor.
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
Build QuantLib/QuantExt instrument, link pricing engine.
Base class for all single asset Equity Derivaties.
Serializable object holding option data.
Small XML Document wrapper class.
Serializable Credit Default Swap.
trade option data model and serialization