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

FuturesOnCommodities.ConvenienceYieldWithProportionalCosts Method 

Returns the convenience yield of a consumption commodity when the storage costs as a proportion of the commodity price is known.

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

Parameters

commodityPrice
The price of the underlying commodity.
storageCosts
Storage costs as a proportion of the commodity price during the life of the contract.
riskFree
Continuously compounded risk free interest rate 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 expires.
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