Logo
Reference manual - version qle_version
Public Member Functions | List of all members
CommodityIndexedLeg Class Reference

Helper class building a sequence of commodity indexed cashflows. More...

#include <qle/cashflows/commodityindexedcashflow.hpp>

Public Member Functions

 CommodityIndexedLeg (const QuantLib::Schedule &schedule, const ext::shared_ptr< CommodityIndex > &index)
 
CommodityIndexedLegwithQuantities (QuantLib::Real quantity)
 
CommodityIndexedLegwithQuantities (const std::vector< QuantLib::Real > &quantities)
 
CommodityIndexedLegwithPaymentLag (QuantLib::Natural paymentLag)
 
CommodityIndexedLegwithPaymentCalendar (const QuantLib::Calendar &paymentCalendar)
 
CommodityIndexedLegwithPaymentConvention (QuantLib::BusinessDayConvention paymentConvention)
 
CommodityIndexedLegwithPricingLag (QuantLib::Natural pricingLag)
 
CommodityIndexedLegwithPricingLagCalendar (const QuantLib::Calendar &pricingLagCalendar)
 
CommodityIndexedLegwithSpreads (QuantLib::Real spread)
 
CommodityIndexedLegwithSpreads (const std::vector< QuantLib::Real > &spreads)
 
CommodityIndexedLegwithGearings (QuantLib::Real gearing)
 
CommodityIndexedLegwithGearings (const std::vector< QuantLib::Real > &gearings)
 
CommodityIndexedLegpaymentTiming (CommodityIndexedCashFlow::PaymentTiming paymentTiming)
 
CommodityIndexedLeginArrears (bool flag=true)
 
CommodityIndexedLeguseFuturePrice (bool flag=false)
 
CommodityIndexedLeguseFutureExpiryDate (bool flag=true)
 
CommodityIndexedLegwithFutureMonthOffset (QuantLib::Natural futureMonthOffset)
 
CommodityIndexedLegwithFutureExpiryCalculator (const ext::shared_ptr< FutureExpiryCalculator > &calc=nullptr)
 
CommodityIndexedLegpayAtMaturity (bool flag=false)
 
CommodityIndexedLegwithPricingDates (const std::vector< QuantLib::Date > &pricingDates)
 
CommodityIndexedLegwithPaymentDates (const std::vector< QuantLib::Date > &paymentDates)
 
CommodityIndexedLegwithDailyExpiryOffset (QuantLib::Natural dailyExpiryOffset)
 
CommodityIndexedLegwithFxIndex (const ext::shared_ptr< FxIndex > &fxIndex)
 
CommodityIndexedLegwithIsAveraging (const bool isAveraging)
 
CommodityIndexedLegwithPricingCalendar (const QuantLib::Calendar &pricingCalendar)
 
CommodityIndexedLegincludeEndDate (bool flag=true)
 
CommodityIndexedLegexcludeStartDate (bool flag=true)
 
 operator Leg () const
 

Detailed Description

Helper class building a sequence of commodity indexed cashflows.