×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

GetPositionBrokerSymbol

817 bytes added, 16:22, 1 May 2018
Created page with "Returns the broker symbol associated with the position at a specific location (PositionLoc) in the list of positions for the specified account. ==Usage== <syntaxhighlight>Get..."
Returns the broker symbol associated with the position at a specific location (PositionLoc) in the list of positions for the specified account.
==Usage==
<syntaxhighlight>GetPositionBrokerSymbol(Account, PositionLoc)</syntaxhighlight>
Where: ''Account'' - account number at broker.
1 <= ''PositionLoc'' <= [[GetNumPositions]] - the sequence number of the position in the position list for the specified account.
==Notes==
When two or more different symbols are mapped to the same broker symbol, this keyword helps to determine if the position at broker is unique.
==Example==
<syntaxhighlight>GetPositionBrokerSymbol("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]]

Navigation menu