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)

"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"Version 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.
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"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 am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
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) »Data and Content Support »How come BID > ASK ?
Author Topic: How come BID > ASK ? (3 messages, Page 1 of 1)

-Interested User-
Posts: 4
Joined: May 5, 2009

Posted: May 10, 2009 02:56 AM          Msg. 1 of 3
I am using IQFeed (via the XLQ C++ API) and I noticed that many times I get that the BID price exceeds ASK price.
(There is no change in the last update time so I guess these two prices belong to the same quote)

I provided the few following examples. All are within trading hours. I have hundreds of such examples. Nearly every stock has this phenomena at least once in a day.

BID ASK symbol last update time
6.51 6.5 SWHC 9:40:12
22.18 22.17 BRCM 9:54:15
26.29 26.28 ADBE 9:44:00
25.72 25.71 ADBE 10:22:32
25.55 25.54 ADBE 10:31:46



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

Posted: May 11, 2009 04:07 PM          Msg. 2 of 3
Once in a while, it is possible that this sort of behavior can happen (the exchange will occasionally send values that don't make sense). However, if you are experiencing this as frequently as you say, I would suspect something else is wrong. Most likely data is getting "dropped" somewhere along the line.

Can you trap the occurances where this happens so we can get a timestamp as well as the data you recieve? Since we are talking about bids and asks, it would also be beneficial to have all of the bid/ask updates you recieved back until the most recent trade prior to the occurance. Also, can you give me an idea of how many symbols you are watching and what kind of symbols?

-DTN Guru-
Posts: 273
Joined: Sep 4, 2004

Posted: May 11, 2009 06:08 PM          Msg. 3 of 3
I think we covered this topic a long while back, with Tim, before Steve was running this show.

Level 1 quotes consoldate from various "regional" exchanges. Sometimes a glitch at a regional causes quotes to go stale, and as a result the level 1 qoute gets crossed. I had suggested at one time that DTN add some logic to detect "stale" quotes and discard them from being used in the compostite Level 1 quote, but my sugegstion was not adopted.

The solution I utilize is to work with regional quotes for the active exhange (or two or three) for the issues you follow rather than the Level 1 quotes. The regional exchange quotes rarely get crossed and if they do, they usually resolve instantly.

Hope this helps.


Time: Fri April 19, 2024 5:03 AM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003