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. 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.
    2. 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.
    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. Lu Zhang & Lei Hua, 2025. "Major Issues in High-Frequency Financial Data Analysis: A Survey of Solutions," Mathematics, MDPI, vol. 13(3), pages 1-40, January.

    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. 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).
    2. 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.
    3. Glebkin, Sergei & Kuong, John Chi-Fong, 2023. "When large traders create noise," Journal of Financial Economics, Elsevier, vol. 150(2).
    4. Aït-Sahalia, Yacine & Sağlam, Mehmet, 2024. "High frequency market making: The role of speed," Journal of Econometrics, Elsevier, vol. 239(2).
    5. 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.
    6. Xuefeng Gao & Yunhan Wang, 2018. "Optimal Market Making in the Presence of Latency," Papers 1806.05849, arXiv.org, revised Mar 2020.
    7. 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.
    8. 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.
    9. 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.
    10. Aït-Sahalia, Yacine & Brunetti, Celso, 2020. "High frequency traders and the price process," Journal of Econometrics, Elsevier, vol. 217(1), pages 20-45.
    11. Banerjee, Anirban & Roy, Prince, 2023. "High-frequency traders’ evolving role as market makers," Pacific-Basin Finance Journal, Elsevier, vol. 82(C).
    12. 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.
    13. Kemme, David M. & McInish, Thomas H. & Zhang, Jiang, 2022. "Market fairness and efficiency: Evidence from the Tokyo Stock Exchange," Journal of Banking & Finance, Elsevier, vol. 134(C).
    14. Nimalendran, Mahendrarajah & Rzayev, Khaladdin & Sagade, Satchit, 2024. "High-frequency trading in the stock market and the costs of options market making," LSE Research Online Documents on Economics 124228, London School of Economics and Political Science, LSE Library.
    15. Sandrine Jacob Leal & Mauro Napoletano, 2017. "Market Stability vs. Market Resilience: Regulatory Policies Experiments in an Agent-Based Model with Low- and High-Frequency Trading," Post-Print hal-01768876, HAL.
    16. Rzayev, Khaladdin & Ibikunle, Gbenga & Steffen, Tom, 2023. "The market quality implications of speed in cross-platform trading: evidence from Frankfurt-London microwave," LSE Research Online Documents on Economics 119989, London School of Economics and Political Science, LSE Library.
    17. Bidisha Chakrabarty & Pankaj K. Jain & Andriy Shkilko & Konstantin Sokolov, 2021. "Unfiltered Market Access and Liquidity: Evidence from the SEC Rule 15c3-5," Management Science, INFORMS, vol. 67(2), pages 1183-1198, February.
    18. Ekinci, Cumhur & Ersan, Oğuz, 2022. "High-frequency trading and market quality: The case of a “slightly exposed” market," International Review of Financial Analysis, Elsevier, vol. 79(C).
    19. Rzayev, Khaladdin & Ibikunle, Gbenga & Steffen, Tom, 2023. "The market quality implications of speed in cross-platform trading: Evidence from Frankfurt-London microwave," Journal of Financial Markets, Elsevier, vol. 66(C).
    20. Roşu, Ioanid, 2019. "Fast and slow informed trading," Journal of Financial Markets, Elsevier, vol. 43(C), pages 1-30.

    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.