IDEAS home Printed from https://ideas.repec.org/a/eee/intfor/v40y2024i3p1189-1205.html
   My bibliography  Save this article

Short-term stock price trend prediction with imaging high frequency limit order book data

Author

Listed:
  • Ye, Wuyi
  • Yang, Jinting
  • Chen, Pengzhan

Abstract

Predicting price movements over a short period is a challenging problem in high-frequency trading. Deep learning methods have recently been used to forecast short-term prices via limit order book (LOB) data. In this paper, we propose a framework to convert LOB data into a series of standard images in 2D matrices and predict the mid-price movements via an image-based convolutional neural network (CNN). The empirical study shows that the image-based CNN model outperforms other traditional machine learning and deep learning methods based on raw LOB data. Our findings suggest that the additional information implicit in LOB images contributes to short-term price forecasting.

Suggested Citation

  • Ye, Wuyi & Yang, Jinting & Chen, Pengzhan, 2024. "Short-term stock price trend prediction with imaging high frequency limit order book data," International Journal of Forecasting, Elsevier, vol. 40(3), pages 1189-1205.
  • Handle: RePEc:eee:intfor:v:40:y:2024:i:3:p:1189-1205
    DOI: 10.1016/j.ijforecast.2023.10.008
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0169207023001073
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.ijforecast.2023.10.008?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Erhan Bayraktar & Michael Ludkovski, 2014. "Liquidation In Limit Order Books With Controlled Intensity," Mathematical Finance, Wiley Blackwell, vol. 24(4), pages 627-650, October.
    2. Xiaofei Lu & Frédéric Abergel, 2018. "High-dimensional Hawkes processes for limit order books: modelling, empirical analysis and numerical calibration," Quantitative Finance, Taylor & Francis Journals, vol. 18(2), pages 249-264, February.
    3. Marco Avellaneda & Sasha Stoikov, 2008. "High-frequency trading in a limit order book," Quantitative Finance, Taylor & Francis Journals, vol. 8(3), pages 217-224.
    4. Avellaneda, Marco & Reed, Josh & Stoikov, Sasha, 2011. "Forecasting prices from level-I quotes in the presence of hidden liquidity," Algorithmic Finance, IOS Press, vol. 1(1), pages 35-43.
    5. Adamantios Ntakaris & Giorgio Mirone & Juho Kanniainen & Moncef Gabbouj & Alexandros Iosifidis, 2019. "Feature Engineering for Mid-Price Prediction with Deep Learning," Papers 1904.05384, arXiv.org, revised Jun 2019.
    6. Justin A. Sirignano, 2019. "Deep learning for limit order books," Quantitative Finance, Taylor & Francis Journals, vol. 19(4), pages 549-570, April.
    7. Daigo Tashiro & Hiroyasu Matsushima & Kiyoshi Izumi & Hiroki Sakaji, 2019. "Encoding of high-frequency order information and prediction of short-term stock price by deep learning," Quantitative Finance, Taylor & Francis Journals, vol. 19(9), pages 1499-1506, September.
    8. Rama Cont & Sasha Stoikov & Rishi Talreja, 2010. "A Stochastic Model for Order Book Dynamics," Operations Research, INFORMS, vol. 58(3), pages 549-563, June.
    9. Sasha Stoikov, 2018. "The micro-price: a high-frequency estimator of future prices," Quantitative Finance, Taylor & Francis Journals, vol. 18(12), pages 1959-1966, December.
    10. Ulrich Horst & Michael Paulsen, 2017. "A Law of Large Numbers for Limit Order Books," Mathematics of Operations Research, INFORMS, vol. 42(4), pages 1280-1312, November.
    11. 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.
    12. Schnaubelt, Matthias, 2022. "Deep reinforcement learning for the optimal placement of cryptocurrency limit orders," European Journal of Operational Research, Elsevier, vol. 296(3), pages 993-1006.
    13. Maxime Morariu-Patrichi & Mikko S. Pakkanen, 2022. "State-dependent Hawkes processes and their application to limit order book modelling," Quantitative Finance, Taylor & Francis Journals, vol. 22(3), pages 563-583, March.
    14. Ioanid Rosu, 2009. "A Dynamic Model of the Limit Order Book," The Review of Financial Studies, Society for Financial Studies, vol. 22(11), pages 4601-4641, November.
    15. Xiaofei Lu & Frédéric Abergel, 2018. "High dimensional Hawkes processes for limit order books Modelling, empirical analysis and numerical calibration," Post-Print hal-01686122, HAL.
    16. 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.
    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. Jin Ma & Eunjung Noh, 2020. "Equilibrium Model of Limit Order Books: A Mean-field Game View," Papers 2002.12857, arXiv.org, revised Mar 2020.
    2. Bruno Gav{s}perov & Zvonko Kostanjv{c}ar, 2022. "Deep Reinforcement Learning for Market Making Under a Hawkes Process-Based Limit Order Book Model," Papers 2207.09951, arXiv.org.
    3. Martin Magris & Mostafa Shabani & Alexandros Iosifidis, 2022. "Bayesian Bilinear Neural Network for Predicting the Mid-price Dynamics in Limit-Order Book Markets," Papers 2203.03613, arXiv.org, revised Jan 2023.
    4. Kanamura, Takashi & Bunn, Derek W., 2022. "Market making and electricity price formation in Japan," Energy Economics, Elsevier, vol. 107(C).
    5. Antonio Briola & Silvia Bartolucci & Tomaso Aste, 2024. "Deep Limit Order Book Forecasting," Papers 2403.09267, arXiv.org, revised Jun 2024.
    6. A. Lykov & S. Muzychka & K. Vaninsky, 2012. "Investor's sentiment in multi-agent model of the continuous double auction," Papers 1208.3083, arXiv.org, revised Feb 2016.
    7. Hong Guo & Jianwu Lin & Fanlin Huang, 2023. "Market Making with Deep Reinforcement Learning from Limit Order Books," Papers 2305.15821, arXiv.org.
    8. Shunya Chomei, 2023. "Empirical analysis in limit order book modeling for Nikkei 225 Stocks with Cox-type intensities," Papers 2302.01668, arXiv.org, revised Feb 2023.
    9. Gao, Xuefeng & Xu, Tianrun, 2022. "Order scoring, bandit learning and order cancellations," Journal of Economic Dynamics and Control, Elsevier, vol. 134(C).
    10. Korolev, V.Yu. & Chertok, A.V. & Korchagin, A.Yu. & Zeifman, A.I., 2015. "Modeling high-frequency order flow imbalance by functional limit theorems for two-sided risk processes," Applied Mathematics and Computation, Elsevier, vol. 253(C), pages 224-241.
    11. Alexander Lykov & Stepan Muzychka & Kirill Vaninsky, 2016. "Investor'S Sentiment In Multi-Agent Model Of The Continuous Double Auction," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 19(06), pages 1-29, September.
    12. Adamantios Ntakaris & Juho Kanniainen & Moncef Gabbouj & Alexandros Iosifidis, 2020. "Mid-price prediction based on machine learning methods with technical and quantitative indicators," PLOS ONE, Public Library of Science, vol. 15(6), pages 1-39, June.
    13. Ben Hambly & Jasdeep Kalsi & James Newbury, 2018. "Limit order books, diffusion approximations and reflected SPDEs: from microscopic to macroscopic models," Papers 1808.07107, arXiv.org, revised Jun 2019.
    14. Pankaj Kumar, 2021. "Deep Hawkes Process for High-Frequency Market Making," Papers 2109.15110, arXiv.org.
    15. Maxime Morariu-Patrichi & Mikko Pakkanen, 2018. "State-dependent Hawkes processes and their application to limit order book modelling," CREATES Research Papers 2018-26, Department of Economics and Business Economics, Aarhus University.
    16. Maxime Morariu-Patrichi & Mikko S. Pakkanen, 2018. "State-dependent Hawkes processes and their application to limit order book modelling," Papers 1809.08060, arXiv.org, revised Sep 2021.
    17. Fabien Guilbaud & Huyen Pham, 2011. "Optimal High Frequency Trading with limit and market orders," Working Papers hal-00603385, HAL.
    18. Baron Law & Frederi Viens, 2019. "Market Making under a Weakly Consistent Limit Order Book Model," Papers 1903.07222, arXiv.org, revised Jan 2020.
    19. Xin Guo & Zhao Ruan & Lingjiong Zhu, 2015. "Dynamics of Order Positions and Related Queues in a Limit Order Book," Papers 1505.04810, arXiv.org, revised Oct 2015.
    20. Michael Giegrich & Roel Oomen & Christoph Reisinger, 2024. "Limit Order Book Simulation and Trade Evaluation with $K$-Nearest-Neighbor Resampling," Papers 2409.06514, arXiv.org.

    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:eee:intfor:v:40:y:2024:i:3:p:1189-1205. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/ijforecast .

    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.