WebCab Options and Futures for COM v3.1

FuturesOnCommodities.InvestmentCommodityWithCarryWithExplicitTime Method 

Calculates the price of an investment commodity.

public double InvestmentCommodityWithCarryWithExplicitTime(
   double commodityPrice,
   double costOfCarry,
   double timeToExpiry
);

Parameters

commodityPrice
The price of the underlying commodity.
costOfCarry
The cost of carry of the underlying commodity.
timeToExpiry
The time period (in years) until the futures contract expires.

Return Value

The price of the investment commodity.

See Also

FuturesOnCommodities Class | WebCab.COM.Finance.Futures Namespace