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)




"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
"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.
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"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
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
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 9:36 AM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003