PositionGetSymbol
Posted by Angham Al-Banawien, Last modified by Abdullah Almasharfah on 07 December 2018 05:42 PM

Syntax

Public Function PositionGetSymbol (ByVal index  As Integer) As String.

This function is used to return symbol name for the given open position Index in the trade list.

Parameters

Parameter  Description 
index

Open position index in the trade list 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


Back to VTL Server 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