Difference between revisions of "GetNumAccounts"
Jump to navigation
Jump to search
(Created page with " Category:Accounts & Positions") |
|||
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.