Difference between revisions of "GetNumPositions"

From MultiCharts
Jump to navigation Jump to search
 
Line 6: Line 6:
 
Where:  
 
Where:  
  
:'''<code>Account</code>''' - account number at broker.
+
:'''Account''' - account number at broker.
  
 
== Example ==
 
== Example ==

Latest revision as of 18:15, 3 March 2017

Returns the number of positions in MultiCharts Order and Position Tracker (not the actual amount at the broker).

Usage

GetNumPositions(Account)

Where:

Account - account number at broker.

Example

GetNumPositions("DU12345")

will return a value of 3 if the total number of open positions in MultiCharts Order and Position Tracker is 3.