Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Modelling the Limit Order Book

Introduction

Models for order arrival

Visible and hidden orders

Market impact models

Volume prediction models

Probability of filling a limit order

Short term price prediction

Information Asymmetry

Simulation of LOBs

Probabilistic generative models

As discussed in chapter Bayesian Modelling, a probabilistic generative model describes the joint probability distribution of the relevant variables of the problem. For a simulated limit order book, this means modelling the probability distribution of the orders, e.g. limit or market orders in limit order book. A typical way to construct these generative models is to proceed hierarchically:

Once we have a model for the generation of the orders, we need to couple it with a matching engine as the one described in chapter Market microstructure.

XXX Example

Agent-based models

Agent-based models take a different path for simulation of the order book. In this case, we define a set of agents that seek to capture the stylized behaviour of real market players. These agents are algorithms that given market information make decisions about placing orders in the limit order book. Their internal logic is parametrized so their behaviour can be calibrated externally to generate dynamics that are representative of real markets. As with probabilistic generative models, they need to be coupled with a matching engine in order to execute a real simulation.

To illustrate this paradigm, let us discuss the agent-based model from

References
  1. Gabaix, X., Gopikrishnan, P., Plerou, V., & Stanley, H. E. (2003). A theory of power-law distributions in financial market fluctuations. Nature, 423(6937), 267–270. 10.1038/nature01624
  2. Bouchaud, J.-P., Mézard, M., & Potters, M. (2002). Statistical properties of stock order books: empirical results and models. Quantitative Finance, 2(4), 251–256. 10.1088/1469-7688/2/4/301