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)




"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"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 just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
"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
"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
"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.
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"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'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 11:49 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003