Painting the market: generative diffusion models for financial limit order book simulation and forecasting
By: Alfred Backhouse , Kang Li , Jakob Foerster and more
Potential Business Impact:
Predicts stock market changes better than before.
Simulating limit order books (LOBs) has important applications across forecasting and backtesting for financial market data. However, deep generative models struggle in this context due to the high noise and complexity of the data. Previous work uses autoregressive models, although these experience error accumulation over longer-time sequences. We introduce a novel approach, converting LOB data into a structured image format, and applying diffusion models with inpainting to generate future LOB states. This method leverages spatio-temporal inductive biases in the order book and enables parallel generation of long sequences overcoming issues with error accumulation. We also publicly contribute to LOB-Bench, the industry benchmark for LOB generative models, to allow fair comparison between models using Level-2 and Level-3 order book data (with or without message level data respectively). We show that our model achieves state-of-the-art performance on LOB-Bench, despite using lower fidelity data as input. We also show that our method prioritises coherent global structures over local, high-fidelity details, providing significant improvements over existing methods on certain metrics. Overall, our method lays a strong foundation for future research into generative diffusion approaches to LOB modelling.
Similar Papers
TRADES: Generating Realistic Market Simulations with Diffusion Models
Trading & Market Microstructure
Creates fake stock market data for testing trading ideas.
LOB-Bench: Benchmarking Generative AI for Finance -- an Application to Limit Order Book Data
Machine Learning (CS)
Tests computer models for predicting stock prices.
TRADES: Generating Realistic Market Simulations with Diffusion Models
Trading & Market Microstructure
Makes fake stock markets that help test trading ideas.