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)




"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"DTN feed was the only feed that consistently matched Bloomberg feed for BID/ASK data verification work these past years......DTN feed is a must for my supply & demand based trading using Cumulative Delta" - Comment from Public Forum Post
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"I used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"It’s so nice to be working with real professionals!" - Comment from Len
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
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: Sat May 18, 2024 10:34 PM CFBB v1.2.0 5 ms.
© AderSoftware 2002-2003