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)




"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"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
"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 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
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"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
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"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
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
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: 1182
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: 1182
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: Thu July 19, 2018 10:21 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003