GetPositionBrokerSymbol

From MultiCharts
Jump to: navigation, search

Returns the broker symbol associated with the position at a specific location (PositionLoc) in the list of positions for the specified account.

Usage

GetPositionBrokerSymbol(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. 

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

GetPositionBrokerSymbol("DU12345", 3)
will return "ESZ1" if the position with the sequence number 3 in the position list for account DU12345 is opened on ESZ1.