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

Forecasting Liquidity Withdraw with Machine Learning Models

Author

Listed:
  • Haochuan

    (Kevin)

  • Wang

Abstract

Liquidity withdrawal is a critical indicator of market fragility. In this project, I test a framework for forecasting liquidity withdrawal at the individual-stock level, ranging from less liquid stocks to highly liquid large-cap tickers, and evaluate the relative performance of competing model classes in predicting short-horizon order book stress. We introduce the Liquidity Withdrawal Index (LWI) -- defined as the ratio of order cancellations to the sum of standing depth and new additions at the best quotes -- as a bounded, interpretable measure of transient liquidity removal. Using Nasdaq market-by-order (MBO) data, we compare a spectrum of approaches: linear benchmarks (AR, HAR), and non-linear tree ensembles (XGBoost), across horizons ranging from 250\,ms to 5\,s. Beyond predictive accuracy, our results provide insights into order placement and cancellation dynamics, identify regimes where linear versus non-linear signals dominate, and highlight how early-warning indicators of liquidity withdrawal can inform both market surveillance and execution.

Suggested Citation

  • Haochuan & Wang, 2025. "Forecasting Liquidity Withdraw with Machine Learning Models," Papers 2509.22985, arXiv.org.
  • Handle: RePEc:arx:papers:2509.22985
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Foucault, Thierry & Pagano, Marco & Roell, Ailsa, 2013. "Market Liquidity: Theory, Evidence, and Policy," OUP Catalogue, Oxford University Press, number 9780199936243.
    2. Fulvio Corsi, 2009. "A Simple Approximate Long-Memory Model of Realized Volatility," Journal of Financial Econometrics, Oxford University Press, vol. 7(2), pages 174-196, Spring.
    3. Albert J. Menkveld & Bart Zhou Yueshen, 2019. "The Flash Crash: A Cautionary Tale About Highly Fragmented Markets," Management Science, INFORMS, vol. 65(10), pages 4470-4488, October.
    4. Adamantios Ntakaris & Martin Magris & Juho Kanniainen & Moncef Gabbouj & Alexandros Iosifidis, 2018. "Benchmark dataset for mid‐price forecasting of limit order book data with machine learning methods," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 37(8), pages 852-866, December.
    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. Pham, Manh Cuong & Anderson, Heather Margot & Duong, Huu Nhan & Lajbcygier, Paul, 2020. "The effects of trade size and market depth on immediate price impact in a limit order book market," Journal of Economic Dynamics and Control, Elsevier, vol. 120(C).
    2. Ranaldo, Angelo & de Magistris, Paolo Santucci, 2022. "Liquidity in the global currency market," Journal of Financial Economics, Elsevier, vol. 146(3), pages 859-883.
    3. Long, Yunshen & Yan, Jingzhou & Wu, Liang & Long, Xingchen, 2024. "Market price determination: Interpreting quote order imbalance under zero-profit equilibrium," Economic Modelling, Elsevier, vol. 134(C).
    4. Klova, Valeriia & Odegaard, Bernt Arne, 2018. "Equity trading costs have fallen less than commonly thought. Evidence using alternative trading cost estimators," UiS Working Papers in Economics and Finance 2018/4, University of Stavanger, revised 2019.
    5. Asai Manabu & So Mike K.P., 2015. "Long Memory and Asymmetry for Matrix-Exponential Dynamic Correlation Processes," Journal of Time Series Econometrics, De Gruyter, vol. 7(1), pages 69-94, January.
    6. Christophe Chorro & Florian Ielpo & Benoît Sévi, 2017. "The contribution of jumps to forecasting the density of returns," Post-Print halshs-01442618, HAL.
    7. Gkillas, Konstantinos & Gupta, Rangan & Pierdzioch, Christian, 2020. "Forecasting realized oil-price volatility: The role of financial stress and asymmetric loss," Journal of International Money and Finance, Elsevier, vol. 104(C).
    8. Xilong Chen & Eric Ghysels, 2011. "News--Good or Bad--and Its Impact on Volatility Predictions over Multiple Horizons," The Review of Financial Studies, Society for Financial Studies, vol. 24(1), pages 46-81, October.
    9. Raggi, Davide & Bordignon, Silvano, 2012. "Long memory and nonlinearities in realized volatility: A Markov switching approach," Computational Statistics & Data Analysis, Elsevier, vol. 56(11), pages 3730-3742.
    10. Toshiaki Ogawa & Masato Ubukata & Toshiaki Watanabe, 2020. "Stock Return Predictability and Variance Risk Premia around the ZLB," IMES Discussion Paper Series 20-E-09, Institute for Monetary and Economic Studies, Bank of Japan.
    11. Chia-Lin Chang & Jukka Ilomäki & Hannu Laurila & Michael McAleer, 2018. "Long Run Returns Predictability and Volatility with Moving Averages," Risks, MDPI, vol. 6(4), pages 1-18, September.
    12. Alketa Bejko & Etleva Peta & Belinda Xarba, 2015. "The Evaluation of the Drafting Process of Regional’s Development Strategies in Albania. the Research on Gjirokastra’s Region," European Journal of Interdisciplinary Studies Articles, Revistia Research and Publishing, vol. 1, ejis_v1_i.
    13. Bellia, Mario & Christensen, Kim & Kolokolov, Aleksey & Pelizzon, Loriana & Renò, Roberto, 2022. "Do designated market makers provide liquidity during a flash crash?," SAFE Working Paper Series 270, Leibniz Institute for Financial Research SAFE, revised 2022.
    14. Maria Ludovica Drudi & Giulio Carlo Venturi, 2023. "Assessing the liquidity premium in the Italian bond market," Questioni di Economia e Finanza (Occasional Papers) 795, Bank of Italy, Economic Research and International Relations Area.
    15. Mehmet Balcilar & Elie Bouri & Rangan Gupta & Christian Pierdzioch, 2021. "El Niño, La Niña, and the Forecastability of the Realized Variance of Heating Oil Price Movements," Sustainability, MDPI, vol. 13(14), pages 1-23, July.
    16. Hwang, Eunju, 2022. "Prediction intervals of the COVID-19 cases by HAR models with growth rates and vaccination rates in top eight affected countries: Bootstrap improvement," Chaos, Solitons & Fractals, Elsevier, vol. 155(C).
    17. Eleftheria Kafousaki & Stavros Degiannakis, 2023. "Forecasting VIX: the illusion of forecast evaluation criteria," Economics and Business Letters, Oviedo University Press, vol. 12(3), pages 231-240.
    18. Fengler, Matthias & Koeniger, Winfried & Minger, Stephan, 2024. "The transmission of monetary policy to the cost of hedging," CFS Working Paper Series 726, Center for Financial Studies (CFS).
    19. Sibbertsen, Philipp & Leschinski, Christian & Busch, Marie, 2018. "A multivariate test against spurious long memory," Journal of Econometrics, Elsevier, vol. 203(1), pages 33-49.
    20. Bubák, Vít & Kocenda, Evzen & Zikes, Filip, 2011. "Volatility transmission in emerging European foreign exchange markets," Journal of Banking & Finance, Elsevier, vol. 35(11), pages 2829-2841, November.

    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:2509.22985. 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.