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)




"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
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"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
"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 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
"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
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"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
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
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: 1238
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: 1238
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: Sun November 18, 2018 5:10 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003