Syntax
Readonly Property SymbolByName(Name As String) As VertexFXBOAPI.COSymbol
Description
This property is used to getCOsymbolobject by the symbolname
Parameters
Part | Description |
Name | Associated symbol name,value of type is String |
Return value
ReturnsCOsymbolobject for requested symbol name.
Sample
Public WithEvents BOAPI As CVertexFXBOAPIPrivate Sub BtnSymbol_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSymbol.Click Dim sym As COSymbol sym = BOAPI.SymbolByName("EUR/USD") Msgbox("Symbol name : " & sym.Name & "Ask price: " & sym.Ask & "Bid price " & sym.Bid)) End Sub
See Also