Knowledgebase:
SymbolByID
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 05 February 2018 01:21 PM

Syntax

ReadOnly property SymbolByID (ID As Long, Optional ShowUnused As Boolean = False) As COSymbol

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

Parameters

Part Description
ID Associated symbol number, the value of type Integer.
ShowUnused To indicate if the requested symbol is used or not, the value of type Boolean.
Note: make it true to get the symbol of type group.

Return value

 Returns COSymbol object for requested symbol Id

Sample

 Public WithEvents BOAPI As CVertexFXBOAPI

Private Sub BtnSymbol_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSymbol.Click

    Dim sym As COSymbol

    sym = BOAPI.SymbolByID(6,True)

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

 End Sub


See Also


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