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

1
vote
0answers
6 views

Adjusting for your own orders in future backtests

I was asked this question in an interview and despite thinking about it for a while, I haven't been able to come up with a good answer. Suppose you have a strategy you are running where at certain ...
1
vote
2answers
154 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 ...
1
vote
4answers
306 views

Trader's identity in a limit book

In a limit book like NASDAQ ITCH, can liquidity suppliers know the demand-side identity of a trader prior or after a trade? Knowing this will help me with my theoretical model that I am trying to ...
0
votes
1answer
116 views

Level II market data (equities)

I have been playing around with some equities historical market data and I understand that different exchanges have different definitions of what Level II (Limit Order Book) data means. What I'm ...
0
votes
0answers
61 views

Book chart plotting library identification

can you help me identify how those charts are constructed? To your knowledge, is it generated from Python, R, Java, C++? What packages can you identify? I've tried the ggplot2 library in R and I have ...
3
votes
0answers
105 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)} $$ ...
1
vote
3answers
223 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 ...
2
votes
2answers
113 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?
4
votes
4answers
465 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. ...
7
votes
1answer
181 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 ...
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 ...
0
votes
1answer
90 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 ...
0
votes
1answer
117 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). ...
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 ...
0
votes
0answers
44 views

Java limitbook implementation? [duplicate]

I am looking to create my own front-end. What is the best data structure/java swing object to represent a limit order book? currently I am using two JTables and loading best bid and qty data from a ...
1
vote
2answers
152 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 ...
3
votes
1answer
1k 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 ...
1
vote
2answers
870 views

Calculating true value of a stock given the order-book and recent trades

I'm trying to calculate the 'true value' of a stock listed on an exchange. I have access to the limit order-book (containing all bid/ask quotes) and also all trades which have taken place (which ...
0
votes
1answer
375 views

Question about weighted midpoint formula

The answers from these two replies seem to contradict each other. The first numerator is bidSize*bidPrice + askSize*askPrice but the second is bidSize*askPrice + askSize*bidPrice. Price functions ...
-1
votes
1answer
241 views

What is a resting limit order? [closed]

What exactly is a resting limit order? I could not find a definition on Wikipedia or Google.
4
votes
5answers
485 views

FIX- what exactly do repeating groups represent?

I am trying to find out what is the purpose of "repeating groups" in FIX and what exactly do they represent? Are they all related to the same order and if so, why do you need repeated tags? If they ...
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 ...
-2
votes
1answer
266 views

Order book depth views preferences: order-by-order vs. total aggregated volume by price levels

Which is best? Or is it irrelevant? Hi! Considering Level 2 Data (Market Depth), I want to understand the advantages to have all the order book on an order-by-order basis (or tick-by-tick basis) ...
7
votes
2answers
1k 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 ...
2
votes
1answer
373 views

Does DOM trading using broker data make any sense?

Can I use DOM information from Interactive Brokers? Does it make sense? I assume that it makes sense to apply some volume based algorithms only then when you know this order book, that you can get ...
2
votes
1answer
843 views

What exactly is an ISO order?

I have been looking this up and I feel like I keep running into different definitions. My understanding is that an ISO order is one which will get filled with the displayed quantity in a particular ...
1
vote
1answer
233 views

PIQ estimation for FIFO limit order book

Assuming that one doesn't have any kind of priveleged data feed (i.e. info is depth of book and volume executed at bid and ask), is it inherently easier to more accurately estimate position in queue ...
2
votes
1answer
110 views

Limits analysis

I have a few time series of models to analyse in terms of how far/close they are to their underlying limit. The limit is a simple value on the y-axis (always positive), and the series can act ...
7
votes
1answer
648 views

Why would a trader quickly flicker an order immediately preceding a tick away?

The Setup Assume the inside market is $15.15 \times 15.16$ and there is a very large bid order imbalance. For example, 30,000 shares bid across 100+ orders, 200 shares offered across 1 order; ...
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 ...
3
votes
2answers
232 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?
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 ...
4
votes
1answer
299 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), ...
9
votes
3answers
2k 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 ...
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 ...
10
votes
1answer
549 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 ...
11
votes
3answers
658 views

What is the most effective way of determining & measuring the level of HFT activity in a stock in (close to) real time?

On a security by security basis, I want to be able to quantify the level of HFT activity (and later institutional & retail activity). Is it higher than it normally is? How much so? What would you ...
6
votes
1answer
988 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 ...