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

Futures.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 brought.

Return Value

The aggregate number of futures contracts held.

See Also

Futures Class | Futures Namespace