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

FuturesOnCommodities.ConvenienceYield Method 

Calculates the convenience yield of a consumption commodity when the present value of the cost of storage is known.

public double ConvenienceYield(
   double commodityPrice,
   double storageCosts,
   double riskFree,
   double futuresPrice,
   DateTime evaluationDate,
   DateTime expiryDate,
   string businessCalendarName
);

Parameters

commodityPrice
The price of the underlying commodity.
storageCosts
Present value of the storage cost of the commodity during the life of the futures contract.
riskFree
Average risk free interest rate during the life of the futures contract given in decimal format (i.e. 1 percent = 0.01).
futuresPrice
Market price of a futures contract on the underlying commodity.
evaluationDate
The date when futures contract is evaluated.
expiryDate
The date when the contract matures.
businessCalendarName
The name of one of the implemented business calendars, "London" by default.

Return Value

The convenience yield of the consumption commodity returned in decimal format (i.e. 1 percent = 0.01).

See Also

FuturesOnCommodities Class | Futures Namespace