Difference between revisions of "GetNumPositions"

From MultiCharts
Jump to navigation Jump to search
(Created page with " Category:Accounts & Positions")
 
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:
 +
 +
: <code>Account</code> - 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]]

Revision as of 14:25, 24 February 2012

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.