LOB-Bench: Benchmarking Generative AI for Finance - an Application to Limit Order Book Data

Peer Nagy, Sascha Frey, Kang Li, Bidipta Sarkar, Svitlana Vyetrenko +3 more
2/1/2025

No official code found. Best implementation: peernagy/lob_bench (44 stars, last commit 2026-01-27).

Abstract

While financial data presents one of the most challenging and interesting sequence modelling tasks due to high noise, heavy tails, and strategic interactions, progress in this area has been hindered by the lack of consensus on quantitative evaluation paradigms. To address this, we present LOB-Bench, a benchmark, implemented in python, designed to evaluate the quality and realism of generative message-by-order data for limit order books (LOB) in the LOBSTER format. Our framework measures distributional differences in conditional and unconditional statistics between generated and real LOB data, supporting flexible multivariate statistical evaluation. The benchmark also includes features commonly used LOB statistics such as spread, order book volumes, order imbalance, and message inter-arrival times, along with scores from a trained discriminator network. Lastly, LOB-Bench contains"market impact metrics", i.e. the cross-correlations and price response functions for specific events in the data. We benchmark generative autoregressive state-space models, a (C)GAN, as well as a parametric LOB model and find that the autoregressive GenAI approach beats traditional model classes.

View on arXivView PDF

Code Implementations(1)

peernagy/lob_benchCommunity100%

Benchmarking library for generative models of Limit Order Book data (LOBSTER)

449Python, Jupyter NotebookMar 27, 20248 months ago

Similar Papers

Cite this paper

@article{nagy2025lobbench,
  title  = {LOB-Bench: Benchmarking Generative AI for Finance - an Application to Limit Order Book Data},
  author = {Peer Nagy and Sascha Frey and Kang Li and Bidipta Sarkar and Svitlana Vyetrenko and Stefan Zohren and Ani Calinescu and Jakob Foerster},
  year   = {2025},
  eprint = {2502.09172},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.09172},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.09172.svg)](https://codeofpaper.com/paper/2502.09172)

Discussion