Knowledgebase:
SymbolByName
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 24 October 2017 02:40 PM

Syntax

ReadOnly Property SymbolByName(ByRef Name As String) As COSymbol

This property is used to return symbol object of type COSymbol which belongs to the given symbol name

Parameters

Parameter Description 
Name  Trading symbol name to get symbol object for , the value of type string. 

Sample

 Private Sub SymbolByName_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SymbolByName.Click

          'API is perdefined variable as CVertexFXClientAPI

          Dim vsym As COSymbol

          vsym = API.SymbolByName("EUR/USD")

          Msgbox("Symbol name : " & vSym.name & "Symbol Bid " & vSym.Bid )

 End Sub

 


See Also


VertexFX Client 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