Liquidity-Based Audit of Algorithmic Trading Strategies
Irene Aldridge · 2026
Read Liquidity-Based Audit of Algorithmic Trading Strategies by Irene Aldridge (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2606-29018.txt.
Introduction
Aldridge shows how to audit a trading strategy's effect on market liquidity using only its own trades and prices. Its net demand for liquidity, whether it mostly takes liquidity or supplies it, is usually hidden inside its secret signal. She proves this quantity can be identified from the observable history alone, with no knowledge of the strategy's inner workings.
An exact multi-period regret decomposition drives the result. The sign of one statistic sorts a linear strategy into net liquidity consumer or provider, recovering a classic informed-trader versus market-maker split from observables. Under a simple cost process, the statistic equals strategy size times the squared implied spread, a direct proxy for market illiquidity. Extending to price impact and many correlated strategies yields a liquidity-balance condition. Breaking it creates welfare losses growing with the square of the strategy count, a closed-form fire-sale effect.
Catalog record
| CREATOR | Irene Aldridge |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 85 KB |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2606.29018
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Liquidity-Based Audit of Algorithmic Trading Strategies Irene Aldridge Abstract We show that an algorithmic strategy’s net demand for liquidity is identifiable from its trade and price history alone, with no knowledge of its signal or optimization problem. An exact multi-period regret decomposition implies that the sign of this statistic classifies a linear strategy as a net liquidity consumer or provider, recovering the Kyle (1985) informed-trader/market-maker dichotomy from observables alone. Under an AR(1) cost process, the same statistic equals α s 2 \alpha s^{2} , the product of strategy size and the squared Roll (1984) implied spread, making the correction a direct proxy for prevailing illiquidity. Extending to endogenous price impact and aggregating across N N correlated strategies yields a liquidity-balance condition whose violation produces welfare loss scaling as N 2 N^{2} , a closed-form fire-sale externality. We calibrate to CRSP equity data (2016–2025), tracking implied spreads through the COVID-19 and 2022 rate-shock episodes, with an estimator computable in O ( T ⋅ n d ) O(T\cdot nd) time. 1 introduction Market microstructure has long classified trading activity by its informational role: an informed trader demands liquidity by trading in the direction of private information, while a market maker supplies liquidity by absorbing that order flow and earning the spread in compensation 14 ; 10 . This classification is typically recovered from the data the classifier requires: signed order flow, quote revisions, or the sequential-trade structure of the market. The classification is harder to apply to an algorithmic strategy whose internal logic is unobservable. However, the signals or optimization problems generating the decisions of a typical quantitative fund are not visible, even though the trades and reported positions may be available. This paper shows that the liquidity role of such a strategy (consumer or provider) can be recovered from realized portfolio costs and trade decisions alone, without observing quotes, order flow, or any other microstructure-specific signal. The key observation is that a strategy’s contribution to multi-period performance decomposes exactly into a sum of per-period covariances between the realized cost vector and the strategy’s decision (Theorem 3.6 ). Furthermore, the sign of this covariance statistic is a model-free liquidity classifier: positive covariance means the strategy systematically buys when costs are rising and sells when costs are falling, while negative covariance means the reverse. Buying when asset costs (prices) are rising and selling when prices are falling is the behavior of a successful quantitative fund. The reverse is the defining behavior of a liquidity supplier (Proposition 7.2 ). This single observation has three further consequences that are the substance of the paper. First, under an AR(1) cost process (the standard reduced-form model for short-horizon return reversal), the same covariance statistic admits a closed form in terms of the 19 implied bid-ask spread. The auto-covariance correction to the covariance sum equals \alpha s^{2} , the product of strategy size and the squared effective spread (Theorem 7.5 ). This gives a spread estimator that is a byproduct of the same trajectory data used for the liquidity classification, at no additional computational cost. Second, allowing the strategy’s own trades to move prices shows that covariance regret and price-impact regret are additively separable (Theorem 7.9 ). This is the endogenous price impact in the spirit of 14 and 2 . The additive separation allows the two channels to be estimated independently from the same data. Third, aggregating across N strategies under a common-factor cost structure yields a market-wide liquidity-balance condition: when liquidity demand and supply fail to net to zero across agents. Prices must adjust to clear, and the resulting welfare loss scales as N^{2} in the strategy-correlation coefficient (Corollary 7.13 ). The result is a closed-form statement of the familiar fire-sale mechanism in which correlated deleveraging overwhelms available liquidity. We calibrate the framework to CRSP daily equity data from 2016 through 2025 ( n=21{,}183{,}373 stock-days). The implied Roll spread recovered from the trajectory estimator tracks realized illiquidity through two distinct episodes: it roughly triples during the COVID-19 liquidity crisis of Q2 2020 (from 0.90\% to 2.52\% daily), and it collapses to its sample minimum during the 2022 rate-shock episode, when persistent common-factor repricing rather than microstructure friction dominates short-horizon return dynamics. Both patterns are consistent with the spread acting as a real-time proxy for the depth of the market rather than an estimation artifact. Related work. The liquidity-classification result connects most directly to the sequential-trade and strategic-trading literature. 14 and 10 establish the informed-trader/market-maker dichotomy that this paper recovers from trajectory data rather than order-flow data. 19 provides the implied-spread estimator that this paper re-derives as a regret correction. 2 and 9 provide the price-impact and market-impact models extended in Section 7.3 . 11 and the broader VAR-based price-impact literature offer an alternative, order-flow-based route to the same quantities that this paper recovers from realized costs and decisions alone, a comparison we return to in Section 7.5 . The covariance decomposition itself extends the single-period identity of 1 to the full multi-period stochastic dynamic programming setting and is structurally related to the 6 predict-then-optimize framework and to the regret criterion in online convex optimization ( 22 ; 12 ) . The N -agent fire-sale extension connects to the market-wide liquidity-spiral literature ( 20 ) and to random matrix theory ( 4 ) for the systemic-fragility threshold of Section 7.4 . Roadmap. Section 2 states the liquidity classification result in its simplest form, immediately after the minimal notation required to state it. Section 3 develops the full multi-period stochastic dynamic programming setup and proves the exact covariance decomposition (Theorem 3.6 ) that underlies everything that follows. Section 4 gives a Bellman recursion for the covariance regret functional. Section 5 characterizes the policy bias that arises for strategies (e.g., momentum) that violate the mean-unbiasedness condition. Section 7.2 derives the closed-form auto-covariance correction under an AR(1) cost process. Section 7 returns to liquidity classification in full: the Roll-spread identity, endogenous price impact, the aggregate liquidity-balance condition and fire-sale extension, and the empirical calibration of implied spreads against the CRSP sample. Sections that follow develop the trajectory estimator’s asymptotic properties, additional empirical results, and an N -agent systemic extension. 2 A First Look at Liquidity Classification Before developing the full multi-period framework, we state the paper’s central classification result in its simplest form, since it requires almost none of the machinery that follows. Consider a single trading strategy that, at each period t , faces a cost vector c_{t}\in\mathbb{R}^{d} (e.g. a vector of asset return innovations or factor realizations) and chooses a position \hat{\pi}_{t}(c_{t})\in\mathbb{R}^{n} as a linear function of that cost: \hat{\pi}_{t}(c_{t})=Bc_{t}+b for some matrix B\in\mathbb{R}^{n\times d} . Let \Sigma_{c}=\operatorname{Cov}(c_{t},c_{t}) be the cost covariance matrix. No further structure is needed for the result below; the full stochastic dynamic programming setup, including the multi-period regret identity that gives this statistic its performance interpretation, is developed starting in Section 3 . Definition 2.1 (Liquidity consumer and provider) . The strategy is a net liquidity consumer at period t if \operatorname{Cov}(c_{t},\hat{\pi}_{t}(c_{t}))>0 , a net liquidity provider if \operatorname{Cov}(c_{t},\hat{\pi}_{t}(c_{t}))<0 , and liquidity-neutral if the covariance is zero. Proposition 2.2 (Liquidity role from trajectory data alone) . \operatorname{Cov}(c_{t},\hat{\pi}_{t}(c_{t}))=\operatorname{tr}(B\Sigma_{c}) . In particular: a momentum strategy ( B=\alpha I , \alpha>0 ) is always