Syntax
Public Function PositionGetSymbol (ByVal index As Integer) As String.
Description
This function is used to return symbol name for the given open position Index inthe tradelist.
Parameters
Parameter | Description |
index |
Open position index in the tradelist to get its symbol. Value of type is Integer. |
Return value
Returns open position symbol name as the value of type string.
Sample
Public Sub main() Dim value as String value = ClientCode.PositionGetSymbol(1)return the symbol name for first position at trade list GUI.MsgDialog(Position Symbol: & value ) End Sub
See Also