TL;DR
Reinforcement learning (RL) policies for trade execution can generalize across vastly different assets—from Nasdaq stocks to crypto—by using "microstructure invariance" to normalize market data into universal units. A single policy trained on 2019 Nasdaq data transfers successfully to unseen stocks, future years, and even different exchanges, proving that markets "look alike" when measured in their own natural units of time, size, and price.
What Problem Does This Paper Address?
In financial markets, every asset is different. A high-volume stock like Apple has a massive queue of orders and a tight bid-ask spread, while a small-cap stock might trade only a few times an hour with a wide spread. Traditionally, trading algorithms are calibrated asset-by-asset to handle these differences in scale.
For reinforcement learning, this presents a massive challenge for zero-shot generalization. If you train an agent to trade one stock, it usually fails on another because the "scales" are all wrong. The authors investigate whether we can find a universal representation—a set of "invariant units"—that makes all markets look the same to a single RL policy.
Methods
The researchers leverage the theory of microstructure invariance, which suggests that if you measure time in "mean time between trades," size in "mean trade size," and price in "mean spread," the underlying dynamics of different markets become statistically similar.
Key components of their approach include:
- Exact Queue Replay: They developed a high-fidelity simulator that replays historical Nasdaq TotalView-ITCH data with nanosecond precision, accurately tracking an order's position in the queue.
- Representation Testing: They compared eleven different ways to represent the market state, including raw physical units (seconds, cents), standard normalizations (z-scores), and theoretically-derived invariant units (MS and KO units).
- Learning Algorithms: They primarily used Fitted Q-Iteration (FQI) with gradient-boosted trees (LightGBM) to learn the "advantage" of waiting in a queue versus crossing the spread immediately. They also validated results with Neural FQI and PPO.
Datasets
The study uses an extensive and diverse set of data:
- Nasdaq Stocks: Training on 954 stocks from 2019; testing on 1,964 unseen stocks from 2020–21 and 2,629 stocks from 2025–26.
- Coinbase Crypto Pairs: 16 USD-quoted pairs to test cross-market transfer.
- IEX Exchange: Data from a second US exchange to test cross-venue transfer.
- Synthetic Controls: "Zero-intelligence" order book models where market symmetries are known exactly.
- Pendulums: A non-financial benchmark (CARL) used to verify the general principles of invariance and transfer gaps.
Key Insights and Ideas
- Markets are Scale-Invariant: A policy that only sees an asset through its recent trade rate, size, and spread performs nearly as well as a policy trained specifically on that asset.
- Units Save Data, Not Just Performance: While neural networks can eventually "learn" their own normalization if given enough raw data and descriptors, using invariant units makes the learning process roughly 10x more data-efficient.
- The "Transfer Gap" Trap: A common way to evaluate transfer is to see how much performance is lost compared to a policy trained on the target task. The authors prove (Proposition 4) that this "transfer gap" is a weak metric. In a large pool of assets, a comparator policy barely adapts to any single new asset, so even a poor representation might show a deceptively small gap.
- Extrapolation Limits: Invariance helps within the range of scales seen during training, but no representation could successfully extrapolate to entirely new "spread regimes" (e.g., moving from small-tick to large-tick stocks if the agent hadn't seen them before).
Key Results
- Zero-Shot Success: The universal MS+tick policy costs within 0.015 spreads per share of a policy that actually saw the test stock during training.
- Cross-Market Transfer: Policies trained on Nasdaq stocks successfully transferred to Coinbase crypto pairs, beating simple baselines and coming within a narrow margin of crypto-trained policies.
- Economic Impact: In terms of basis points (bp), the zero-shot policy saved significant costs (e.g., saving 6.17 bp relative to always crossing the spread in 2020–21).
- Data Efficiency: As shown in Figure 3, raw features need significantly more training episodes to match the performance that invariant units achieve almost immediately.
Limitations and Future Work
- Non-Intrusive Replay: The simulation assumes the agent's own trades do not change the behavior of other market participants (no market impact).
- Single Venue: The replay only covers a single exchange's displayed book, ignoring dark pools, midpoint liquidity, or smart order routing.
- Atom of Execution: The study focuses on the "make-or-take" decision for a single order. The authors suggest that the next step is applying these invariant principles to parent order scheduling, where market impact becomes a dominant factor.
- Regulatory Changes: Future work could test these policies against upcoming changes like the US half-penny tick, which will fundamentally shift the spread regimes of many stocks.
Summary updated