IDEAS home Printed from https://ideas.repec.org/a/gam/jecnmx/v11y2023i2p13-d1149628.html

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.
    2. Liou, Jyh-Hwa & Liu, Yun-Ti & Cheng, Li-Chen, 2024. "Price spread prediction in high-frequency pairs trading using deep learning architectures," International Review of Financial Analysis, Elsevier, vol. 96(PB).

    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. 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).
    3. 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).
    4. Breckenfelder, Johannes, 2024. "Competition among high-frequency traders and market quality," Journal of Economic Dynamics and Control, Elsevier, vol. 166(C).
    5. Roşu, Ioanid, 2019. "Fast and slow informed trading," Journal of Financial Markets, Elsevier, vol. 43(C), pages 1-30.
    6. 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).
    7. Di Mari, Roberto & Bakk, Zsuzsa & Oser, Jennifer & Kuha, Jouni, 2023. "A two-step estimator for multilevel latent class analysis with covariates," LSE Research Online Documents on Economics 119994, London School of Economics and Political Science, LSE Library.
    8. 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.
    9. Nimalendran, Mahendrarajah & Rzayev, Khaladdin & Sagade, Satchit, 2024. "High-frequency trading in the stock market and the costs of options market making," Journal of Financial Economics, Elsevier, vol. 159(C).
    10. Roberto Mari & Zsuzsa Bakk & Jennifer Oser & Jouni Kuha, 2023. "A two-step estimator for multilevel latent class analysis with covariates," Psychometrika, Springer;The Psychometric Society, vol. 88(4), pages 1144-1170, December.
    11. 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.
    12. Luyao Zhang & Fan Zhang, 2023. "Understand Waiting Time in Transaction Fee Mechanism: An Interdisciplinary Perspective," Papers 2305.02552, arXiv.org.
    13. Glebkin, Sergei & Kuong, John Chi-Fong, 2023. "When large traders create noise," Journal of Financial Economics, Elsevier, vol. 150(2).
    14. Arumugam, Devika & Krishna Prasanna, P., 2021. "Commonality and contrarian trading among algorithmic traders," Journal of Behavioral and Experimental Finance, Elsevier, vol. 30(C).
    15. Aït-Sahalia, Yacine & Sağlam, Mehmet, 2024. "High frequency market making: The role of speed," Journal of Econometrics, Elsevier, vol. 239(2).
    16. 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.
    17. Liu, Wei, 2021. "Can HFT profit in Chinese stock market?," Economics Letters, Elsevier, vol. 209(C).
    18. Xuefeng Gao & Yunhan Wang, 2018. "Optimal Market Making in the Presence of Latency," Papers 1806.05849, arXiv.org, revised Mar 2020.
    19. 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.
    20. Carè, Rosella & Cumming, Douglas, 2024. "Technology and automation in financial trading: A bibliometric review," Research in International Business and Finance, Elsevier, vol. 71(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    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: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 The email address of this maintainer does not seem to be valid anymore. Please ask MDPI Indexing Manager to update the entry or send us the correct address (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.