Difference between revisions of "GetNumPositions"

From MultiCharts
Jump to navigation Jump to search
(Created page with " Category:Accounts & Positions")
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
Returns the number of positions in MultiCharts Order and Position Tracker (not the actual amount at the broker).
 +
 +
== Usage ==
 +
<syntaxhighlight>GetNumPositions(Account)</syntaxhighlight>
 +
 +
Where:
 +
 +
:'''Account''' - account number at broker.
 +
 +
== Example ==
 +
<syntaxhighlight>GetNumPositions("DU12345")</syntaxhighlight> will return a value of 3 if the total number of open positions in MultiCharts Order and Position Tracker is 3.
  
 
[[Category:Accounts & Positions]]
 
[[Category:Accounts & Positions]]

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.