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)




"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
"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
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter 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.
"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 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
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"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
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
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 Minute Data Accuracy
Author Topic: Historical Minute Data Accuracy (4 messages, Page 1 of 1)

Spuddy
-Interested User-
Posts: 4
Joined: Aug 1, 2004


Posted: Jun 13, 2005 02:06 PM          Msg. 1 of 4
Hi, I've been developing my own T/A software using DTNs feeds for nearly 10 months now and right from day 1, I've been concerned about the accuracy of the historical data. Surpose I connect to DTNs servers and read as much historical data as possible (120 calender days) using say "HM,QQQQ,120,1;", parse the incoming data and plot a OHLC bar chart of the minute data, I'll notice minute bars that are very obviously wrong - they'll have a very long spike top or tail on the minute bar indicating a bad tick has sneaked into it's calculation. I notice these spikes on pretty much every stock and with a frequency of bad data maybe 1 in 5 days (very rough guess). Needless to say this makes the historical data very ugly without any filtering. Let me give you an example.

Today is Monday 06/13/05 and I just retrieved the last 3 trading days worth of SPY minute data using the "HM,SPY,5,1" request (5 calender days). After plotting a chart of the minute data for these last 3 days, 2 huge spikes and 1 possible dodgy looking spike immediately came to my attention. On closer examination of the data returned from DTN, it's obvious that the following Lows that I've marked >>Low<< are badly wrong:

2005-6-13 9:32:00, 120.000000, 119.910000, 119.960000, 119.980000
2005-6-13 9:33:00, 120.090000, 119.950000, 120.000000, 120.060000
2005-6-13 9:34:00, 120.140000,>>112.040000<<,120.040000, 120.130000
2005-6-13 9:35:00, 120.140000, 120.080000, 120.100000, 120.110000
2005-6-13 9:36:00, 120.130000, 120.090000, 120.110000, 120.090000

2005-6-13 11:08:00, 121.020000, 120.840000, 120.850000, 120.980000
2005-6-13 11:09:00, 121.080000, 120.910000, 121.000000, 121.000000
2005-6-13 11:10:00, 121.050000,>>120.050000,<<121.000000, 121.010000
2005-6-13 11:11:00, 121.050000, 120.970000, 121.010000, 120.970000
2005-6-13 11:12:00, 120.990000, 120.940000, 120.980000, 120.950000

2005-6-9 12:24:00, 120.270000, 120.230000, 120.260000, 120.270000
2005-6-9 12:25:00, 120.330000, 120.250000, 120.260000, 120.320000
2005-6-9 12:26:00, 120.450000,>>119.340000,<<120.330000, 120.410000
2005-6-9 12:27:00, 120.540000, 120.420000, 120.420000, 120.520000
2005-6-9 12:28:00, 120.570000, 120.500000, 120.500000, 120.560000

I have written very simple filtering algorithms to scan through the minute data I receive and chop the tops and tails off the bars that are obviously wrong, but this leaves me with an inaccurate minute bar in my data as I don't know what the actual High and Low was and also, sometimes it's not quite so obvious that a minute bar has bad data - I would have to delve into the actual tick data to filter out each bad tick in order to obtain an accurate result. Filtering bad ticks isn't that difficult actually and that's what I've been doing recently. I walk through all the ticks at the end of the day and look for a tick with a price that pops up or down outside a threshold percentage I set, and then pops back on the next tick, suggesting that it was bad - or ticks that are wildly outside the bid and ask are also suspects. So it's not that difficult to write a tick filtering algorithm. I added a fairly effective one to my software in less than a day. However it takes quite a long time for my software to retrieve every tick for a particular stock at the end of each day. I'm looking at maybe 20 to 60 seconds per stock per day of tick data. This might not seem like long, but I want to retrieve accurate minute data for a thousand or so stocks at the end of each day so I can scan for setups and retrieving the tick data for a thousand stocks, just so I can filter out the bad ticks to obtain accurate minute data is not really an option. Also, if I go on holiday for over a week and can't run my software then my data will be at the mercy of your minute database as you only let us retrieve up to 6 trading days of ticks. I'm also suspect you'd rather we didn't hog your bandwidth downloading tons of ticks, so .... is their ANY chance that when DTN calculates the intraday and end of day minute data for each stock, that it can apply some simple bad tick filtering ? It shouldn't take a competent programmer very long to write some code that filters out bad ticks and also cleans up you archives of minute data. I don't like retrieving historical data that is very obviously bad a lot of the time. The accuracy of the minute data also makes me wonder about the accuracy of other time frames such as 60 minute, daily etc if they're calculated from the minute data. Makes your historical data much less useful if it's bad. I did post a message about this about 6 months ago but nothing productive appears to have come of it. Thanks !

DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: Jun 13, 2005 02:31 PM          Msg. 2 of 4
Its been a long time coming, be we are wrapping up development on new servers which will process tick corrections from the exchange. In addition, our market data group is implementing their own tick scrubbing algorithms which should greatly enhance the cleanliness of our data. Once development is complete, it will go to QA for testing. Once all is tested OK, it will be released live and you should notice better minute data at that time.

Jay Froscheiser
DTN - Trading Markets

Spuddy
-Interested User-
Posts: 4
Joined: Aug 1, 2004


Posted: Jun 13, 2005 03:39 PM          Msg. 3 of 4
Oh that's great ! I look foward to that ! Thanks for your prompt reply

ER2
-Interested User-
Posts: 4
Joined: Jul 24, 2005


Posted: Jul 24, 2005 09:35 AM          Msg. 4 of 4
Its been a long time coming, be we are wrapping up development on new servers which will process tick corrections from the exchange. In addition, our market data group is implementing their own tick scrubbing algorithms which should greatly enhance the cleanliness of our data. Once development is complete, it will go to QA for testing. Once all is tested OK, it will be released live and you should notice better minute data at that time.

--------------------------------------------------------------------------------
Jay Froscheiser
DTN - Trading Markets



Greetings Jay ...

I'm not a developer, but if I may put in my nickel's worth.

I'm a new customer of IQ Feed, and I notice as well, the "minute" chart accuracy is a bit below par. After updating the 1 second (tick data), the data was quite accurate.

Jay, I'm sure you're privy on how us chartists long for accurate data, and I wish you godspeed in the endeavor.

Thanks and Regards ~

If you can't be a good example, you can only be a horrible warning.
 

 

Time: Thu May 23, 2024 10:54 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003