What is market microstructure?
Market microstructure is the study of how exchange mechanics the rules of the matching engine, the structure of the order book, the information environment of the participants shape the price formation process. The defining question of the field is: why is the bid-ask spread the size that it is, and what determines the price impact of a trade? The field was formalised in the 1980s and 1990s, with the dominant academic references being Garman (1976) for the foundational market-maker model, Kyle (1985) for the informed-trader model, Glosten & Milgrom (1985) for the sequential-trade model, and O'Hara (1995) and Harris (2003) for the modern synthesis.
The dominant application of market microstructure is the design of execution algorithms. A modern execution algorithm is built on a quantitative model of the limit order book: how does the book evolve over time, what is the probability of a fill at a given price, what is the expected market impact of a trade of a given size. The model is calibrated to the historical order book data and is used to optimise the execution trajectory. The dominant reference is Almgren & Chriss (2000), with the modern extension to order book dynamics in Cont, Stoikov & Talreja (2010).
The second dominant application is the design of market-making strategies. A market-making algorithm continuously provides liquidity on an exchange, posting bid and ask orders and managing the resulting inventory. The defining problem is the adverse selection: the market-maker is picked off by informed traders, and the bid-ask spread must compensate for the expected loss. The standard reference is the Avellaneda-Stoikov framework (Avellaneda & Stoikov, 2008), which provides the closed-form solution for the optimal market-making quotes in the presence of inventory risk and adverse selection. The dominant practitioner extension is Cartea, Jaimungal & Penalva (2015).
How is the limit order book structured?
The limit order book is the central data structure of modern electronic exchanges. It is a list of outstanding buy and sell orders, organised by price level and within each price level by time priority. The best bid is the highest price at which a market participant is willing to buy; the best offer (or ask) is the lowest price at which a market participant is willing to sell. The bid-ask spread is the difference between the best offer and the best bid. The depth of the book is the cumulative quantity at each price level; the total depth is the sum of all outstanding orders.
The order book is dynamic: orders are added, modified, and cancelled continuously, and the matching engine executes trades whenever a market order crosses the spread or a marketable limit order matches an existing order. The dynamics of the order book are the central object of the microstructure literature. The dominant empirical regularities are: the order book is mean-reverting (a large order imbalance tends to be followed by a return to balance), the order flow is informative (a sequence of aggressive buy orders tends to be followed by a price increase), and the cancellation rate is high (most limit orders are cancelled within a few seconds of being placed). The dominant reference for the order book dynamics is Cont (2001).
The standard data structure for the order book is the L2 (price-level aggregated) or L3 (order-by-order) feed. The L2 feed is sufficient for most execution algorithm design; the L3 feed is required for high-frequency market making, where the order-by-order information is material to the adverse selection calculation. The standard data engineering challenge is the storage and processing of the order book feed: a single US equity name produces around 100 MB of L2 data per trading day, and a cross-asset execution algorithm that operates on a thousand names requires a substantial data infrastructure. The dominant reference is Aldridge & Krawciw (2017).
What is the bid-ask spread?
The bid-ask spread is the difference between the best offer and the best bid on the order book. The spread is the dominant transaction cost for retail and institutional traders, and is the dominant source of revenue for market makers. The standard decomposition of the spread (Glosten & Milgrom, 1985) is into three components: the order-processing cost (the cost of clearing, settling, and managing the trade), the inventory-holding cost (the cost of holding an inventory position while waiting for the counterparty to trade), and the adverse-selection cost (the expected loss to informed traders). The empirical evidence is that the adverse-selection component is the dominant fraction of the spread for most liquid instruments, and the order-processing component is the dominant fraction for less liquid instruments.
The dominant empirical regularities of the spread are: spreads are wider for less liquid instruments (smaller market capitalisation, lower trading volume, higher volatility), spreads are wider at the open and the close than in the middle of the trading day (because the inventory risk is higher), and spreads widen in response to public information events (earnings announcements, macroeconomic data releases, geopolitical events). The dominant reference is Harris (2003), which provides the complete treatment of the spread and its determinants.
The standard models of the spread are: the Glosten-Milgrom sequential trade model (1985), in which the spread is set by the market-maker to break even in expectation against an unknown fraction of informed traders; the Kyle model (1985), in which the spread is set by a competitive market-maker to extract information rent from an informed trader; and the Roll model (1984), in which the spread is the price impact of a single trade, set by the order-processing cost. The three models produce different predictions about the empirical determinants of the spread, and the empirical evidence is that all three are relevant: the order-processing cost matters for less liquid instruments, the inventory cost matters for volatile markets, and the adverse-selection cost matters for information-rich instruments (O'Hara, 1995).
What is market impact?
Market impact is the price concession required to find liquidity the difference between the prevailing mid price and the average fill price of a trade. The market impact is a function of the trade size, the trading volume, the volatility, and the order book depth. The standard empirical regularity is that the impact is concave in the trade size: a small trade has a small impact, a large trade has an impact that is a power-law in the trade size, with the exponent typically in the range 0.5-1.0 (Almgren & Chriss, 2000).
The dominant models of market impact are: the linear impact model, in which the impact is proportional to the trade size (this is the simplest and is approximately true for small trades), the square-root impact model, in which the impact is proportional to the square root of the trade size (this is the empirical regularity and is the basis of the Almgren-Chriss framework), and the Kyle model, in which the impact is linear in the trade size with a coefficient that depends on the depth of the book. The dominant reference for the empirical market impact regularities is Almgren, Thum, Hauptmann & Li (2005), which documents the square-root impact for a large cross-section of trades.
The standard market impact decomposition is: the temporary impact (the price concession during the execution, which decays back to the prevailing mid after the trade is complete) and the permanent impact (the price concession that persists after the execution is complete, reflecting the information content of the trade). The temporary impact is the dominant cost for most execution algorithms, and is the focus of most execution algorithm design. The permanent impact is the dominant cost for trades that convey information, and is the focus of the broader market impact literature. The standard reference is Cont, Kukanov & Stoikov (2014), which provides the decomposition.
What is market making?
Market making is the continuous provision of liquidity on an exchange by posting bid and ask orders. The market maker earns the bid-ask spread, but bears inventory risk and adverse selection. The defining problem is the tradeoff: the wider the spread, the lower the probability of being filled (and the lower the adverse selection), but the lower the expected profit per trade. The narrower the spread, the higher the probability of being filled (and the higher the adverse selection), but the lower the expected profit per trade. The optimal spread balances these two effects (Glosten & Milgrom, 1985; Kyle, 1985).
The dominant quantitative framework for market making is the Avellaneda-Stoikov model (Avellaneda & Stoikov, 2008), which provides the closed-form solution for the optimal market-making quotes in the presence of inventory risk and adverse selection. The model assumes that the mid-price follows arithmetic Brownian motion, that the order arrival rate is a function of the distance from the mid, and that the market maker has a quadratic inventory penalty. The optimal quotes are then a function of the current inventory, the time horizon, the volatility, and the order arrival parameters. The standard reference is Avellaneda & Stoikov (2008), with the modern treatment in Cartea, Jaimungal & Penalva (2015).
The dominant practitioner challenge in market making is the high-frequency adverse selection. The market maker is in a constant arms race with informed traders, who use sophisticated signals (order book imbalance, trade flow, news flow) to predict short-term price movements. The market maker's edge is the speed of the technology (the co-located system can update quotes in microseconds, faster than the informed trader can act) and the breadth of the inventory diversification (the market maker can hold a large inventory across many names, hedging the net position in the correlated instruments). The dominant reference is Cartea, Jaimungal & Penalva (2015), with the modern practitioner extension in Aldridge & Krawciw (2017).
What is the order flow toxicity?
Order flow toxicity is the fraction of incoming orders that are informed that is, that are placed by traders with information about the future price. The market maker's expected loss per trade is proportional to the order flow toxicity: the higher the toxicity, the more likely the market maker is being picked off by an informed trader, and the wider the spread must be to compensate. The standard empirical measure of order flow toxicity is the Volume-Synchronised Probability of Informed Trading (VPIN), which estimates the probability that an incoming order is informed from the volume imbalance in the trade flow.
The VPIN measure was introduced by Easley, López de Prado & O'Hara (2012) and is the most-cited microstructure innovation of the 2010s. The measure is computed from high-frequency trade data by bucketing the trades into equal-volume bins and computing the order imbalance in each bin. The variance of the order imbalance across bins is the VPIN estimate. The measure is used by exchanges and regulators to monitor market health, and is used by market makers to dynamically adjust their spreads in response to changing toxicity.
The standard criticism of VPIN is that it is a proxy, not a direct measure, of order flow toxicity. The proxy is biased by the order arrival rate, the trade size distribution, and the bid-ask bounce, and the bias can produce false positives in fast-moving markets and false negatives in slow-moving markets. The standard response is to use VPIN as one input among many to the market maker's spread calculation, rather than as the sole input. The dominant reference is Easley, López de Prado & O'Hara (2012) (original paper) and the practitioner extension in Aldridge & Krawciw (2017).
What is the execution algorithm design?
Execution algorithm design is the construction of the trading trajectory for a parent order. The defining inputs are: the parent order size Q, the decision-time price P_0, the execution horizon T, the risk aversion λ, and the cost of trading. The defining outputs are: the trading trajectory (the sequence of child orders as a function of time) and the expected cost (the expected implementation shortfall as a function of the trajectory). The standard reference is Almgren & Chriss (2000), which formulates the problem as a tradeoff between market impact and timing risk.
The standard execution algorithm families are: TWAP (Time-Weighted Average Price, equal time slices), VWAP (Volume-Weighted Average Price, slices proportional to historical intraday volume), Implementation Shortfall (front-load execution, minimise timing risk), Liquidity-seeking (search the book for hidden liquidity, opportunistically cross the spread), and Dark (route only to dark pools, minimise information leakage). The major sell-side execution desks maintain libraries of these algorithms and tune them continuously against broker-execution TCA (transaction cost analysis) data.
The modern frontier in execution algorithm design is the use of reinforcement learning. The execution algorithm is the agent; the state is the order book and the trading day; the action is the child order; the reward is the realised execution price minus the benchmark. The agent learns a policy that minimises the implementation shortfall net of the market impact. The state-of-the-art execution algorithms are based on the Almgren-Chriss framework, with the RL extension providing an adaptive policy that responds to the realised market conditions. The dominant reference is Almgren & Chriss (2000), with the modern RL extension in the recent academic literature.
What are the honest limits of market microstructure?
The honest limits of market microstructure are the same as the honest limits of any model-based discipline. The defining limit is the data: high-frequency order book data is large, expensive to store, and difficult to clean (the timestamps are noisy, the order cancellations are frequent, and the corporate actions are not always aligned with the trade data). The standard response is the use of vendor data (e.g., LSEG, Bloomberg) for the institutional market, but the data is still imperfect, and the imperfections are the source of substantial modelling error.
The second limit is non-stationarity. The order book dynamics change over time, in response to changes in market structure, regulatory regime, and participant behaviour. A model that is fit on a single historical period will not survive a structural change. The standard response is continuous monitoring and recalibration, but the recalibration is itself a non-stationary process, and the practitioner literature is explicit that the recalibration is a necessary but not sufficient condition for robust performance.
The third limit is the human. Market microstructure is a discipline of judgement. The microstructure model's output is the input to the trader's decision, not the decision itself. The most common single source of major losses in the microstructure function is a known model risk that was not managed, a known data leakage that was not addressed, or a known model that was overridden. The honest practitioner treats the microstructure model as a tool, not as an oracle, and uses the model to make better decisions, not to replace the decision (Harris, 2003).