42 const string& soldCurrency,
double soldAmount,
const string& settlement =
"Physical",
51 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
52 QuantLib::Real
notional()
const override;
70 virtual void fromXML(
XMLNode* node)
override;
Date maturityDate() const
boost::shared_ptr< QuantExt::FxIndex > fxIndex() const
boost::shared_ptr< FxIndex > fxIndex_
Serializable object holding generic trade data, reporting dimensions.
std::string notionalCurrency() const override
double soldAmount() const
FxForward()
Default constructor.
const string & soldCurrency() const
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".
bool isExpired(const Date &d) override
const string & paymentDate() const
const string & fxIndex() const
FxForward(const Envelope &env, const string &maturityDate, const string &boughtCurrency, double boughtAmount, const string &soldCurrency, double soldAmount, const string &settlement="Physical", const string &fxIndex="", const string &payDate="")
Constructor.
const string & boughtCurrency() const
bool includeSettlementDateFlows_
double boughtAmount() const
const string & maturityDate() const
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
Build QuantLib/QuantExt instrument, link pricing engine.
Small XML Document wrapper class.
Serializable Credit Default Swap.
base trade data model and serialization