WebCab Options and Futures Web Services for .NET v3.1

FuturesOnCommodities.InvestmentCommodityWithCarry Method 

Calculates the price of an investment commodity.

public double InvestmentCommodityWithCarry(
   double commodityPrice,
   double costOfCarry,
   DateTime evaluationDate,
   DateTime expiryDate,
   string businessCalendarName
);

Parameters

commodityPrice
The price of the underlying commodity.
costOfCarry
The cost of carry of the underlying commodity.
evaluationDate
The date when futures contract is evaluated.
expiryDate
The date when the contract expires.
businessCalendarName
The name of one of the implemented business calendars, "London" by default.

Return Value

The price of the investment commodity.

See Also

FuturesOnCommodities Class | Futures Namespace