Fine-Tuning an Order-Flow Foundation Model for Sub-Second Forecasting
Fedor Shabashev
Key points
From the paper's conclusion- These results indicate that a pretrained generative model can be turned into a competitive short-horizon price forecaster via fine-tuning.
Abstract
Generative models have become the standard approach in language and vision. These models are typically pretrained first and then fine-tuned. Recent work demonstrates how to pretrain an autoregressive generative model on Level-3 order-flow data. However, to our knowledge, no one has fine-tuned such a model yet for downstream tasks. Here we first pretrain a 300M-parameter generative model on Level-3 order-flow data collected from two crypto exchanges, Bitstamp and Bitfinex. Then we fine-tune the pretrained model to predict the microprice return and its realized volatility. We show that our fine-tuned model outperforms classical baselines, such as gradient boosting on handcrafted features, in predicting microprice returns over sub-second horizons. Furthermore, the predictive ability of the model transfers zero-shot to assets it was never fine-tuned on. Due to the short-term nature of these forecasts, the predicted microprice moves are smaller than the bid-ask spread plus fees, so the natural applications are in execution and market making. These results indicate that a pretrained generative model can be turned into a competitive short-horizon price forecaster via fine-tuning.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- What Do Foundation Models for Market Microstructure Learn? A Controlled Study with Synthetic Limit Order BooksarXiv · 2026
- OrderFlowDiT: Transport-Regularized Diffusion Transformer for Probabilistic Limit-Order Supply ForecastingarXiv · 2026
- Adversarial Post-Training of Foundation Models for High-Frequency TradingarXiv · 2026
- Understanding the Inner Workings of a State-Space Foundation Model for Limit Order BooksarXiv · 2026
- Probabilistic Limit Order Book Forecasting with Conditional Diffusion ModelsarXiv · 2026
- ProtoFlow: Prototype-Guided Flow Matching for Multivariate Time Series ForecastingarXiv · 2026