55 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
Serializable object holding generic trade data, reporting dimensions.
Serializable FX 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
FxDigitalOption()
Default constructor.
FxDigitalOption(Envelope &env, OptionData option, double strike, double payoffAmount, const string &foreignCurrency, const string &domesticCurrency)
Legacy Constructor.
FxDigitalOption(Envelope &env, OptionData option, double strike, const string &payoffCurrency, double payoffAmount, const string &foreignCurrency, const string &domesticCurrency)
Constructor.
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
Build QuantLib/QuantExt instrument, link pricing engine.
Base class for all single asset FX Derivaties.
const std::string & domesticCurrency() const
const std::string & foreignCurrency() const
Serializable object holding option data.
Small XML Document wrapper class.
Serializable Credit Default Swap.
trade option data model and serialization