Syntax
Public Function PositionsTotal() As Integer
Description
This function used to get the open positions count of the selected account.
Parameters
No Parameters.
Return value
Returns the open positions count as the value of type Integer.
Sample
Public Sub Main () Dim Count as Integer Count = ClientCode.PositionsTotal() GUI.MsgDialog(Count) End Sub
See Also