IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2403.09267.html
   My bibliography  Save this paper

Deep Limit Order Book Forecasting

Author

Listed:
  • Antonio Briola
  • Silvia Bartolucci
  • Tomaso Aste

Abstract

We exploit cutting-edge deep learning methodologies to explore the predictability of high-frequency Limit Order Book mid-price changes for a heterogeneous set of stocks traded on the NASDAQ exchange. In so doing, we release `LOBFrame', an open-source code base to efficiently process large-scale Limit Order Book data and quantitatively assess state-of-the-art deep learning models' forecasting capabilities. Our results are twofold. We demonstrate that the stocks' microstructural characteristics influence the efficacy of deep learning methods and that their high forecasting power does not necessarily correspond to actionable trading signals. We argue that traditional machine learning metrics fail to adequately assess the quality of forecasts in the Limit Order Book context. As an alternative, we propose an innovative operational framework that evaluates predictions' practicality by focusing on the probability of accurately forecasting complete transactions. This work offers academics and practitioners an avenue to make informed and robust decisions on the application of deep learning techniques, their scope and limitations, effectively exploiting emergent statistical properties of the Limit Order Book.

Suggested Citation

  • Antonio Briola & Silvia Bartolucci & Tomaso Aste, 2024. "Deep Limit Order Book Forecasting," Papers 2403.09267, arXiv.org, revised Mar 2024.
  • Handle: RePEc:arx:papers:2403.09267
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Benoit Detollenaere & Catherine D'hondt, 2017. "Identifying Expensive Trades by Monitoring the Limit Order Book," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 36(3), pages 273-290, April.
    2. Biais, Bruno & Glosten, Larry & Spatt, Chester, 2005. "Market microstructure: A survey of microfoundations, empirical results, and policy implications," Journal of Financial Markets, Elsevier, vol. 8(2), pages 217-264, May.
    3. Madhavan, Ananth, 2000. "Market microstructure: A survey," Journal of Financial Markets, Elsevier, vol. 3(3), pages 205-258, August.
    4. �lvaro Cartea & Sebastian Jaimungal, 2015. "Optimal execution with limit and market orders," Quantitative Finance, Taylor & Francis Journals, vol. 15(8), pages 1279-1291, August.
    5. Mark Paddrik & Roy Hayes & William Scherer & Peter Beling, 2017. "Effects of limit order book information level on market stability metrics," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 12(2), pages 221-247, July.
    6. B. Tóth & J. Kertész & J. D. Farmer, 2009. "Studies of the limit order book around large price changes," The European Physical Journal B: Condensed Matter and Complex Systems, Springer;EDP Sciences, vol. 71(4), pages 499-510, October.
    7. 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.
    8. Álvaro Cartea & Ryan Donnelly & Sebastian Jaimungal, 2018. "Enhancing trading strategies with order book signals," Applied Mathematical Finance, Taylor & Francis Journals, vol. 25(1), pages 1-35, January.
    9. Jeremy D. Turiel & Tomaso Aste, 2021. "Self-organised criticality in high frequency finance: the case of flash crashes," Papers 2110.13718, arXiv.org.
    10. Justin A. Sirignano, 2019. "Deep learning for limit order books," Quantitative Finance, Taylor & Francis Journals, vol. 19(4), pages 549-570, April.
    11. Antonio Briola & Jeremy Turiel & Tomaso Aste, 2020. "Deep Learning modeling of Limit Order Book: a comparative perspective," Papers 2007.07319, arXiv.org, revised Oct 2020.
    12. Fabrizio Lillo, 2021. "Order flow and price formation," Papers 2105.00521, arXiv.org.
    13. Zoltán Eisler & Jean-Philippe Bouchaud & Julien Kockelkoren, 2012. "The price impact of order book events: market orders, limit orders and cancellations," Quantitative Finance, Taylor & Francis Journals, vol. 12(9), pages 1395-1419, September.
    14. Robert A. Jarrow & Philip Protter, 2012. "A Dysfunctional Role Of High Frequency Trading In Electronic Markets," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 15(03), pages 1-15.
    15. Briola, Antonio & Vidal-Tomás, David & Wang, Yuanrong & Aste, Tomaso, 2023. "Anatomy of a Stablecoin’s failure: The Terra-Luna case," Finance Research Letters, Elsevier, vol. 51(C).
    16. Álvaro Cartea & José Penalva, 2012. "Where is the Value in High Frequency Trading?," Quarterly Journal of Finance (QJF), World Scientific Publishing Co. Pte. Ltd., vol. 2(03), pages 1-46.
    17. Marco Avellaneda & Sasha Stoikov, 2008. "High-frequency trading in a limit order book," Quantitative Finance, Taylor & Francis Journals, vol. 8(3), pages 217-224.
    18. Glosten, Lawrence R. & Milgrom, Paul R., 1985. "Bid, ask and transaction prices in a specialist market with heterogeneously informed traders," Journal of Financial Economics, Elsevier, vol. 14(1), pages 71-100, March.
    19. Kyle, Albert S, 1985. "Continuous Auctions and Insider Trading," Econometrica, Econometric Society, vol. 53(6), pages 1315-1335, November.
    20. Antonio Briola & Tomaso Aste, 2022. "Dependency structures in cryptocurrency market from high to low frequency," Papers 2206.03386, arXiv.org, revised Dec 2022.
    21. D'Hondt, Catherine & Detollenaere, Benoît, 2017. "Identifying Expensive Trades by Monitoring the Limit Order Book," LIDAM Reprints LFIN 2017003, Université catholique de Louvain, Louvain Finance (LFIN).
    22. 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.
    23. Jeremy Turiel & Tomaso Aste, 2021. "Heterogenous criticality in high frequency finance: a phase transition in flash crashes," Papers 2110.13701, arXiv.org, revised Jan 2022.
    24. Panayi, Efstathios & Peters, Gareth W. & Danielsson, Jon & Zigrand, Jean-Pierre, 2018. "Designating market maker behaviour in limit order book markets," Econometrics and Statistics, Elsevier, vol. 5(C), pages 20-44.
    25. Rama Cont & Adrien de Larrard, 2013. "Price Dynamics in a Markovian Limit Order Market," Post-Print hal-00552252, HAL.
    26. Paul Brewer & Jaksa Cvitanic & Charles R. Plott, 2013. "Market Microstructure Design and Flash Crashes: A Simulation Approach," Journal of Applied Economics, Taylor & Francis Journals, vol. 16(2), pages 223-250, November.
    27. Riccardo Marcaccioli & Jean-Philippe Bouchaud & Michael Benzaquen, 2022. "Exogenous and Endogenous Price Jumps Belong to Different Dynamical Classes," Post-Print hal-03378876, HAL.
    28. Turiel, Jeremy D. & Aste, Tomaso, 2022. "Heterogeneous criticality in high frequency finance: a phase transition in flash crashes," LSE Research Online Documents on Economics 113892, London School of Economics and Political Science, LSE Library.
    29. Paul Brewer & Jaksa Cvitanic & Charles R. Plott, 2013. "Market microstructure design and flash crashes: A simulation approach," Journal of Applied Economics, Universidad del CEMA, vol. 16, pages 223-250, November.
    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. Olivier Guéant, 2016. "The Financial Mathematics of Market Liquidity: From Optimal Execution to Market Making," Post-Print hal-01393136, HAL.
    2. Luitgard Veraart, 2010. "Optimal Market Making in the Foreign Exchange Market," Applied Mathematical Finance, Taylor & Francis Journals, vol. 17(4), pages 359-372.
    3. Thibault Jaisson, 2015. "Liquidity and Impact in Fair Markets," Papers 1506.02507, arXiv.org.
    4. Havran, Dániel & Erb, Tamás, 2015. "Mit veszítünk a piaci súrlódásokkal?. A pénzügyi piacok mikrostruktúrája [Trading mechanisms and market frictions. Microstructure of the financial markets]," Közgazdasági Szemle (Economic Review - monthly of the Hungarian Academy of Sciences), Közgazdasági Szemle Alapítvány (Economic Review Foundation), vol. 0(3), pages 229-262.
    5. Gerig, Austin & Michayluk, David, 2017. "Automated liquidity provision," Pacific-Basin Finance Journal, Elsevier, vol. 45(C), pages 1-13.
    6. Austin Gerig & David Michayluk, 2010. "Automated Liquidity Provision and the Demise of Traditional Market Making," Papers 1007.2352, arXiv.org.
    7. Strobl, Günter, 2022. "A theory of procyclical market liquidity," Journal of Economic Dynamics and Control, Elsevier, vol. 138(C).
    8. Philippe Bergault & Olivier Gu'eant, 2023. "Modeling liquidity in corporate bond markets: applications to price adjustments," Papers 2309.04216, arXiv.org, revised Oct 2023.
    9. Dimitri Vayanos & Jiang Wang, 2012. "Market Liquidity -- Theory and Empirical Evidence," NBER Working Papers 18251, National Bureau of Economic Research, Inc.
    10. Michele Manna & Stefano Nobili, 2023. "Banks' holdings of and trading in government bonds," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 28(1), pages 257-283, January.
    11. PASCUAL, Roberto & VEREDAS, David, 2006. "Does the open limit order book matter in explaining long run volatility ?," LIDAM Discussion Papers CORE 2006110, Université catholique de Louvain, Center for Operations Research and Econometrics (CORE).
    12. G. Wuyts, 2007. "Stock Market Liquidity.Determinants and Implications," Review of Business and Economic Literature, KU Leuven, Faculty of Economics and Business (FEB), Review of Business and Economic Literature, vol. 0(2), pages 279-316.
    13. Gao, Xuefeng & Xu, Tianrun, 2022. "Order scoring, bandit learning and order cancellations," Journal of Economic Dynamics and Control, Elsevier, vol. 134(C).
    14. Mao, Wen & Pagano, Michael S., 2011. "Specialists as risk managers: The competition between intermediated and non-intermediated markets," Journal of Banking & Finance, Elsevier, vol. 35(1), pages 51-66, January.
    15. Vayanos, Dimitri & Wang, Jiang, 2013. "Market Liquidity—Theory and Empirical Evidence ," Handbook of the Economics of Finance, in: G.M. Constantinides & M. Harris & R. M. Stulz (ed.), Handbook of the Economics of Finance, volume 2, chapter 0, pages 1289-1361, Elsevier.
    16. Ozsoylev, Han N. & Takayama, Shino, 2010. "Price, trade size, and information revelation in multi-period securities markets," Journal of Financial Markets, Elsevier, vol. 13(1), pages 49-76, February.
    17. Brewer, Paul & Ratan, Anmol, 2019. "Profitability, efficiency, and inequality in double auction markets with snipers," Journal of Economic Behavior & Organization, Elsevier, vol. 164(C), pages 486-499.
    18. Doojin Ryu, 2017. "Comprehensive market microstructure model: considering the inventory holding costs," Journal of Business Economics and Management, Taylor & Francis Journals, vol. 18(2), pages 183-201, March.
    19. Federico Gonzalez & Mark Schervish, 2017. "Instantaneous order impact and high-frequency strategy optimization in limit order books," Papers 1707.01167, arXiv.org, revised Oct 2017.
    20. Gian Piero Aielli & Davide Pirino, 2023. "Funding Liquidity and Stocks’ Market Liquidity: Structural Estimation From High-Frequency Data," CEIS Research Paper 568, Tor Vergata University, CEIS, revised 28 Nov 2023.

    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:2403.09267. 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: http://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.