WebCab Options and Futures for COM v3.1

Forwards.AggregatePosition Method 

Calculates the aggregate number of futures contract held.

public int AggregatePosition(
   int shortContracts,
   int longContracts
);

Parameters

shortContracts
The number of future contracts sold short.
longContracts
The number of future contracts bought.

Return Value

The aggregate number of futures contract held.

See Also

Forwards Class | WebCab.COM.Finance.Futures Namespace