Difference between revisions of "GetPositionSymbol"
Jump to navigation
Jump to search
(Created page with " Category:Accounts & Positions") |
|||
Line 1: | Line 1: | ||
+ | Returns the symbol associated with the position at a specific location (PositionLoc) in the list of positions for the specified account. | ||
+ | |||
+ | == Usage == | ||
+ | <syntaxhighlight>GetPositionSymbol(Account, PositionLoc)</syntaxhighlight> | ||
+ | |||
+ | Where: | ||
+ | |||
+ | <code>Account</code> - account number at broker. | ||
+ | <code>1 <= PositionLoc <= GetNumPositions</code> - the sequence number of the position in the position list for the specified account. | ||
+ | |||
+ | == Example == | ||
+ | <syntaxhighlight>GetPositionSymbol("DU12345", 3)</syntaxhighlight> will return "ESZ1" if the position with the sequence number 3 in the position list for account DU12345 is opened on ESZ1. | ||
[[Category:Accounts & Positions]] | [[Category:Accounts & Positions]] |
Revision as of 14:37, 24 February 2012
Returns the symbol associated with the position at a specific location (PositionLoc) in the list of positions for the specified account.
Usage
GetPositionSymbol(Account, PositionLoc)
Where:
Account
- account number at broker.
1 <= PositionLoc <= GetNumPositions
- the sequence number of the position in the position list for the specified account.
Example
GetPositionSymbol("DU12345", 3)
will return "ESZ1" if the position with the sequence number 3 in the position list for account DU12345 is opened on ESZ1.