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 beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"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
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"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
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"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.
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 data resolution
Author Topic: historical data resolution (4 messages, Page 1 of 1)

jburford
-Interested User-
Posts: 3
Joined: Aug 29, 2015


Posted: Aug 31, 2015 06:29 PM          Msg. 1 of 4
Hello.

I am using the following HIX API command to request historical data:

HIX,SPY,1,1404000,0

I was attempting to request 1 second data for approximately the last 60 days. I set max data points (1404000) by multiplying the number of seconds in a trading day (23400) by 60. I did get 1404000 data points, however the time between data points varied from 2 seconds all the way up to over 15 seconds. However, if I lower my number of days back to about 20 (468000 data points), I get just one second between every data point.

I have a couple questions:

- how can I restrict my request to return only data points inside primary market hours (9:30 - 4PM ET)?
- I thought I could get 1 second resolution going back 180 calendar days. Do I need to use some other API call or modify the one I am currently using?

Thanks!

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


Posted: Sep 1, 2015 08:31 AM          Msg. 2 of 4
Good morning,

In our history, if there are no ticks for a given interval you will receive no data. So when you are at a 1 second resolution there are several of these. By the time you get to 20 seconds, the gap is large enough (in this instance) that there is always at least one tick.

To restrict your request, the HIT request has begin filter time and end filter time setting which I think will meet your need.

Tim

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


Posted: Sep 1, 2015 08:32 AM          Msg. 3 of 4
Oh, and to the last point, 180 days of tick data is available outside of the US market hours, otherwise you are limited to 8 days.

Tim

jburford
-Interested User-
Posts: 3
Joined: Aug 29, 2015


Posted: Sep 1, 2015 06:59 PM          Msg. 4 of 4
OK thanks for the reply Tim. All helpful points. I'm trying to match up your tick data now with the aggregated per second data I got with the HIT query. I am now just trying to get tick data from this past trading session like so:

HTX,SPY,46800

My Java client just hangs reading from the socket. Any ideas on what's happening or what I may be doing wrong?

Thanks!
 

 

Time: Tue April 23, 2024 10:03 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003