49 QuantLib::Real
strike,
const QuantLib::Date& futureExpiryDate,
56 QuantLib::Real
strike,
const QuantLib::Period& futureExpiryOffset,
80 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
81 QuantLib::Real notional()
const override;
84 std::map<AssetClass, std::set<std::string>>
85 underlyingIndices(
const QuantLib::ext::shared_ptr<ReferenceDataManager>& referenceDataManager =
nullptr)
const override;
90 virtual void fromXML(
XMLNode* node)
override;
QuantLib::Currency currency_
const QuantLib::Date & maturityDate() const
QuantLib::Date paymentDate_
QuantLib::Position::Type position() const
const QuantLib::Currency & currency() const
const QuantLib::Date & paymentDate() const
QuantLib::Real quantity() const
QuantLib::Position::Type position_
QuantLib::Date maturityDate_
QuantLib::Real strike() const
bool physicallySettled() const
CommodityForward(const Envelope &envelope, const std::string &position, const std::string &commodityName, const std::string ¤cy, QuantLib::Real quantity, const std::string &maturityDate, QuantLib::Real strike)
Detailed constructor with explicit future expiry date.
const boost::optional< bool > & isFuturePrice() const
const boost::optional< bool > & physicallySettled() const
QuantLib::Date futureExpiryDate_
CommodityForward(const Envelope &envelope, const std::string &position, const std::string &commodityName, const std::string ¤cy, QuantLib::Real quantity, const std::string &maturityDate, QuantLib::Real strike, const QuantLib::Date &futureExpiryDate, const boost::optional< bool > &physicallySettled=true, const Date &paymentDate=Date())
Detailed constructor with explicit future expiry date.
const QuantLib::Calendar & offsetCalendar() const
std::string maturityDate_
QuantLib::Period futureExpiryOffset_
Future expiry offset and calendar.
QuantLib::Date fixingDate_
NDF currency, index and fixing date.
const QuantLib::Date & futureExpiryDate() const
QuantLib::Date paymentDate_
std::string commodityName()
const QuantLib::Period & futureExpiryOffset() const
boost::optional< bool > physicallySettled_
boost::optional< bool > isFuturePrice_
QuantLib::Calendar offsetCalendar_
QuantLib::Real quantity()
const QuantLib::Date & paymentDate() const
std::string maturityDate()
std::string commodityName_
CommodityForward(const Envelope &envelope, const std::string &position, const std::string &commodityName, const std::string ¤cy, QuantLib::Real quantity, const std::string &maturityDate, QuantLib::Real strike, const QuantLib::Period &futureExpiryOffset, const QuantLib::Calendar &offsetCalendar, const boost::optional< bool > &physicallySettled=true, const Date &paymentDate=Date())
Detailed constructor with explicit future expiry offset and calendar.
Serializable object holding generic trade data, reporting dimensions.
Small XML Document wrapper class.
Serializable Credit Default Swap.
base trade data model and serialization