Syntax
Public Function GetChartHistory(ByVal symbolId As String, ByVal period As ENUM_PERIOD, ByVal value As ENUM_HISTORY_TYPE,ByVal FromDate As String,ByVal toDate As String) As Object()
Description
This function is used to return the
Parameters
Parameter | Description |
The Symbol name that wants to get it history, the value of type String. | |
period | Chart period, the value of typeENUM_PERIOD |
value | The history price that |
fromDate | The begin history date, the value of type String. |
toDate | The end history date, the value of type String. |
Return value
Return array as the value of type Object that corresponding to History type.
Sample
Public Sub main() Dim Result () As Object Result = ClientCode.GetChartHistory (EUR/USD, VTLGeneral.ENUM_PERIOD.MINUTE, VTLGeneral. ENUM_HISTORY_TYPE.HIS_HIGH,5/5/2016 00:00:00,6/6/2016 00:00:00) GUI.MsgDialog (the high price value for record 5 & Result (5)) End Sub
See Also