Fine-Tuning an Order-Flow Foundation Model for Sub-Second Forecasting
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.
Create a lesson
Related papers
Is price-impact decay statistically identifiable by propagator estimation? Diffusive prices force the inferred kernel to be transient and fine-tuned
Shared title terminologyq-fin.TRShunta Fujiwara, Yuki Sato, Kiyoshi Kanazawa
Event-Time Order-Flow Memory, Operational-Time Impact, and Subordinated Market Observables
Shared title terminologyq-fin.TRChristopher Angstmann, Tim Gebbie
Beyond Anonymous Order Flow: Wallet Identity as a Feature for Short-Horizon Return Prediction
Shared title terminologyq-fin.TRJingqiu Ding, Daojing Zhai
Understanding the Inner Workings of a State-Space Foundation Model for Limit Order Books
Shared title terminologyq-fin.TRValentin Mohl, Alexandre Bismuth, Aramis Marti-Shahandeh et al.
Deep Learning of Robust Market Making under Regime-Switching Order Flow
Shared title terminologyq-fin.TRFelipe Moret, Fabrizio Lillo
Regimes in the Order Flow
Shared title terminologyq-fin.TRRamzi Jebali