Knowledgebase: > Properties
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 09 September 2020 09:58 AM
This property used to return the total number of all open positions on trade list .
In the case you want to know how many open positions you have, you can use this property, or in the case you want to list all of the open positions you can use this method to know the open positions count then use OpenPositionByIndex method in a loop starts from 1 to count.
Returns open position total as value of type Integer.