Knowledgebase: > Properties
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 09 September 2020 09:46 AM


 ReadOnly property SymbolByIndex (Index As Long, Optional ShowUnused As Boolean = False) As COSymbol


This property is used to get the symbol information as the object of type COSymbol by giving the symbol index . 


Part Description
Index A symbol location at the market watch ,value of type is Integer.
ShowUnused To indicate if the requested symbol is used or not, value of type is Boolean.
Note : make it true to get the symbol of type group.

 Return value

 Returns COSymbol object for requested symbol index.


 Public WithEvents BOAPI As CVertexFXBOAPI

Private Sub Symbol_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Symbol.Click

    Dim sym As COSymbol

    sym = BOAPI.SymbolByIndex(1)

    Msgbox("Symbol name : " & sym.Name & "Ask price: " & sym.Ask & "Bid price " & sym.Bid)

 End Sub

See Also

VertexFX Backoffice API 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