Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 09 September 2020 10:40 AM


ReadOnly Property SymbolByIndex(ByRef Index As Integer,Optional ShowUnused As Boolean = False) As COSymbol

This property is used to get the symbol object of type COSymbol which belongs to the given symbol index.


Part Description 
Index Trading symbol Index, the value of type integer.
ShowUnused To indicate if the requested symbol is used or not, the value of type is Boolean.
Note: make it true to get the symbol of type group.


 Private Sub SymbolByIndex_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SymbolByIndex.Click

         'API is perdefined variable as CVertexFXClientAPI

          Dim vSym As COSymbol

          vSym = API.SymbolByIndex(1)'The first symbol at market watch

          Msgbox("Symbol name : " & & "Symbol Bid " & vSym.Bid )

 End Sub


See Also

VertexFX Client API Index

(1 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