The prioritized list of resting orders held by the exchange. Each limit order represents an obligation to buy or sell. The most common type of order book is prioritized first by price and them by time. Another variation is the price/size book, where larger size results in higher priority.

learn more… | top users | synonyms

16
votes
6answers
4k views

What tools exist for order book analysis and visualization?

What tools exist for order book analysis and visualization? In particular, if one wanted to examine a limit order book and understand how it changes throughout the day where would you turn for ...
13
votes
4answers
4k views

Implementing data-structures in a Limit order book

I'm working on implementing a 'LOB' and I'm being very careful about choosing my data-structures so as to maximize performance. Using F# as an example, I need to consider a List versus Array for ...
11
votes
3answers
3k views

How are limit orders selected from the order book?

I'm sure there is a simple answer to this but I haven't had any luck with searches. I'm just wondering when someone places a market order which order(s) from the limit order book are selected to fill ...
11
votes
3answers
5k views

Control for bid/ask bounce in high-frequency trade data?

The bid-ask bounce is the bouncing of trade prices between the bid and ask sides of the market. It introduces a systematic bias to the data which can cause serious problems in analysis. What methods ...
10
votes
1answer
556 views

What techniques are used for testing order book implementations?

I am finishing the implementation of a limit order book for modeling NASDAQ. The order book works off of the ITCH feed. My question is what techniques are typically used for testing order books. I am ...
8
votes
1answer
2k views

What is an efficient data structure to model order book?

What is an efficient data structure to model order book of prices and quantities to ensure: constant look up iteration in order of prices retrieving best bid and ask in constant time fast quantity ...
6
votes
1answer
992 views

A generic limit order book: What are the most important queries it should be able to answer?

Assume a class LimitOrderBook which represents a limit order book in a trading system. To be able to represent the limit order book a data handler reads a feed ...
7
votes
3answers
1k views

Limit order book size

I am trying to write a highly optimised limit order book and I wondered what sort of size I can expect for: Range of limit prices Number of orders at each limit price I am developing custom ...
4
votes
1answer
1k views

how do we estimate position of our order in order book?

how would you estimate your order in the exchange order book? The order of order events and acks is not deterministic or guaranteed. How could you write an algo to estimate accurately your position in ...
4
votes
4answers
474 views

Deep bid ask orders

Why do I often see some very deep limit buys and limit sells in a limit book? For instance the bid-ask may be \$39.00-39.01 but I see some bids at \$20 or even \$10 and some ask at \$60 or even \$500. ...