| WebCab Options and Futures Web Services for .NET v3.1 | |
DailyReporting.AggregatePosition Method
Calculates the aggregate number of futures contracts held on a given asset where each of the futures contracts have the same maturity.
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 net number of futures contracts held on the given asset with the same maturity.
See Also
DailyReporting Class | Futures Namespace