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)




"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"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
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
"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
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
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 »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: Wed May 8, 2024 10:11 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003