Return value
Return property for the specific symbol. This function overloads 2 variants as the following:
Public Function SymbolsInfoDouble(ByVal name As String, ByVal prop_id As Integer) As Double
- Returns bool value according to function is successfully performed:
Public Function SymbolsInfoDouble(ByVal name As String, ByVal prop_id As Integer, ByRef double_var As Double) 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_DOUBLE |
double_var |
The requestd property value, value of type Double. |
Sample
Public Sub main()
Dim rst As Double
GUI.MsgDialog (ClientCode.SymbolInfoDouble("EUR/USD",VTLGeneral.ENUM_SYMBOL_INFO_DOUBLE.SYMBOL_BID))
If ClientCode.SymbolInfoDouble("EUR/USD",1,rst) then
GUI.MsgDialog (rst)
else
GUI.MsgDialog ("Failed")
End if
End Sub
See Also
Back to VTL Server Script Index
|