QuantLib_CommodityPricingHelper man page

CommodityPricingHelper — commodity index helper

Synopsis

#include <ql/experimental/commodities/commoditypricinghelpers.hpp>

Static Public Member Functions

static Real calculateFxConversionFactor (const Currency &fromCurrency, const Currency &toCurrency, const Date &evaluationDate)

static Real calculateUomConversionFactor (const CommodityType &commodityType, const UnitOfMeasure &fromUnitOfMeasure, const UnitOfMeasure &toUnitOfMeasure)

static Real calculateUnitCost (const CommodityType &commodityType, const CommodityUnitCost &unitCost, const Currency &baseCurrency, const UnitOfMeasure &baseUnitOfMeasure, const Date &evaluationDate)

static void createPricingPeriods (Date startDate, Date endDate, const Quantity &quantity, EnergyCommodity::DeliverySchedule deliverySchedule, EnergyCommodity::QuantityPeriodicity qtyPeriodicity, const PaymentTerm &paymentTerm, PricingPeriods &pricingPeriods)

Detailed Description

commodity index helper

Author

Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

calculateFxConversionFactor(3), calculateUnitCost(3), calculateUomConversionFactor(3) and createPricingPeriods(3) are aliases of QuantLib_CommodityPricingHelper(3).

Fri Sep 23 2016 Version 1.8.1 QuantLib