commodity index helper
More...
#include <commoditypricinghelpers.hpp>
|
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) |
|
commodity index helper
Definition at line 36 of file commoditypricinghelpers.hpp.
◆ CommodityPricingHelper()
◆ calculateFxConversionFactor()
Real calculateFxConversionFactor |
( |
const Currency & |
fromCurrency, |
|
|
const Currency & |
toCurrency, |
|
|
const Date & |
evaluationDate |
|
) |
| |
|
static |
◆ calculateUomConversionFactor()
◆ calculateUnitCost()
◆ createPricingPeriods()