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 "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
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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
"You have an excellent product !!!!!!" - Comment from Arely
"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
"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'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.
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
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 »Data spikes
Author Topic: Data spikes (4 messages, Page 1 of 1)

bludev
-Interested User-
Posts: 16
Joined: Nov 14, 2012


Posted: Jul 19, 2013 04:31 AM          Msg. 1 of 4
Hi, I have recently switched to IQFeed 5.0 protocol with
"S,SELECT UPDATE FIELDS,Most Recent Trade Date,Most Recent Trade TimeMS,Most Recent Trade,Most Recent Trade Size,Total Volume"
This is all working fine except now occasionally I'm getting some spikes in the data which don't look like they are real trades. I'm attaching an example here (PNG file) which I've also verified by looking through IQConnectLog.txt:

Q,@ADU13,07/18/2013,07:10:36.004,0.9187,1,38571,
Q,@ADU13,07/18/2013,07:30:36.418,0.9187,19,39741,

Any ideas what is causing these? Are these errors/blips in the data or some sort of "non-qualified" trade? Is there any systematic way to filter these out?

Thanks!



File Attached: AUD_Spikes.PNG (downloaded 1620 times)

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Jul 19, 2013 08:54 AM          Msg. 2 of 4
Hello, looking at tick history (specifically at trade condition) for these 2 trades, they were both implied trades and were non-last-qualifying. Implied trades are generated by the exchange as a result of spread trading.

One of the new features in IQFeed 5.0 is that we now have the ability to send through all trades that the exchange provides along with the necessary information for you to decipher them and include/exclude whatever trades you want to see (or don't want to see).

The Most Recent Trade fields in IQFeed 5.0, include all trades that the exchange sends. We have also added 2 fields that will allow you to identify these trades and exclude them from your processing. The first field is the Most Recent Trade Conditions field (along with the Trade Condition lookup). The second field is the Message Contents field which will give a general grouping of trades C = last-qualified, E = form T, O = Everything not C or E. In this case, these trades would have come through with a trade condition indicating they were implied and a message contents field indicating they were "O".

With all that said, you have a few different options to handle this in your app. You can either add the trade conditions and message contents field to your current fieldset and filter these trades within your app, or you can switch your fieldset to use either the "Last" fields (Last, Last Date, Last TimeMS, Last Size) which will only update with last qualified trades or you can use the Extended Trade fields (Extended Trade, Extended Trade Date, Extended Trade TimeMS, Extended Trade Size) which will update with last-qualified trades + form T trades. If you are only watching futures, these 2 fieldsets will return the same data since FormT trades only apply to equities.

bludev
-Interested User-
Posts: 16
Joined: Nov 14, 2012


Posted: Jul 26, 2013 01:27 AM          Msg. 3 of 4
Thanks for this comprehensive reply, very helpful.

So having now had a chance to play with Most Recent Trade Conditions and Message Contents fields, I can see that all the spikes in my future currency data (e.g. @AD and @JY) where due to the occasional group O messages with condition 4D.

However... for crude futures QCL, these same group O messages seem to make up a substantial (~5%) portion of the data which look legitimate and without any spikes. In fact including these group O messages we are now getting much better agreement between IQ feed tick data for crude and the data we can download from TickWrite the next day.

So my question now is, is there any API for programatically finding out which symbols should include group O messages as part of normal data and which ones should exclude them? Or is this a user parameter that one would only know by trial and error?

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Jul 26, 2013 08:24 AM          Msg. 4 of 4
Unfortunately this would have to be something to implement on your end. All the information we get from the exchange to describe these trades is already sent through to you via the feed.
 

 

Time: Wed April 24, 2024 11:21 AM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003