32QuantLib::ext::shared_ptr<CashFlow>
34 const QuantLib::ext::shared_ptr<CommodityIndex>& baseIndex,
35 const QuantLib::ext::shared_ptr<FutureExpiryCalculator>& baseFec,
bool baseIsAveraging,
36 const QuantLib::Date& paymentDate = QuantLib::Date());
Cash flow dependent on the average commodity spot price or future's settlement price over a period....
Cash flow dependent on a single commodity spot price or future's settlement price.
Base class for classes that perform date calculations for future contracts.
QuantLib::ext::shared_ptr< CashFlow > makeCommodityCashflowForBasisFuture(const QuantLib::Date &start, const QuantLib::Date &end, const QuantLib::ext::shared_ptr< CommodityIndex > &baseIndex, const QuantLib::ext::shared_ptr< FutureExpiryCalculator > &baseFec, bool baseIsAveraging, const QuantLib::Date &paymentDate)
Make a commodity indexed cashflow.