I_CurrentContracts (Reserved Word)

image\trumpet2.gif Disclaimer

Returns the number of contracts held in all open positions (absolute value).

I_CurrentContracts

Remarks

I_CurrentContracts can only be used in a study.

I_CurrentContracts will only return a value if a strategy is applied to the same data.

Examples

I_CurrentContracts returns 3 if there are three open positions of one contract each.

I_CurrentContracts returns 10 if there are three open positions of 3, 4, and 3 contracts respectively.