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)




"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"Excellent datafeed !!!" - Comment from Arely
"You have an excellent product !!!!!!" - Comment from Arely
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
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) »DTN.IQ Client Software Support »HIT API
Author Topic: HIT API (5 messages, Page 1 of 1)

AlexK
-Interested User-
Posts: 12
Joined: Oct 2, 2017


Posted: Oct 5, 2017 09:03 AM          Msg. 1 of 5
Hello,

I'm using the HIT API (historical IntraDay data), and it doesn't seem to have much more than a few days of data for Futures contracts.

Am I doing something wrong? Is this the correct API for historical, intra-day data? Example:

sout.write("HIT," + symbol + ",1," + "20170101 075000," + ",,,093000,160000," + "1\r\n");

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


Posted: Oct 5, 2017 09:06 AM          Msg. 2 of 5
Good morning,

You are doing a one second request which is based off of tick data. During market hours, tick data is limited to 8 calendar days. If you change your interval to 60, or any whole minute interval, then you can access the full history.

Tim

AlexK
-Interested User-
Posts: 12
Joined: Oct 2, 2017


Posted: Oct 5, 2017 11:06 AM          Msg. 3 of 5
Thanks, this makes sense. So my last question on this topic:

If I change my interval to 60 seconds , the data that is returned will be for each second of data within those 60 seconds? Or will it be some average over the 60 seconds?

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


Posted: Oct 5, 2017 11:08 AM          Msg. 4 of 5
It will be the OHLC composite of every Regular and Extended trade for the related minute.

Tim

AlexK
-Interested User-
Posts: 12
Joined: Oct 2, 2017


Posted: Oct 5, 2017 11:11 AM          Msg. 5 of 5
Thanks again for your quick responses...I've got it now.
 

 

Time: Thu April 25, 2024 3:19 AM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003