IDEAS home Printed from https://ideas.repec.org/a/gam/jecnmx/v11y2023i2p13-d1149628.html
   My bibliography  Save this article

Online Hybrid Neural Network for Stock Price Prediction: A Case Study of High-Frequency Stock Trading in the Chinese Market

Author

Listed:
  • Chengyu Li

    (School of Mathematics and Statistics, The University of Melbourne, Parkville, VIC 3010, Australia)

  • Luyi Shen

    (School of Mathematics and Statistics, The University of Melbourne, Parkville, VIC 3010, Australia)

  • Guoqi Qian

    (School of Mathematics and Statistics, The University of Melbourne, Parkville, VIC 3010, Australia)

Abstract

Time-series data, which exhibit a low signal-to-noise ratio, non-stationarity, and non-linearity, are commonly seen in high-frequency stock trading, where the objective is to increase the likelihood of profit by taking advantage of tiny discrepancies in prices and trading on them quickly and in huge quantities. For this purpose, it is essential to apply a trading method that is capable of fast and accurate prediction from such time-series data. In this paper, we developed an online time series forecasting method for high-frequency trading (HFT) by integrating three neural network deep learning models, i.e., long short-term memory (LSTM), gated recurrent unit (GRU), and transformer; and we abbreviate the new method to online LGT or O-LGT. The key innovation underlying our method is its efficient storage management, which enables super-fast computing. Specifically, when computing the forecast for the immediate future, we only use the output calculated from the previous trading data (rather than the previous trading data themselves) together with the current trading data. Thus, the computing only involves updating the current data into the process. We evaluated the performance of O-LGT by analyzing high-frequency limit order book (LOB) data from the Chinese market. It shows that, in most cases, our model achieves a similar speed with a much higher accuracy than the conventional fast supervised learning models for HFT. However, with a slight sacrifice in accuracy, O-LGT is approximately 12 to 64 times faster than the existing high-accuracy neural network models for LOB data from the Chinese market.

Suggested Citation

  • Chengyu Li & Luyi Shen & Guoqi Qian, 2023. "Online Hybrid Neural Network for Stock Price Prediction: A Case Study of High-Frequency Stock Trading in the Chinese Market," Econometrics, MDPI, vol. 11(2), pages 1-19, May.
  • Handle: RePEc:gam:jecnmx:v:11:y:2023:i:2:p:13-:d:1149628
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2225-1146/11/2/13/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2225-1146/11/2/13/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Baron, Matthew & Brogaard, Jonathan & Hagströmer, Björn & Kirilenko, Andrei, 2019. "Risk and Return in High-Frequency Trading," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 54(3), pages 993-1024, June.
    2. Leopoldo Catania & Roberto Di Mari & Paolo Santucci de Magistris, 2022. "Dynamic Discrete Mixtures for High-Frequency Prices," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 40(2), pages 559-577, 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. 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.
    2. Kang, Jongho & Kang, Jangkoo & Kwon, Kyung Yoon, 2022. "Market versus limit orders of speculative high-frequency traders and price discovery," Research in International Business and Finance, Elsevier, vol. 63(C).
    3. Khapko, Mariana & Zoican, Marius, 2021. "Do speed bumps curb low-latency investment? Evidence from a laboratory market," Journal of Financial Markets, Elsevier, vol. 55(C).
    4. Sandrine Jacob Leal & Mauro Napoletano & Andrea Roventini & Giorgio Fagiolo, 2016. "Rock around the clock: An agent-based model of low- and high-frequency trading," Journal of Evolutionary Economics, Springer, vol. 26(1), pages 49-76, March.
    5. Thiago W. Alves & Ionuţ Florescu & Dragoş Bozdog, 2023. "Insights on the Statistics and Market Behavior of Frequent Batch Auctions," Mathematics, MDPI, vol. 11(5), pages 1-26, March.
    6. Breckenfelder, Johannes, 2024. "Competition among high-frequency traders and market quality," Journal of Economic Dynamics and Control, Elsevier, vol. 166(C).
    7. Viktor Manahov, 2024. "The rapid growth of cryptocurrencies: How profitable is trading in digital money?," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 29(2), pages 2214-2229, April.
    8. Luyao Zhang & Fan Zhang, 2023. "Understand Waiting Time in Transaction Fee Mechanism: An Interdisciplinary Perspective," Papers 2305.02552, arXiv.org.
    9. Glebkin, Sergei & Kuong, John Chi-Fong, 2023. "When large traders create noise," Journal of Financial Economics, Elsevier, vol. 150(2).
    10. Aït-Sahalia, Yacine & Sağlam, Mehmet, 2024. "High frequency market making: The role of speed," Journal of Econometrics, Elsevier, vol. 239(2).
    11. Xuefeng Gao & Yunhan Wang, 2018. "Optimal Market Making in the Presence of Latency," Papers 1806.05849, arXiv.org, revised Mar 2020.
    12. Mark Marner-Hausen, 2022. "Developing a Framework for Real-Time Trading in a Laboratory Financial Market," ECONtribute Discussion Papers Series 172, University of Bonn and University of Cologne, Germany.
    13. Brolley, Michael & Zoican, Marius, 2023. "Liquid speed: A micro-burst fee for low-latency exchanges," Journal of Financial Markets, Elsevier, vol. 64(C).
    14. Hoffmann, Peter & Jank, Stephan, 2024. "What is the value of retail order flow?," Discussion Papers 33/2024, Deutsche Bundesbank.
    15. José Antonio Núñez-Mora & Mario Iván Contreras-Valdez & Roberto Joaquín Santillán-Salgado, 2023. "Risk Premium of Bitcoin and Ethereum during the COVID-19 and Non-COVID-19 Periods: A High-Frequency Approach," Mathematics, MDPI, vol. 11(20), pages 1-20, October.
    16. Ge, Hengshun & Yang, Haijun & Doukas, John A., 2024. "The optimal strategies of competitive high-frequency traders and effects on market liquidity," International Review of Economics & Finance, Elsevier, vol. 91(C), pages 653-679.
    17. Aït-Sahalia, Yacine & Brunetti, Celso, 2020. "High frequency traders and the price process," Journal of Econometrics, Elsevier, vol. 217(1), pages 20-45.
    18. Banerjee, Anirban & Roy, Prince, 2023. "High-frequency traders’ evolving role as market makers," Pacific-Basin Finance Journal, Elsevier, vol. 82(C).
    19. Thierry Foucault & Roman Kozhan & Wing Wah Tham, 2017. "Toxic Arbitrage," The Review of Financial Studies, Society for Financial Studies, vol. 30(4), pages 1053-1094.
    20. Paul Bilokon & Burak Gunduz, 2023. "C++ Design Patterns for Low-latency Applications Including High-frequency Trading," Papers 2309.04259, 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:gam:jecnmx:v:11:y:2023:i:2:p:13-:d:1149628. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.