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

Syntax

 Readonly Property SymbolByName(Name As String) As VertexFXBOAPI.COSymbol

Description

This property is used to get COsymbol object by the symbol name

Parameters

Part Description
Name Associated symbol name,value of type is String

Return value

 Returns COsymbol object for requested symbol name.

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.SymbolByName("EUR/USD")

    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