SymbolByName
Posted by Mohammad Rahhal, Last modified by Fouad Faraj Allah on 02 July 2019 04:40 PM

Syntax

 ReadOnly Property SymbolByName(ByRef Name As String) As COSymbol

Description

This property is used to return the 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