IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2409.08282.html

LSR-IGRU: Stock Trend Prediction Based on Long Short-Term Relationships and Improved GRU

Author

Listed:
  • Peng Zhu
  • Yuante Li
  • Yifan Hu
  • Qinyuan Liu
  • Dawei Cheng
  • Yuqi Liang

Abstract

Stock price prediction is a challenging problem in the field of finance and receives widespread attention. In recent years, with the rapid development of technologies such as deep learning and graph neural networks, more research methods have begun to focus on exploring the interrelationships between stocks. However, existing methods mostly focus on the short-term dynamic relationships of stocks and directly integrating relationship information with temporal information. They often overlook the complex nonlinear dynamic characteristics and potential higher-order interaction relationships among stocks in the stock market. Therefore, we propose a stock price trend prediction model named LSR-IGRU in this paper, which is based on long short-term stock relationships and an improved GRU input. Firstly, we construct a long short-term relationship matrix between stocks, where secondary industry information is employed for the first time to capture long-term relationships of stocks, and overnight price information is utilized to establish short-term relationships. Next, we improve the inputs of the GRU model at each step, enabling the model to more effectively integrate temporal information and long short-term relationship information, thereby significantly improving the accuracy of predicting stock trend changes. Finally, through extensive experiments on multiple datasets from stock markets in China and the United States, we validate the superiority of the proposed LSR-IGRU model over the current state-of-the-art baseline models. We also apply the proposed model to the algorithmic trading system of a financial company, achieving significantly higher cumulative portfolio returns compared to other baseline methods. Our sources are released at https://github.com/ZP1481616577/Baselines_LSR-IGRU.

Suggested Citation

  • Peng Zhu & Yuante Li & Yifan Hu & Qinyuan Liu & Dawei Cheng & Yuqi Liang, 2024. "LSR-IGRU: Stock Trend Prediction Based on Long Short-Term Relationships and Improved GRU," Papers 2409.08282, arXiv.org, revised May 2025.
  • Handle: RePEc:arx:papers:2409.08282
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Matthew Dixon & Diego Klabjan & Jin Hoon Bang, 2017. "Classification-based financial markets prediction using deep neural networks," Algorithmic Finance, IOS Press, vol. 6(3-4), pages 67-77.
    2. Roger Farmer, 2012. "The Stock Market Crash of 2008 Caused the Great Recession," 2012 Meeting Papers 145, Society for Economic Dynamics.
    3. Zhang, Guoqiang & Eddy Patuwo, B. & Y. Hu, Michael, 1998. "Forecasting with artificial neural networks:: The state of the art," International Journal of Forecasting, Elsevier, vol. 14(1), pages 35-62, March.
    4. Farzan Soleymani & Eric Paquet, 2021. "Deep Graph Convolutional Reinforcement Learning for Financial Portfolio Management -- DeepPocket," Papers 2105.08664, arXiv.org.
    5. West, Kenneth D, 1988. "Dividend Innovations and Stock Price Volatility," Econometrica, Econometric Society, vol. 56(1), pages 37-61, January.
    6. Farmer, Roger E.A., 2012. "The stock market crash of 2008 caused the Great Recession: Theory and evidence," Journal of Economic Dynamics and Control, Elsevier, vol. 36(5), pages 693-707.
    7. Jegadeesh, Narasimhan & Titman, Sheridan, 1993. "Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency," Journal of Finance, American Finance Association, vol. 48(1), pages 65-91, March.
    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. Lei Zhou & Yuqi Zhang & Jian Yu & Guiling Wang & Zhizhong Liu & Sira Yongchareon & Nancy Wang, 2025. "LLM-Augmented Linear Transformer–CNN for Enhanced Stock Price Prediction," Mathematics, MDPI, vol. 13(3), pages 1-18, 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. Peng Zhu & Yuante Li & Yifan Hu & Sheng Xiang & Qinyuan Liu & Dawei Cheng & Yuqi Liang, 2024. "MCI-GRU: Stock Prediction Model Based on Multi-Head Cross-Attention and Improved GRU," Papers 2410.20679, arXiv.org, revised Aug 2025.
    2. Hollander, Hylton & Liu, Guangling, 2016. "Credit spread variability in the U.S. business cycle: The Great Moderation versus the Great Recession," Journal of Banking & Finance, Elsevier, vol. 67(C), pages 37-52.
    3. Christian Fieberg & Daniel Metko & Thorsten Poddig & Thomas Loy, 2023. "Machine learning techniques for cross-sectional equity returns’ prediction," OR Spectrum: Quantitative Approaches in Management, Springer;Gesellschaft für Operations Research e.V., vol. 45(1), pages 289-323, March.
    4. repec:spo:wpmain:info:hdl:2441/qqo2oivo980taefakkgk0sv9m is not listed on IDEAS
    5. Pan, Wei-Fong, 2018. "Does the stock market really cause unemployment? A cross-country analysis," The North American Journal of Economics and Finance, Elsevier, vol. 44(C), pages 34-43.
    6. Robert J. Shiller, 2003. "From Efficient Markets Theory to Behavioral Finance," Journal of Economic Perspectives, American Economic Association, vol. 17(1), pages 83-104, Winter.
    7. Dées, Stephane & Zimic, Srečko, 2019. "Animal spirits, fundamental factors and business cycle fluctuations," Journal of Macroeconomics, Elsevier, vol. 61(C), pages 1-1.
    8. Kydland, Finn E. & Zarazaga, Carlos E.J.M., 2016. "Fiscal sentiment and the weak recovery from the Great Recession: A quantitative exploration," Journal of Monetary Economics, Elsevier, vol. 79(C), pages 109-125.
    9. Athreya, Kartik B., 2014. "Big Ideas in Macroeconomics: A Nontechnical View," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262019736, December.
    10. Döpke, Jörg & Fritsche, Ulrich & Pierdzioch, Christian, 2017. "Predicting recessions with boosted regression trees," International Journal of Forecasting, Elsevier, vol. 33(4), pages 745-759.
    11. Pablo Guerróon‐Quintana & Molin Zhong, 2023. "Macroeconomic forecasting in times of crises," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 38(3), pages 295-320, April.
    12. Greg Kaplan & Guido Menzio, 2016. "Shopping Externalities and Self-Fulfilling Unemployment Fluctuations," Journal of Political Economy, University of Chicago Press, vol. 124(3), pages 771-825.
    13. Huck, Nicolas, 2009. "Pairs selection and outranking: An application to the S&P 100 index," European Journal of Operational Research, Elsevier, vol. 196(2), pages 819-825, July.
    14. Greg Kaplan & Guido Menzio, 2016. "Shopping Externalities and Self-Fulfilling Unemployment Fluctuations," Journal of Political Economy, University of Chicago Press, vol. 124(3), pages 771-825.
    15. Sheng, Yankai & Qu, Yuanyu & Ma, Ding, 2024. "Stock price crash prediction based on multimodal data machine learning models," Finance Research Letters, Elsevier, vol. 62(PA).
    16. Hou, Kewei & Peng, Lin & Xiong, Wei, 2006. "R2 and Price Inefficiency," Working Paper Series 2006-23, Ohio State University, Charles A. Dice Center for Research in Financial Economics.
    17. Ülkü, Numan & Kuruppuarachchi, Duminda & Kuzmicheva, Olga, 2017. "Stock market's response to real output shocks in Eastern European frontier markets: A VARwAL model," Emerging Markets Review, Elsevier, vol. 33(C), pages 140-154.
    18. Teplova, Tamara & Fayzulin, Maksim & Kurkin, Aleksei, 2025. "Early warning system for Russian stock market crises: TCN-LSTM-Attention model using imbalanced data and attention mechanism," Socio-Economic Planning Sciences, Elsevier, vol. 101(C).
    19. Kewei Hou & Lin Peng & Wei Xiong, 2013. "Is R-Squared a Measure of Market Inefficiency?," Working Papers 2013-8, Princeton University. Economics Department..
    20. Makridis, Christos A., 2022. "The social transmission of economic sentiment on consumption," European Economic Review, Elsevier, vol. 148(C).
    21. Choi, Sangyup & Loungani, Prakash, 2015. "Uncertainty and unemployment: The effects of aggregate and sectoral channels," Journal of Macroeconomics, Elsevier, vol. 46(C), pages 344-358.

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