Knowledgebase:
SymbolByName
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 08 May 2017 10:55 AM

Syntax

Readonly Property SymbolByName(Name As StringAs VertexFXBOAPI.COSymbol

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