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 had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"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'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.
"It’s so nice to be working with real professionals!" - Comment from Len
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"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
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
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: Wed May 29, 2024 6:56 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003