Knowledgebase:
PositionGetSymbol
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 16 July 2017 11:56 AM

Syntax

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.

Parameters

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.

Sample

 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))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
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