Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »Historical Intraday data - open time vs close time
Author Topic: Historical Intraday data - open time vs close time (2 messages, Page 1 of 1)

mattgundersen
-Interested User-
Posts: 15
Joined: Jun 23, 2015


Posted: Jun 27, 2015 02:25 PM          Msg. 1 of 2
Hi,

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>

CString sCommand;
int nInterval = 60*60; // 60 minutes.
sCommand.Format(L"HID,%s,%d,4,,080000,160000,,%s", sSymbol, nInterval, sRequestID);

Data returned:
@ESU15-60,2015-06-23 12:00:00,2116.00,2112.75,2114.25,2114.00,516227,121316,0,
@ESU15-60,2015-06-23 11:00:00,2120.25,2112.75,2118.00,2114.25,394908,163427,0,
@ESU15-60,2015-06-23 10:00:00,2118.75,2114.25,2114.75,2118.25,231449,100886,0,
@ESU15-60,2015-06-23 09:00:00,2119.25,2114.00,2118.00,2115.00,130562,26696,0,

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.

Thanks, Matt.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jun 28, 2015 12:42 AM          Msg. 2 of 2
Hello Matt,

You are correct, we do use the close time and have not implemented an alternate timestamp option yet, but as you mentioned, decrement by one and you are there.

Let us know if any other issues come up for you.

Tim
 

 

Time: Sun May 19, 2024 5:05 PM CFBB v1.2.0 6 ms.
© AderSoftware 2002-2003