CommodityFloatingLegData(const std::string &name, CommodityPriceType priceType, const std::vector< QuantLib::Real > &quantities, const std::vector< std::string > &quantityDates, QuantExt::CommodityQuantityFrequency commodityQuantityFrequency=QuantExt::CommodityQuantityFrequency::PerCalculationPeriod, CommodityPayRelativeTo commodityPayRelativeTo=CommodityPayRelativeTo::CalculationPeriodEndDate, const std::vector< QuantLib::Real > &spreads={}, const std::vector< std::string > &spreadDates={}, const std::vector< QuantLib::Real > &gearings={}, const std::vector< std::string > &gearingDates={}, CommodityPricingDateRule pricingDateRule=CommodityPricingDateRule::FutureExpiryDate, const std::string &pricingCalendar="", QuantLib::Natural pricingLag=0, const std::vector< std::string > &pricingDates={}, bool isAveraged=false, bool isInArrears=true, QuantLib::Natural futureMonthOffset=0, QuantLib::Natural deliveryRollDays=0, bool includePeriodEnd=true, bool excludePeriodStart=true, QuantLib::Natural hoursPerDay=QuantLib::Null< QuantLib::Natural >(), bool useBusinessDays=true, const std::string &tag="", QuantLib::Natural dailyExpiryOffset=QuantLib::Null< QuantLib::Natural >(), bool unrealisedQuantity=false, QuantLib::Natural lastNDays=QuantLib::Null< QuantLib::Natural >(), std::string fxIndex="") | CommodityFloatingLegData | |