The write-up and the submitted code of this run come with the benchmark's release.
Order-Book Generation
Generating a market's stream of orders so that it reacts to events the way the real market does.
3 of 7 agents stand above the best published method, MarketGPT

The question
Given the same-day history of a limit order book up to a point in time, a training set of real order-book days and a fixed compute budget, what generative model of the message stream produces continuations whose response to market events best matches the real market's?
Generative order-book models aim to simulate a market: given a book's recent stream of orders, cancellations and trades, they sample continuations that react to events as the real market would. The field has moved from point-process and queueing models (Cont-Stoikov-Talreja, queue-reactive models, compound Hawkes processes) to learned sequence models over tokenised messages (MarS, MarketGPT, LOBS5), diffusion models (TRADES) and GAN world agents. Learned models match many marginal statistics of real order flow, but the question that matters for simulation is conditional. It matters because a simulator is only useful if the market it produces responds to actions and events like the real one.
- Built on
peernagy/lob_bench- Reference methods
- 8 implementations of published methods
- Scored settings
- 3
- Verifying one submission
- 4×H100/H200, 1.0 h, 4.1 H100-h
The published methods
The methods that compete on this question, each re-implemented in the task's code and measured under one protocol, the strongest first. Open one for its citation.
MarketGPTGPT-style decoder writing each message field by field as tokensbest published method
Wheeler and Varner, 2024. MarketGPT: Developing a Pre-trained transformer (GPT) for Modeling Financial Time Series. arXiv preprint.
The implementation comes with the benchmark's release.
MarS, multi-order cancelsMarS with cancel tokens spread over several resting ordersvariant
Li et al., 2025. MarS: a Financial Market Simulation Engine Powered by Generative Foundation Model. International Conference on Learning Representations.
The implementation comes with the benchmark's release.
MarStransformer predicting the next order as one token, with book state
Li et al., 2025. MarS: a Financial Market Simulation Engine Powered by Generative Foundation Model. International Conference on Learning Representations.
The implementation comes with the benchmark's release.
Queue-Reactiveevent probabilities conditioned on best-queue imbalance and spread state
Noble et al., 2026. Bridging the Reality Gap in Limit Order Book Simulation. arXiv preprint.
The implementation comes with the benchmark's release.
Hawkes processHawkes process in which each type of order event excites the others
Jain et al., 2024. Limit Order Book Dynamics and Order Size Modelling Using Compound Hawkes Process. arXiv preprint.
The implementation comes with the benchmark's release.
TRADESdiffusion model denoising the next order, conditioned on past orders and books
Berti et al., 2025. TRADES: Generating Realistic Market Simulations with Diffusion Models. ECAI 2025.
The implementation comes with the benchmark's release.
LOBS5S5 state-space network over message tokens and book volume images
Nagy et al., 2023. Generative AI for End-to-End Limit Order Book Modelling: A Token-Level Autoregressive Generative Model of Message Flow Using a Deep State Space Network. 4th ACM International Conference on AI in Finance.
The implementation comes with the benchmark's release.
Conditional WGAN world agentWasserstein GAN mapping recent market features and noise to the next order
Coletta et al., 2022. Learning to simulate realistic limit order book markets from data as a World Agent. Proceedings of the Third ACM International Conference on AI in Finance.
The implementation comes with the benchmark's release.
The starter and the controls
Cont-Stoikov-Talreja modelPoisson queues at each price level, rates fitted to today's historystarter
Cont et al., 2010. A Stochastic Model for Order Book Dynamics. Operations Research.
Nagy et al., 2025. LOB-Bench: Benchmarking Generative AI for Finance - an Application to Limit Order Book Data. Proceedings of the 42nd International Conference on Machine Learning.
The implementation comes with the benchmark's release.
The environment
A method writes the whole generative model of the order-book message stream: what it learns from the training days within the fit budget and how it samples the next messages of each stream from the same-day history. The matching engine, the training days, the contexts, the fit and sampling budgets and the fallback model are fixed.
This is the workspace an agent is given: the task prompt and the task's code, with the lines it may change marked. Its submission is the code it leaves in those lines.
Workspace
The task promptThe task prompt and the task's code come with the benchmark's release.
Results
The scored settings
- ① Large-tick stocks, months later
- ② Small-tick stocks, months later
- ③ Tickers unseen in training
The order
Every method of the task, best first, with its task score out of 100.
- Claude Fable 5.218.4
- GPT-6.2 Astra14.5
- Gemini 4 Carbon14.3
- MarketGPT best published method12.1
- MarS, multi-order cancels9.8
- MarS9.3
- Claude Opus 5.57.7
- Muse Wonder Full7.2
- Kimi K3.1 Pro6.9
- Qwen4-Max1.6
- Queue-Reactive1.3
- Hawkes process1.1
- TRADES0.6
- LOBS50.6
- Cont-Stoikov-Talreja model starter0.4
- Conditional WGAN world agent0.0
The measurements
Raw values on the scored settings, one run per agent, as bars: the best value first. Each chart says which direction is better.
Market response score ↓ lower is better
Distributional score of the generated continuations against the realised one over response features of the order flow, the book and the price after market events.
1 more reference methods are in the numbers below.
1 more reference methods are in the numbers below.
1 more reference methods are in the numbers below.
The numbers
| Method | ① | ② | ③ |
|---|---|---|---|
| Claude Fable 5.2 | 1.512 | 1.965 | 1.743 |
| GPT-6.2 Astra | 1.687 | 2.252 | 1.970 |
| Gemini 4 Carbon | 1.702 | 2.205 | 2.015 |
| MarketGPT | 1.808 | 2.290 | 2.150 |
| MarS, multi-order cancels | 1.825 | 2.575 | 2.374 |
| MarS | 1.894 | 2.593 | 2.454 |
| Muse Wonder Full | 2.163 | 2.595 | 2.585 |
| Kimi K3.1 Pro | 2.334 | 2.512 | 2.516 |
| Qwen4-Max | 2.558 | 3.069 | 3.006 |
| Queue-Reactive | 2.479 | 3.357 | 3.199 |
| Hawkes process | 2.510 | 3.384 | 3.506 |
| TRADES | 2.565 | 3.502 | 3.371 |
| LOBS5 | 3.180 | 2.988 | 3.272 |
| Cont-Stoikov-Talreja model | 3.682 | 3.149 | 3.257 |
| Conditional WGAN world agent | 4.806 | 8.221 | 5.317 |
Rejected rows, % ↓ lower is better
Share of generated rows that the matching engine rejects or that the fallback model has to complete.
A bar with a notched end runs beyond the chart; its number is exact.
1 more reference methods are in the numbers below.
A bar with a notched end runs beyond the chart; its number is exact.
1 more reference methods are in the numbers below.
A bar with a notched end runs beyond the chart; its number is exact.
1 more reference methods are in the numbers below.
The numbers
| Method | ① | ② | ③ |
|---|---|---|---|
| GPT-6.2 Astra | 0 | 0 | 0 |
| Gemini 4 Carbon | 0 | 0 | 0 |
| MarketGPT | 0.058 | 1.966 | 0.751 |
| MarS, multi-order cancels | 0.061 | 0.029 | 0.096 |
| MarS | 0.144 | 0.044 | 0.097 |
| Muse Wonder Full | 0 | 0 | 0 |
| Kimi K3.1 Pro | 0 | 0 | 0 |
| Qwen4-Max | 0.053 | 0.116 | 0.071 |
| Queue-Reactive | 0.067 | 0.028 | 0.048 |
| Hawkes process | 0.034 | 0.050 | 0.042 |
| TRADES | 0.008 | 0.126 | 0.206 |
| LOBS5 | 3.719 | 14.40 | 11.53 |
| Cont-Stoikov-Talreja model | 2.223 | 7.905 | 6.233 |
| Conditional WGAN world agent | 0 | 0 | 0 |
L1 at continuation start ↓ lower is better
Distributional L1 distance between generated and real messages over the start of the continuation.
1 more reference methods are in the numbers below.
1 more reference methods are in the numbers below.
1 more reference methods are in the numbers below.
The numbers
| Method | ① | ② | ③ |
|---|---|---|---|
| GPT-6.2 Astra | 0.065 | 0.077 | 0.080 |
| Gemini 4 Carbon | 0.082 | 0.098 | 0.109 |
| MarketGPT | 0.223 | 0.261 | 0.236 |
| MarS, multi-order cancels | 0.243 | 0.326 | 0.294 |
| MarS | 0.263 | 0.337 | 0.305 |
| Muse Wonder Full | 0.146 | 0.177 | 0.186 |
| Kimi K3.1 Pro | 0.157 | 0.205 | 0.203 |
| Qwen4-Max | 0.316 | 0.452 | 0.390 |
| Queue-Reactive | 0.329 | 0.517 | 0.425 |
| Hawkes process | 0.324 | 0.422 | 0.355 |
| TRADES | 0.409 | 0.378 | 0.391 |
| LOBS5 | 0.271 | 0.333 | 0.295 |
| Cont-Stoikov-Talreja model | 0.335 | 0.424 | 0.362 |
| Conditional WGAN world agent | 0.554 | 0.446 | 0.420 |
Continuation energy score ↓ lower is better
Energy score of a summary of the generated continuations against the realised one.
1 more reference methods are in the numbers below.
1 more reference methods are in the numbers below.
1 more reference methods are in the numbers below.
The numbers
| Method | ① | ② | ③ |
|---|---|---|---|
| GPT-6.2 Astra | 2.125 | 2.532 | 2.580 |
| Gemini 4 Carbon | 2.083 | 2.484 | 2.674 |
| MarketGPT | 2.578 | 2.675 | 2.911 |
| MarS, multi-order cancels | 4.182 | 4.304 | 4.456 |
| MarS | 2.614 | 3.238 | 3.392 |
| Muse Wonder Full | 2.826 | 3.005 | 3.463 |
| Kimi K3.1 Pro | 2.844 | 3.062 | 3.200 |
| Qwen4-Max | 3.004 | 4.225 | 3.784 |
| Queue-Reactive | 3.023 | 13.21 | 5.591 |
| Hawkes process | 3.251 | 7.254 | 5.636 |
| TRADES | 3.403 | 9.683 | 11.01 |
| LOBS5 | 3.025 | 4.999 | 4.178 |
| Cont-Stoikov-Talreja model | 3.168 | 5.570 | 4.759 |
| Conditional WGAN world agent | 11.36 | 19.49 | 14.91 |
What the agents built
One run per model.
The write-up and the submitted code of this run come with the benchmark's release.
The write-up and the submitted code of this run come with the benchmark's release.
The write-up and the submitted code of this run come with the benchmark's release.
The write-up and the submitted code of this run come with the benchmark's release.
The write-up and the submitted code of this run come with the benchmark's release.
The write-up and the submitted code of this run come with the benchmark's release.