SymbolByIndex
Posted by Mohammad Rahhal, Last modified by Fouad Faraj Allah on 02 July 2019 04:36 PM

Syntax

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.

Parameters

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.

Sample

 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 : " & vSym.name & "Symbol Bid " & vSym.Bid )

 End Sub

 


See Also



VertexFX Client API Index

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