|
Request historical data.
syntax
RequestHistoricalData(
startTime,
bIncludeStartTime,
endTime,
bIncludeEndTime,
maxRecord,
requestID
)
Parameters
startTime
|
|
Type:
|
character
|
|
The start time of the data you want to retrieve.
|
bIncludeStartTime
|
|
Type:
|
Boolean
|
|
Get TRUE hours, including the start time.
|
endTime
|
|
Type:
|
character
|
|
The end time for the data you want to retrieve.
|
bIncludeEndTime
|
|
Type:
|
Boolean
|
|
Get TRUE hours, including the end time.
|
maxRecord
|
|
Type:
|
Number
|
|
The maximum number of records to retrieve.
|
requestID
|
|
Type:
|
Number
|
|
Please specify any number. This ID will be passed in the OnRecvData event.
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Explanation
Request historical data. As soon as the data is ready on the server side, you will receive it via the OnRecvData or OnRecvMultiData event.
|
reference
Connect
DisConnect
AddField
DelField
ClearField
ReadHistoricalData
RequestHistoricalData
GetHistoricalDataServerName
GetHistoricalDataFieldName
GetLastError
|