54 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
55 QuantLib::Real
notional()
const override;
Serializable object holding generic trade data, reporting dimensions.
const string & nearDate() const
std::string notionalCurrency() const override
QuantLib::ext::shared_ptr< QuantLib::Instrument > instFar_
string nearBoughtCurrency_
QuantLib::ext::shared_ptr< QuantLib::Instrument > instNear_
QuantLib::Real notional() const override
Return the current notional in npvCurrency. See individual sub-classes for the precise definition.
const string & settlement() const
Settlement Type can be set to "Cash" for NDF. Default value is "Physical".
virtual void fromXML(XMLNode *node) override
virtual XMLNode * toXML(XMLDocument &doc) const override
double nearBoughtAmount() const
double nearSoldAmount() const
const string & nearBoughtCurrency() const
FxSwap(const Envelope &env, const string &nearDate, const string &farDate, const string &nearBoughtCurrency, double nearBoughtAmount, const string &nearSoldCurrency, double nearSoldAmount, double farBoughtAmount, double farSoldAmount, const string &settlement="Physical")
Constructor.
double farBoughtAmount() const
double farSoldAmount() const
FxSwap()
Default constructor.
const string & farDate() const
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
Build QuantLib/QuantExt instrument, link pricing engine.
const string & nearSoldCurrency() const
Small XML Document wrapper class.
Serializable Credit Default Swap.
base trade data model and serialization