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)




"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"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
"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.
"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
"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 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
"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
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
Home  Search  Register  Login  Blogs Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTN_IQFeed on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »IQFeed Developer »IQFeed Developer Support »Clarification on IQFeed API documentation
Author Topic: Clarification on IQFeed API documentation (4 messages, Page 1 of 1)

salemreyen
-Interested User-
Posts: 9
Joined: Sep 13, 2016


Posted: Sep 13, 2016 01:47 PM          Msg. 1 of 4
Hi,

I need some clarification on IQFeed Level 1 update message on US stocks.

1. Is "Bid Time" always equal to "Ask Time"? I've checked on many symbols and I couldn't find a single case where "Bid Time" is not equal to "Ask Time".

2. For "Message Contents" field, is it always the case that it will always show "ba" if it is a quote update? Again, I could not find a case where it will show only "a" or "b".

3. For "Message Contents" field, can it have "C" (or "O" or "E") and "ba" (or "a" or "b") at the same time? That is, can the message contain both a trade update and a quote update? Again, I couldn't find a case where it has both a trade and a quote update.

4. For "Most Recent Price", "Last Price", "Bid Price" and "Ask Price" fields, do they always have at least two decimal places? For example, if the price is, say, exactly 5 dollars, then will it show 5.00 but not 5 or 5.0?

5. Since IQFeed has servers from both Omaha and Bellevue, how can I force the IQConnect.exe to choose a IQFeed server from Bellevue if my server is located near Bellevue? My server is at Denver which is actually near Bellevue based on ping time.

DTN_Tim Walter
-DTN Guru-
Posts: 1222
Joined: Apr 25, 2006


Posted: Sep 13, 2016 03:32 PM          Msg. 2 of 4
1. They are usually sent as a pair by the exchange, so I can't say always, but for US equities it is largely true. Other exchanges can do this differently than US equities.

2. No, per the same conditions given above

3. No, a refresh message could include any number of conditions.

4. We use the formatting provided to us by the exchange here, so for US equities this is almost always to two decimal places, but I am sure there are exceptions to this as is appropriate on a per symbol basis.

5. You could probably do some DNS routing and such to make this happen, but this would be HIGHLY discouraged as it would cause you to lose all the redundancy options built into the system.

Hope this helps, but let me know if I left out anything.

Tim

salemreyen
-Interested User-
Posts: 9
Joined: Sep 13, 2016


Posted: Sep 14, 2016 07:12 AM          Msg. 3 of 4
Hi Tim,

I am sorry that I am a little confused on your answer on question 3. Do you mean that a Q message can have a quote update and a trade update? What is a refresh message? Is it a resend?

DTN_Tim Walter
-DTN Guru-
Posts: 1222
Joined: Apr 25, 2006


Posted: Sep 14, 2016 09:19 AM          Msg. 4 of 4
Yes, refreshes can have multiples, but those are also P messages, not Q messages, so maybe that is not relevant to what you need. For US equities I have confirmed we should not have both. So you should be able to handle these as either a quote or a trade message, and not both.

Tim
 

 

Time: Wed September 19, 2018 6:51 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003