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)




"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"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
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. 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
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"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.
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
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 1299 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: Tue May 28, 2024 4:49 AM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003