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)




"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
"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 like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"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
"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.
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"I'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. 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) »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: Fri May 3, 2024 8:13 PM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003