SymbolInfoString
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 14 September 2020 12:32 PM

Return value

Return property for the specific symbol. This function overloads 2 variants as the following:

  • Returns property value: 
Public Function SymbolsInfoString(ByVal name As String, ByVal prop_id As Integer) As String
  •  Returns bool value according to function is successfully performed: 
Public Function SymbolsInfoString(ByVal name As String, ByVal prop_id As Integer, ByRef tring_var As String) As Boolean

Parameters

Parameter  Description 
Name  Symbols name to get it information, value of type String.
prop_id Property that want to get it value , can be one of  ENUM_SYMBOL_INFO_STRING.
string_var The requestd property value, value of type String.


Sample

 Public Sub main()

        Dim rst As String

        GUI.MsgDialog (ClientCode.SymbolInfoString("EUR/USD",0))

        If ClientCode.SymbolInfoString("EUR/USD",0,rst) then

        GUI.MsgDialog (rst)

        else

        GUI.MsgDialog ("Failed")

        End if

End Sub

See Also


Back to VTL Server Script 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