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

Deep Attentive Survival Analysis in Limit Order Books: Estimating Fill Probabilities with Convolutional-Transformers

Author

Listed:
  • Alvaro Arroyo
  • Alvaro Cartea
  • Fernando Moreno-Pino
  • Stefan Zohren

Abstract

One of the key decisions in execution strategies is the choice between a passive (liquidity providing) or an aggressive (liquidity taking) order to execute a trade in a limit order book (LOB). Essential to this choice is the fill probability of a passive limit order placed in the LOB. This paper proposes a deep learning method to estimate the filltimes of limit orders posted in different levels of the LOB. We develop a novel model for survival analysis that maps time-varying features of the LOB to the distribution of filltimes of limit orders. Our method is based on a convolutional-Transformer encoder and a monotonic neural network decoder. We use proper scoring rules to compare our method with other approaches in survival analysis, and perform an interpretability analysis to understand the informativeness of features used to compute fill probabilities. Our method significantly outperforms those typically used in survival analysis literature. Finally, we carry out a statistical analysis of the fill probability of orders placed in the order book (e.g., within the bid-ask spread) for assets with different queue dynamics and trading activity.

Suggested Citation

  • Alvaro Arroyo & Alvaro Cartea & Fernando Moreno-Pino & Stefan Zohren, 2023. "Deep Attentive Survival Analysis in Limit Order Books: Estimating Fill Probabilities with Convolutional-Transformers," Papers 2306.05479, arXiv.org.
  • Handle: RePEc:arx:papers:2306.05479
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Lorenzo Lucchese & Mikko Pakkanen & Almut Veraart, 2022. "The Short-Term Predictability of Returns in Order Book Markets: a Deep Learning Perspective," Papers 2211.13777, arXiv.org, revised Oct 2023.
    2. Philippe Bergault & Fayçal Drissi & Olivier Guéant, 2022. "Multi-asset Optimal Execution and Statistical Arbitrage Strategies under Ornstein--Uhlenbeck Dynamics," Post-Print hal-03885142, HAL.
    3. Philippe Bergault & Fayçal Drissi & Olivier Guéant, 2022. "Multi-asset Optimal Execution and Statistical Arbitrage Strategies under Ornstein--Uhlenbeck Dynamics," Post-Print hal-03680071, HAL.
    4. B. Larivière & D. Van Den Poel, 2004. "Investigating the role of product features in preventing customer churn, by using survival analysis and choice modeling: The case of financial services," Working Papers of Faculty of Economics and Business Administration, Ghent University, Belgium 04/223, Ghent University, Faculty of Economics and Business Administration.
    5. Fayc{c}al Drissi, 2022. "Solvability of Differential Riccati Equations and Applications to Algorithmic Trading with Signals," Papers 2202.07478, arXiv.org, revised Aug 2023.
    6. Fernando Moreno-Pino & Stefan Zohren, 2022. "DeepVol: Volatility Forecasting from High-Frequency Data with Dilated Causal Convolutions," Papers 2210.04797, arXiv.org, revised Aug 2024.
    7. Tilmann Gneiting & Roopesh Ranjan, 2011. "Comparing Density Forecasts Using Threshold- and Quantile-Weighted Scoring Rules," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 29(3), pages 411-422, July.
    8. Fayçal Drissi, 2022. "Solvability of Differential Riccati Equations and Applications to Algorithmic Trading with Signals," Applied Mathematical Finance, Taylor & Francis Journals, vol. 29(6), pages 457-493, November.
    9. Álvaro Cartea & Sebastian Jaimungal & Yixuan Wang, 2020. "Spoofing and Price Manipulation in Order-Driven Markets," Applied Mathematical Finance, Taylor & Francis Journals, vol. 27(1-2), pages 67-98, July.
    10. Philippe Bergault & Fayc{c}al Drissi & Olivier Gu'eant, 2021. "Multi-asset optimal execution and statistical arbitrage strategies under Ornstein-Uhlenbeck dynamics," Papers 2103.13773, arXiv.org, revised Mar 2022.
    11. Lo, Andrew W. & MacKinlay, A. Craig & Zhang, June, 2002. "Econometric models of limit-order executions," Journal of Financial Economics, Elsevier, vol. 65(1), pages 31-71, July.
    12. Lore Dirick & Gerda Claeskens & Bart Baesens, 2017. "Time to default in credit scoring using survival analysis: a benchmark study," Journal of the Operational Research Society, Palgrave Macmillan;The OR Society, vol. 68(6), pages 652-665, June.
    13. Á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.
    14. Handa, Puneet & Schwartz, Robert A, 1996. "Limit Order Trading," Journal of Finance, American Finance Association, vol. 51(5), pages 1835-1861, December.
    15. 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.
    16. 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.
    17. Gneiting, Tilmann & Ranjan, Roopesh, 2011. "Comparing Density Forecasts Using Threshold- and Quantile-Weighted Scoring Rules," Journal of Business & Economic Statistics, American Statistical Association, vol. 29(3), pages 411-422.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. 'Alvaro Cartea & Gerardo Duran-Martin & Leandro S'anchez-Betancourt, 2023. "Detecting Toxic Flow," Papers 2312.05827, arXiv.org.
    2. Timoth'ee Fabre & Vincent Ragel, 2023. "Interpretable ML for High-Frequency Execution," Papers 2307.04863, arXiv.org, revised Sep 2024.

    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. 'Alvaro Cartea & Fayc{c}al Drissi & Marcello Monga, 2023. "Decentralised Finance and Automated Market Making: Predictable Loss and Optimal Liquidity Provision," Papers 2309.08431, arXiv.org, revised Jun 2024.
    2. Marcello Monga, 2024. "Automated Market Making and Decentralized Finance," Papers 2407.16885, arXiv.org.
    3. 'Alvaro Cartea & Fayc{c}al Drissi & Marcello Monga, 2023. "Decentralised Finance and Automated Market Making: Execution and Speculation," Papers 2307.03499, arXiv.org, revised Jul 2024.
    4. Marcel Nutz & Kevin Webster & Long Zhao, 2023. "Unwinding Stochastic Order Flow: When to Warehouse Trades," Papers 2310.14144, arXiv.org.
    5. Gao, Xuefeng & Xu, Tianrun, 2022. "Order scoring, bandit learning and order cancellations," Journal of Economic Dynamics and Control, Elsevier, vol. 134(C).
    6. Joseph Jerome & Leandro Sanchez-Betancourt & Rahul Savani & Martin Herdegen, 2022. "Model-based gym environments for limit order book trading," Papers 2209.07823, arXiv.org.
    7. Angelica Gianfreda & Francesco Ravazzolo & Luca Rossini, 2023. "Large Time‐Varying Volatility Models for Hourly Electricity Prices," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 85(3), pages 545-573, June.
    8. Davide Pettenuzzo & Francesco Ravazzolo, 2016. "Optimal Portfolio Choice Under Decision‐Based Model Combinations," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 31(7), pages 1312-1332, November.
    9. Andrea Carriero & Todd E. Clark & Massimiliano Marcellino, 2022. "Specification Choices in Quantile Regression for Empirical Macroeconomics," Working Papers 22-25, Federal Reserve Bank of Cleveland.
    10. Billé, Anna Gloria & Gianfreda, Angelica & Del Grosso, Filippo & Ravazzolo, Francesco, 2023. "Forecasting electricity prices with expert, linear, and nonlinear models," International Journal of Forecasting, Elsevier, vol. 39(2), pages 570-586.
    11. Michael W. McCracken & Michael T. Owyang & Tatevik Sekhposyan, 2021. "Real-Time Forecasting and Scenario Analysis Using a Large Mixed-Frequency Bayesian VAR," International Journal of Central Banking, International Journal of Central Banking, vol. 17(71), pages 1-41, December.
    12. Chuliá, Helena & Garrón, Ignacio & Uribe, Jorge M., 2024. "Daily growth at risk: Financial or real drivers? The answer is not always the same," International Journal of Forecasting, Elsevier, vol. 40(2), pages 762-776.
    13. James Mitchell & Aubrey Poon & Dan Zhu, 2024. "Constructing density forecasts from quantile regressions: Multimodality in macrofinancial dynamics," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 39(5), pages 790-812, August.
    14. Jackson, Emerson Abraham & Tamuke, Edmund, 2018. "Probability Forecast Using Fan Chart Analysis: A case of the Sierra Leone Economy," MPRA Paper 88853, University Library of Munich, Germany, revised 04 Sep 2018.
    15. Angelica Gianfreda & Francesco Ravazzolo & Luca Rossini, 2020. "Large Time-Varying Volatility Models for Electricity Prices," Working Papers No 05/2020, Centre for Applied Macro- and Petroleum economics (CAMP), BI Norwegian Business School.
    16. Bastianin, Andrea & Galeotti, Marzio & Manera, Matteo, 2014. "Causality and predictability in distribution: The ethanol–food price relation revisited," Energy Economics, Elsevier, vol. 42(C), pages 152-160.
    17. Magnus Reif, 2020. "Macroeconomics, Nonlinearities, and the Business Cycle," ifo Beiträge zur Wirtschaftsforschung, ifo Institute - Leibniz Institute for Economic Research at the University of Munich, number 87.
    18. Clark, Todd & Huber, Florian & Koop, Gary & Marcellino, Massimiliano & Pfarrhofer, Michael, 2023. "Investigating Growth-at-Risk Using a Multicountry Non-parametric Quantile Factor Model," CEPR Discussion Papers 18549, C.E.P.R. Discussion Papers.
    19. Pfarrhofer, Michael, 2022. "Modeling tail risks of inflation using unobserved component quantile regressions," Journal of Economic Dynamics and Control, Elsevier, vol. 143(C).
    20. Wei‐Yu Kuo & Ching‐Ting Lin, 2018. "Trader types and fleeting orders: Evidence from Taiwan Futures Exchange," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 38(12), pages 1443-1469, December.

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