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
"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.
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"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 am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"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
"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
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 »Understanding Level II data / how to build a bid/ask ladder
Author Topic: Understanding Level II data / how to build a bid/ask ladder (2 messages, Page 1 of 1)

Dierk Droth
-Interested User-
Posts: 67
Joined: Aug 11, 2004


Posted: Sep 1, 2004 02:38 PM          Msg. 1 of 2
Hi,

I would like to build a bid/ask ladder for a level II display. Here are my questions:

1) Do I have to "calculate" the position of an price/volume/MMID record by myself or is the position somewhere provided in the "U"- record (have not found anything so far).

2) How are records updated ? Can I assume that bid/ask records with same price and MMID override each other ?

3) How are old records deleted ? Is there any field in the "U" record indicating a deletion of a record ?

4) I failed to find a reference on "Reason code" and "Condition code" at www.nasdaq.com (as suggested by the docs). Could you please provide a link to more detailed information ?

5) What the meaning of "Source ID" ? Is it equivalent to "Market code" or "Exchange Id" ?

Regards

Dierk Droth
www.trademagic.net
TradeMagic - Trading at its best

DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: Sep 8, 2004 01:26 PM          Msg. 2 of 2
1) Do I have to "calculate" the position of an price/volume/MMID record by myself or is the position somewhere provided in the "U"- record (have not found anything so far).

>>Yes. You will receive bid/ask updates and will need to do whatever you need with the data. Each application processed data differently and creates tiers their own way, so you will need to process the data to do what you need.


2) How are records updated ? Can I assume that bid/ask records with same price and MMID override each other ?

>> yes. think of a MMID quote as a "sub symbol" and thus if you get a MMID with a new bid/ask update, it is a new quote from that MMID.

3) How are old records deleted ? Is there any field in the "U" record indicating a deletion of a record ?

>> Look for the quote condition to change to L or for the bid/ask to go to zero. In our case, we don't remove the MMID, we put it at the bottom of the sort. The MMID may still be in the market, but just not with any shares available at the time.

4) I failed to find a reference on "Reason code" and "Condition code" at www.nasdaq.com (as suggested by the docs). Could you please provide a link to more detailed information ?

>> On the main API Documentation page. There is a link at the bottom "NASDAQ Level II Condition and Reason Codes". Use this. There is also a link to the full NQDS documentation found on nasdaqtrader.com.


5) What the meaning of "Source ID" ? Is it equivalent to "Market code" or "Exchange Id" ?

>> it is safe to ignore this field.

Jay Froscheiser
DTN Market Access, LLC.
 

 

Time: Thu May 16, 2024 7:11 PM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003