SymbolByName
Posted by Mohammad Rahhal, Last modified by Laith Ghawi on 02 July 2019 09:34 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