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 someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"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 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 just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"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
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"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 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
"You have an excellent product !!!!!!" - Comment from Arely
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 »Bid/Tick Question
Author Topic: Bid/Tick Question (4 messages, Page 1 of 1)

scooke
-Interested User-
Posts: 30
Joined: Jan 8, 2013


Posted: Feb 12, 2013 03:11 PM          Msg. 1 of 4
As a simple test, I am collecting each Bid and Ask Message for Apple along with each tick. It's not a very high CPU usage operation with C++ so I don't think I am having any latency issues. However, there are times (like at the open yesterday) when actual trades are occurring well below the Bid that IQFeed is messaging out. Normally I would attribute this to heavy selling but while there is decent volume at this time, most of the trades are one lots. So if the Best Published Bid is there and there must be atleast 100 shares there, how can these trades ignore the Best Bid and trade way lower without first filling the trades at the best bid?

I am just concerned that my data is not right. I have attached a chart screenshot showing the period between 9:30 and 9:31. The red line is the Bid and you can see that it persists as I am getting constant messages reminding me of it's value. The green line is trading well under it. This is a single tick chart and it may be tough to see but there are dots on the line for each data point collected. Thanks...

scooke



File Attached: BidTickExample.png (downloaded 1292 times)

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


Posted: Feb 14, 2013 03:54 PM          Msg. 2 of 4
Hello, sorry for the late reply. First a bit of background.

We get bid/ask data on a different feed from the exchange than the trade data and merge the 2 together before they get sent through the system. If you examine the bid time/ask times (now included with the streaming feed in IQFeed 5.0) closely, you can see evidence of this where the best bid or best ask is ever so slightly offset from the trade times occasionally. Unfortunately there isn't any way for us to synchronize this in the streaming feed without delaying one feed or the other to match up the timestamps (and the exchanges will sometimes send data out of order as well which would cause more headaches).

With that said, I did some in-depth looking at the feed for AAPL trades and/quotes for yesterday at market open and the slight difference (never more than about 10ms for the bit I looked at) wasn't the cause of what you were seeing. There was a significant number of times that the trades we received from the exchange were well outside the best bid or ask even after re-sorting the updates chronologically to get rid of the minor discrepancies.

scooke
-Interested User-
Posts: 30
Joined: Jan 8, 2013


Posted: Feb 14, 2013 04:12 PM          Msg. 3 of 4
Regarding your statement:

"There was a significant number of times that the trades we received from the exchange were well outside the best bid or ask"

I guess I am just confused as to how this can be. How can someone trade a one lot at 450.00 when the bid is 450.50 and the ask is 450.75? Unless this trade pushed the bid from 450.50 to 450.00 (highly doubtful).

scooke

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


Posted: Feb 14, 2013 05:01 PM          Msg. 4 of 4
Unfortuantely, I don't have an answer to that question. I can only confirm that is what we received from the exchange.
 

 

Time: Sat May 18, 2024 1:20 PM CFBB v1.2.0 13 ms.
© AderSoftware 2002-2003