Joined: Jun 23, 2015
Posted: Jun 27, 2015 02:25 PM
Msg. 1 of 2
I'm doing a request for intraday data using the HID command.
// HID, [Symbol], [Interval], [Days], [MaxDatapoints], [BeginFilterTime], [EndFilterTime], [DataDirection], [RequestID], [DatapointsPerSend], [IntervalType]<CR><LF>
int nInterval = 60*60; // 60 minutes.
sCommand.Format(L"HID,%s,%d,4,,080000,160000,,%s", sSymbol, nInterval, sRequestID);
Since my filter time is 8:00AM and the first bar of every day is 09:00 AM I'm assuming the time of the bar is the close time?
If that's correct, is there a way to tell the API to return the time as the open time?
No big deal if that's not possible, I can always subtract an hour to get the open time.