Posted by Mohammad Rahhal, Last modified by Salameh Abu Hashish on 21 December 2018 12:02 PM


Public Function PositionGetSymbol(Index As Integer) As String

This function is used to get the position symbol name for a given index to an open position on the trade list.


Key Description 
Index The index of the open position on the trade list, a value of type Integer.

Return value

Returns symbol name as a value of type String value. If an empty string returned, then call GetLastError() function to get error.


 Public Sub main ()

  AlertMessage PositionGetSymbol (1)‘Returns Symbol name for first position at the trade list

 End sub

See Also

Back to VTL Client Script Index

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions