The Stack Overflow podcast is back! Listen to an interview with our new CEO.

# Questions tagged [limit-order-book]

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.

85 questions
Filter by
Sorted by
Tagged with
497 views

### Locked or Crossed Markets

I don't understand why Rule 610 from Reg NMS was introduced: what was the problem with locked markets? I have read that one of the issues is that it forced a market maker (say, from Nasdaq) who ...
521 views

### Mid-Point calculation with execution probability

Referring Cao, Hansch, and Wang (2004) "The Informational Content of an Open Limit Order Book" $$\mbox{WP}^{n_1 - n_2} = \frac{\sum_{j=n_1}^{n_2} (Q_j^d P_j^d + Q_j^s P_j^s)}{(Q_j^d + Q_j^s)}$$ ...
560 views

### What are the unfair order execution/routing advantages HFT firms apparently have?

I originally thought that you have an orderbook per stock and orders would be filled on the time at which they arrive. Arrive first and you get the best price and the qty in the orderbook is reduced ...
509 views

### What is the correct / expected behavior for a market order sent to an empty book?

Should it stick around until liquidity shows up? (GTC) Should it cancel any size for which there is no liquidity? (IOC) Is there such a thing as Market GTC or Market Orders must always be IOC?
911 views

### How do you calibrate a poisson arrival rate process?

Many papers in the microstructure literature assume an order arrival rate of the form $\lambda^a(\delta) = \lambda^b(\delta) = Ae^{-k\delta}$ That is, an order that's placed $\delta$ away from the ...
143 views

### Change of order size

For example I am put a limit order of size 10 at top bid. moments later, my algorithm detects we should have size of 50 here. So we request a update on this order. My question is, will we lose the ...
420 views

### Disclosure of the liquidity provider identity in ITCH

If you look into the description of Nasdaq ITCH data, you see two types of order entries in the book: Message of Type A and F. Under type F, you will see the identity of the market participant (MPID). ...
236 views

### Quotes and Transactions Streams from Exchange

I have possibility of taking 2 types of real time streams from some exchange: bid-ask quotes (fresh quotes from order book) transaction log (transactions matched by exchange) I'm curious what ...
5k views

### open-source implementation of orderbook from FAST?

I'm looking for c/c++ implementation of OrderBook. I need implementation to reconstruct market data from FAST. I don't need to do "matching" because it already did by exchange, I only need to "...
967 views

410 views

### What does ABBO (Away best bid and offer) refer to?

I know what the NBBO is but I've seen mention of ABBO and I'm not sure what it means?
20k 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 ...
3k 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 ...
414 views

### What is a good source to learn the different nuances of electronic orders and their nature?

Today I was speaking with someone involved in high frequency trading. They were mentioning hidden orders, queue positions (which can be lost in the orderbook based on certain order modifications), ...
2k views

### Non-SQL methods for high-frequency accounting?

Does anyone know of any prior art for non-SQL data structures for high-frequency accounting, whether client, broker, or exchange-side? I'm thinking specifically of the problem of booking individual ...
2k 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 hardware ...
8k 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 ...
1k 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 ...
13k 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 ...
8k 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 ...
9k views

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 ...
3k views

### Order submission strategies of a rational market maker?

Consider a market maker that has decided to try to make a round-trip trade in stock A in order to capture the bid-ask spread. Assume furthermore that he has no current inventory in the stock A. To ...