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 cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"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
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"It’s so nice to be working with real professionals!" - Comment from Len
"DTN feed was the only feed that consistently matched Bloomberg feed for BID/ASK data verification work these past years......DTN feed is a must for my supply & demand based trading using Cumulative Delta" - Comment from Public Forum Post
"I "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - Comment from Public Forum
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"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
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - 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: Wed May 8, 2024 6:53 AM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003