IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2610.02917.html

Event History Over Scale: Compact Transformers for Low-Latency Limit Order Book Forecasting

Author

Listed:
  • David Schaurecker
  • Lasse B. Strand
  • Kevin O'Sullivan
  • Robert Jakob

Abstract

Short-horizon price-trend prediction from limit order books in equity and intraday electricity markets requires models that combine predictive quality with low single-sample latency and a small serialized model size to keep pace with rapid and continuous market updates. We introduce MBOFormer, a 7,203-parameter causal transformer, and MBOFusion, a 14,371-parameter extension with a slow temporal-context branch. Both models process market-by-order (level-3) histories of individual order submissions, cancellations, and executions. We compare them with level-2-based baselines that process sampled order-book snapshots and simple statistics instead of their underlying messages. Across three markets and four prediction horizons, our models achieve the highest mean macro-F1 in eleven of the twelve settings in a comparison against other benchmark models of varying sizes. Both our models achieve sub-millisecond median inference on a single Apple M2 CPU thread and have serialized state dictionaries below 70 kB. MBOFormer is 5.1x-8.1x faster than the million-parameter baselines at comparable predictive quality. Our results show that fine-grained market event history can reduce the need for model size under tight deployment constraints for short-term equity and electricity price forecasting tasks.

Suggested Citation

  • David Schaurecker & Lasse B. Strand & Kevin O'Sullivan & Robert Jakob, 2026. "Event History Over Scale: Compact Transformers for Low-Latency Limit Order Book Forecasting," Papers 2610.02917, arXiv.org.
  • Handle: RePEc:arx:papers:2610.02917
    as

    Download full text from publisher

    File URL: https://arxiv.org/pdf/2610.02917
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Briola, Antonio & Bartolucci, Silvia & Aste, Tomaso, 2025. "Deep limit order book forecasting: a microstructural guide," LSE Research Online Documents on Economics 128950, London School of Economics and Political Science, LSE Library.
    2. Aaron Wheeler & Jeffrey D. Varner, 2024. "MarketGPT: Developing a Pre-trained transformer (GPT) for Modeling Financial Time Series," Papers 2411.16585, arXiv.org.
    3. Petter N. Kolm & Jeremy Turiel & Nicholas Westray, 2023. "Deep order flow imbalance: Extracting alpha at multiple horizons from the limit order book," Mathematical Finance, Wiley Blackwell, vol. 33(4), pages 1044-1081, October.
    4. Rama Cont & Arseniy Kukanov & Sasha Stoikov, 2014. "The Price Impact of Order Book Events," Journal of Financial Econometrics, Oxford University Press, vol. 12(1), pages 47-88.
    5. David Schaurecker & David Wozabal & Nils Lohndorf & Thorsten Staake, 2025. "High-frequency intraday trading for battery storages," Papers 2504.06932, arXiv.org, revised Jul 2026.
    6. Kyle, Albert S, 1985. "Continuous Auctions and Insider Trading," Econometrica, Econometric Society, vol. 53(6), pages 1315-1335, November.
    7. Alec N. Kercheval & Yuan Zhang, 2015. "Modelling high-frequency limit order book dynamics with support vector machines," Quantitative Finance, Taylor & Francis Journals, vol. 15(8), pages 1315-1329, August.
    8. Zihao Zhang & Bryan Lim & Stefan Zohren, 2021. "Deep Learning for Market by Order Data," Papers 2102.08811, arXiv.org, revised Jul 2021.
    9. Maxime Kawawa-Beaudan & Srijan Sood & Kassiani Papasotiriou & Daniel Borrajo & Manuela Veloso, 2026. "TradeFM: A Generative Foundation Model for Trade-flow and Market Microstructure," Papers 2602.23784, arXiv.org.
    10. Alfred Backhouse & Kang Li & Jakob Foerster & Anisoara Calinescu & Stefan Zohren, 2025. "Painting the market: generative diffusion models for financial limit order book simulation and forecasting," Papers 2509.05107, arXiv.org.
    11. Timoth'ee Hornek & Sergio Potenciano Menci & Ivan Pavi'c, 2025. "Directional Price Forecasting in the Continuous Intraday Market under Consideration of Neighboring Products and Limit Order Books," Papers 2509.04452, arXiv.org.
    12. Runyao Yu & Yuchen Tao & Fabian Leimgruber & Tara Esterl & Jochen Stiasny & Derek W. Bunn & Qingsong Wen & Hongye Guo & Jochen L. Cremer, 2025. "OrderFusion: Encoding Orderbook for End-to-End Probabilistic Intraday Electricity Price Forecasting," Papers 2502.06830, arXiv.org, revised May 2026.
    13. Rama Cont & Mihai Cucuringu & Chao Zhang, 2023. "Cross-impact of order flow imbalance in equity markets," Quantitative Finance, Taylor & Francis Journals, vol. 23(10), pages 1373-1393, October.
    14. Nikolaus Graf von Luckner & Rüdiger Kiesel, 2021. "Modeling Market Order Arrivals on the German Intraday Electricity Market with the Hawkes Process," JRFM, MDPI, vol. 14(4), pages 1-31, April.
    15. Zihao Zhang & Bryan Lim & Stefan Zohren, 2021. "Deep Learning for Market by Order Data," Applied Mathematical Finance, Taylor & Francis Journals, vol. 28(1), pages 79-95, January.
    16. Kuppelwieser, Thomas & Wozabal, David, 2021. "Liquidity costs on intraday power markets: Continuous trading versus auctions," Energy Policy, Elsevier, vol. 154(C).
    17. Lucchese, Lorenzo & Pakkanen, Mikko S. & Veraart, Almut E.D., 2024. "The short-term predictability of returns in order book markets: A deep learning perspective," International Journal of Forecasting, Elsevier, vol. 40(4), pages 1587-1621.
    18. Rama Cont & Mihai Cucuringu & Chao Zhang, 2021. "Cross-Impact of Order Flow Imbalance in Equity Markets," Papers 2112.13213, arXiv.org, revised Jun 2023.
    19. Leonardo Berti & Gjergji Kasneci, 2025. "TLOB: A Novel Transformer Model with Dual Attention for Price Trend Prediction with Limit Order Book Data," Papers 2502.15757, arXiv.org, revised May 2025.
    20. Justin Sirignano & Rama Cont, 2019. "Universal features of price formation in financial markets: perspectives from deep learning," Quantitative Finance, Taylor & Francis Journals, vol. 19(9), pages 1449-1459, September.
    21. Antonio Briola & Silvia Bartolucci & Tomaso Aste, 2025. "Deep limit order book forecasting: a microstructural guide," Quantitative Finance, Taylor & Francis Journals, vol. 25(7), pages 1101-1131, July.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Petter N. Kolm & Jeremy Turiel & Nicholas Westray, 2023. "Deep order flow imbalance: Extracting alpha at multiple horizons from the limit order book," Mathematical Finance, Wiley Blackwell, vol. 33(4), pages 1044-1081, October.
    2. Xu, Hailun & Yuan, Xianghui & Jin, Liwei & Long, Jun & Xu, Gen, 2026. "Ascertaining price formation in financial markets with machine learning: Evidence from Chinese stocks," Pacific-Basin Finance Journal, Elsevier, vol. 96(C).
    3. Dai, Yuehao & Shi, Chao & Zhang, Ruixun, 2026. "Estimating market liquidity from daily data: Marrying microstructure models and machine learning," Journal of Financial Markets, Elsevier, vol. 79(C).
    4. Briola, Antonio & Bartolucci, Silvia & Aste, Tomaso, 2025. "HLOB–Information persistence and structure in limit order books," LSE Research Online Documents on Economics 126623, London School of Economics and Political Science, LSE Library.
    5. Abdul Rahman & Neelesh Upadhye, 2024. "Hybrid Vector Auto Regression and Neural Network Model for Order Flow Imbalance Prediction in High Frequency Trading," Papers 2411.08382, arXiv.org.
    6. Antonio Briola & Silvia Bartolucci & Tomaso Aste, 2024. "HLOB -- Information Persistence and Structure in Limit Order Books," Papers 2405.18938, arXiv.org, revised Jun 2024.
    7. Ilia Zaznov & Julian Kunkel & Alfonso Dufour & Atta Badii, 2022. "Predicting Stock Price Changes Based on the Limit Order Book: A Survey," Mathematics, MDPI, vol. 10(8), pages 1-33, April.
    8. Jiahao Yang & Ran Fang & Ming Zhang & Jun Zhou, 2025. "An Efficient deep learning model to Predict Stock Price Movement Based on Limit Order Book," Papers 2505.22678, arXiv.org.
    9. Haochuan Wang, 2025. "Exploring Microstructural Dynamics in Cryptocurrency Limit Order Books: Better Inputs Matter More Than Stacking Another Hidden Layer," Papers 2506.05764, arXiv.org, revised Jun 2025.
    10. Daojing Zhai, 2026. "Public Trader Identity: Adverse Selection and Return Predictability," Papers 2608.04373, arXiv.org, revised Aug 2026.
    11. Chen Hu & Kouxiao Zhang, 2025. "Stochastic Price Dynamics in Response to Order Flow Imbalance: Evidence from CSI 300 Index Futures," Papers 2505.17388, arXiv.org.
    12. Haochen Li & Yi Cao & Maria Polukarov & Carmine Ventre, 2023. "An Empirical Analysis on Financial Markets: Insights from the Application of Statistical Physics," Papers 2308.14235, arXiv.org, revised Jun 2024.
    13. Konark Jain & Nick Firoozye & Jonathan Kochems & Philip Treleaven, 2024. "Limit Order Book Simulations: A Review," Papers 2402.17359, arXiv.org, revised Mar 2024.
    14. C. Evans Hedges, 2026. "The Inference-Compute Frontier and a Latency-Efficient Architecture for Limit Order Book Prediction," Papers 2606.25986, arXiv.org.
    15. Zihao Zhang & Stefan Zohren, 2021. "Multi-Horizon Forecasting for Limit Order Books: Novel Deep Learning Approaches and Hardware Acceleration using Intelligent Processing Units," Papers 2105.10430, arXiv.org, revised Aug 2021.
    16. Timothée Fabre & Damien Challet, 2025. "Learning the Spoofability of Limit Order Books With Interpretable Probabilistic Neural Networks," Working Papers hal-05044526, HAL.
    17. Fengpei Li & Vitalii Ihnatiuk & Ryan Kinnear & Anderson Schneider & Yuriy Nevmyvaka, 2022. "Do price trajectory data increase the efficiency of market impact estimation?," Papers 2205.13423, arXiv.org, revised Mar 2023.
    18. Antonio Briola & Silvia Bartolucci & Tomaso Aste, 2024. "Deep Limit Order Book Forecasting," Papers 2403.09267, arXiv.org, revised Jun 2024.
    19. Zijian Shi & John Cartlidge, 2024. "Neural stochastic agent‐based limit order book simulation with neural point process and diffusion probabilistic model," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 31(2), June.
    20. Qianhui Lai & Qiang Yang, 2025. "Deep Learning Strategies for Intraday Optimal Carbon Options Trading with Price Impact Considerations," Mathematics, MDPI, vol. 13(7), pages 1-20, March.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2610.02917. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: https://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.