GetNumAccounts: Difference between revisions
From MultiCharts
(Created page with " Category:Accounts & Positions") |
No edit summary |
||
Line 1: | Line 1: | ||
Returns the number of accounts in the list of accounts obtained from broker. | |||
If the list is empty, an "N/A" value, i.e. 0, is returned. | |||
== Usage == | |||
<syntaxhighlight>GetNumAccounts</syntaxhighlight> | |||
== Example == | |||
The broker returned the following list of accounts: "DU12345", "DU23456", "DU34567", "DU45678". | |||
<syntaxhighlight>GetNumAccounts</syntaxhighlight> will return a value of 4. | |||
[[Category:Accounts & Positions]] | [[Category:Accounts & Positions]] |
Latest revision as of 14:19, 24 February 2012
Returns the number of accounts in the list of accounts obtained from broker.
If the list is empty, an "N/A" value, i.e. 0, is returned.
Usage
GetNumAccounts
Example
The broker returned the following list of accounts: "DU12345", "DU23456", "DU34567", "DU45678".
GetNumAccounts
will return a value of 4.