IDEAS home Printed from https://ideas.repec.org/a/spr/jknowl/v16y2025i1d10.1007_s13132-024-02108-3.html
   My bibliography  Save this article

Advanced Machine Learning for Financial Markets: A PCA-GRU-LSTM Approach

Author

Listed:
  • Bingchun Liu

    (Tianjin University of Technology)

  • Mingzhao Lai

    (Tianjin University of Technology)

Abstract

This study pioneers the integration of environmental data with financial indicators to forecast stock prices, employing a novel PCA-GRU-LSTM model. By analyzing the Shanghai Composite (SSEC) index alongside six key air pollutants, we illuminate the significant role of environmental factors in financial forecasting. The PCA-GRU-LSTM model, which combines principal component analysis (PCA), gated recurrent units (GRU), and long short-term memory (LSTM) networks, demonstrates superior predictive accuracy by leveraging both financial and environmental datasets. Our findings indicate that incorporating environmental indicators enriches the model’s data set and significantly enhances forecasting precision, especially when adjusted for seasonal variations. This study’s results underscore the potential for more sustainable investment strategies, emphasizing the interconnectedness of environmental and financial systems. By offering insights into the dynamic interactions between environmental variables and stock market fluctuations, this research contributes to the burgeoning field of sustainable finance, urging the inclusion of environmental considerations in financial decision-making processes. The PCA-GRU-LSTM model’s success highlights the importance of leveraging advanced machine learning techniques to capture the complex, multifaceted nature of stock price movements, offering a promising avenue for future research in the knowledge economy’s intersection of technology, innovation, and society.

Suggested Citation

  • Bingchun Liu & Mingzhao Lai, 2025. "Advanced Machine Learning for Financial Markets: A PCA-GRU-LSTM Approach," Journal of the Knowledge Economy, Springer;Portland International Center for Management of Engineering and Technology (PICMET), vol. 16(1), pages 3140-3174, March.
  • Handle: RePEc:spr:jknowl:v:16:y:2025:i:1:d:10.1007_s13132-024-02108-3
    DOI: 10.1007/s13132-024-02108-3
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s13132-024-02108-3
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s13132-024-02108-3?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

    for a different version of it.

    References listed on IDEAS

    as
    1. Wu, Qinqin & Hao, Ying & Lu, Jing, 2018. "Air pollution, stock returns, and trading activities in China," Pacific-Basin Finance Journal, Elsevier, vol. 51(C), pages 342-365.
    2. Wang, Ruina & Li, Jinfang, 2021. "The influence and predictive powers of mixed-frequency individual stock sentiment on stock returns," The North American Journal of Economics and Finance, Elsevier, vol. 58(C).
    3. David Hirshleifer & Tyler Shumway, 2003. "Good Day Sunshine: Stock Returns and the Weather," Journal of Finance, American Finance Association, vol. 58(3), pages 1009-1032, June.
    4. Stefano Frizzo Stefenon & Laio Oriel Seman & Viviana Cocco Mariani & Leandro dos Santos Coelho, 2023. "Aggregating Prophet and Seasonal Trend Decomposition for Time Series Forecasting of Italian Electricity Spot Prices," Energies, MDPI, vol. 16(3), pages 1-18, January.
    5. Ahmed, Bouteska, 2020. "Understanding the impact of investor sentiment on the price formation process: A review of the conduct of American stock markets," The Journal of Economic Asymmetries, Elsevier, vol. 22(C).
    6. Rial A. Rajagukguk & Raden A. A. Ramadhan & Hyun-Jin Lee, 2020. "A Review on Deep Learning Models for Forecasting Time Series Data of Solar Irradiance and Photovoltaic Power," Energies, MDPI, vol. 13(24), pages 1-23, December.
    7. Choe, Do-Eun & Kim, Hyoung-Chul & Kim, Moo-Hyun, 2021. "Sequence-based modeling of deep learning with LSTM and GRU networks for structural damage detection of floating offshore wind turbine blades," Renewable Energy, Elsevier, vol. 174(C), pages 218-235.
    8. Jaideep Singh & Matloob Khushi, 2021. "Feature Learning for Stock Price Prediction Shows a Significant Role of Analyst Rating," Papers 2103.09106, arXiv.org.
    9. Huang, Xiaoqiao & Li, Qiong & Tai, Yonghang & Chen, Zaiqing & Liu, Jun & Shi, Junsheng & Liu, Wuming, 2022. "Time series forecasting for hourly photovoltaic power using conditional generative adversarial network and Bi-LSTM," Energy, Elsevier, vol. 246(C).
    10. Zaghum Umar & Mariya Gubareva, 2021. "The relationship between the Covid-19 media coverage and the Environmental, Social and Governance leaders equity volatility: a time-frequency wavelet analysis," Applied Economics, Taylor & Francis Journals, vol. 53(27), pages 3193-3206, June.
    11. Omar, Yamila M. & Minoufekr, Meysam & Plapper, Peter, 2019. "Business analytics in manufacturing: Current trends, challenges and pathway to market leadership," Operations Research Perspectives, Elsevier, vol. 6(C).
    12. Doering, Jana & Kizys, Renatas & Juan, Angel A. & Fitó, Àngels & Polat, Onur, 2019. "Metaheuristics for rich portfolio optimisation and risk management: Current state and future trends," Operations Research Perspectives, Elsevier, vol. 6(C).
    13. Chi-Wei Su & Xu-Yu Cai & Ran Tao, 2020. "Can Stock Investor Sentiment Be Contagious in China?," Sustainability, MDPI, vol. 12(4), pages 1-16, February.
    14. Rajesh Elangovan & Francis Gnanasekar Irudayasamy & Satyanarayana Parayitam, 2022. "Month-of-the-Year Effect: Empirical Evidence from Indian Stock Market," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 29(3), pages 449-476, September.
    15. Afees A. Salisu & Lukman Lasisi & Jean Paul Tchankam, 2022. "Historical geopolitical risk and the behaviour of stock returns in advanced economies," The European Journal of Finance, Taylor & Francis Journals, vol. 28(9), pages 889-906, June.
    16. Linh Duy Bui & Trung Chi Le & Anh Huynh Ngoc Quang & Wing-Keung Wong & David McMillan, 2021. "Determinants of the possibilities by investors’ risk-taking: Empirical evidence from Vietnam," Cogent Economics & Finance, Taylor & Francis Journals, vol. 9(1), pages 1917106-191, January.
    17. Yanzhao Lv & Jingzhe Piao & Boning Li & Meijuan Yang, 2022. "Does online investor sentiment impact stock returns? Evidence from the Chinese stock market," Applied Economics Letters, Taylor & Francis Journals, vol. 29(15), pages 1434-1438, September.
    18. Ghimire, Sujan & Deo, Ravinesh C. & Casillas-Pérez, David & Salcedo-Sanz, Sancho, 2022. "Boosting solar radiation predictions with global climate models, observational predictors and hybrid deep-machine learning algorithms," Applied Energy, Elsevier, vol. 316(C).
    19. Gaurang Sonkavde & Deepak Sudhakar Dharrao & Anupkumar M. Bongale & Sarika T. Deokate & Deepak Doreswamy & Subraya Krishna Bhat, 2023. "Forecasting Stock Market Prices Using Machine Learning and Deep Learning Models: A Systematic Review, Performance Analysis and Discussion of Implications," IJFS, MDPI, vol. 11(3), pages 1-22, July.
    20. Lin, Yu & Yan, Yan & Xu, Jiali & Liao, Ying & Ma, Feng, 2021. "Forecasting stock index price using the CEEMDAN-LSTM model," The North American Journal of Economics and Finance, Elsevier, vol. 57(C).
    21. AL-Alimi, Dalal & AlRassas, Ayman Mutahar & Al-qaness, Mohammed A.A. & Cai, Zhihua & Aseeri, Ahmad O. & Abd Elaziz, Mohamed & Ewees, Ahmed A., 2023. "TLIA: Time-series forecasting model using long short-term memory integrated with artificial neural networks for volatile energy markets," Applied Energy, Elsevier, vol. 343(C).
    22. John K. Mahaney & Jr. & David Lee Baker & James H. Hamburg, 2007. "Time series analysis of process data," International Journal of Operational Research, Inderscience Enterprises Ltd, vol. 2(3), pages 231-253.
    23. Mubeen Abdur Rehman & Saeed Ahmad Sabir & Muhammad Zahid Javed & Haider Mahmood, 2024. "The Connectedness Knowledge from Investors’ Sentiments, Financial Crises, and Trade Policy: An Economic Perspective," Journal of the Knowledge Economy, Springer;Portland International Center for Management of Engineering and Technology (PICMET), vol. 15(4), pages 20038-20062, December.
    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. Su, Yuandong & Lu, Xinjie & Zeng, Qing & Huang, Dengshi, 2022. "Good air quality and stock market returns," Research in International Business and Finance, Elsevier, vol. 62(C).
    2. Chi, Yeguang & He, Jingbin & Ma, Xinru & Wu, Fei, 2023. "Air pollution and institutional investors' valuation bias during initial public offerings," Pacific-Basin Finance Journal, Elsevier, vol. 80(C).
    3. Zhuhua Jiang & Rangan Gupta & Sowmya Subramaniam & Seong-Min Yoon, 2021. "The Effect of Air Quality and Weather on the Chinese Stock: Evidence from Shenzhen Stock Exchange," Sustainability, MDPI, vol. 13(5), pages 1-20, March.
    4. Zhou, Wenyu & Zhou, Yujun & Zaremba, Adam & Long, Huaigang, 2024. "Stock market reactions under the shadow of the COVID-19 pandemic: Evidence from China," Journal of Behavioral and Experimental Finance, Elsevier, vol. 42(C).
    5. Paidamoyo Aurleen Shenjere & Sune Ferreira-Schenk & Fabian Moodley, 2025. "Does Investor Sentiment Influence South African ETF Flows During Different Market Conditions?," Economies, MDPI, vol. 13(1), pages 1-19, January.
    6. Wu, Qinqin & Chou, Robin K. & Lu, Jing, 2020. "How does air pollution-induced fund-manager mood affect stock markets in China?," Journal of Behavioral and Experimental Finance, Elsevier, vol. 28(C).
    7. Jiawen Luo & Qun Zhang, 2024. "Air pollution, weather factors, and realized volatility forecasts of agricultural commodity futures," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 44(2), pages 151-217, February.
    8. Guo, Mengmeng & Wei, Mengxin & Huang, Lin, 2022. "Does air pollution influence investor trading behavior? Evidence from China," Emerging Markets Review, Elsevier, vol. 50(C).
    9. Xu, Alan, 2022. "Air pollution and mediation effects in stock market, longitudinal evidence from China," International Review of Financial Analysis, Elsevier, vol. 83(C).
    10. Kirk-Reeve, Samuel & Gehricke, Sebastian A. & Ruan, Xinfeng & Zhang, Jin E., 2021. "National air pollution and the cross-section of stock returns in China," Journal of Behavioral and Experimental Finance, Elsevier, vol. 32(C).
    11. Tihana Škrinjarić & Branka Marasović & Boško Šego, 2021. "Does the Croatian Stock Market Have Seasonal Affective Disorder?," JRFM, MDPI, vol. 14(2), pages 1-16, February.
    12. Jingbin He & Xinru Ma, 2021. "Extreme Temperatures and Firm-Level Stock Returns," IJERPH, MDPI, vol. 18(4), pages 1-22, February.
    13. Wu, Qinin & Lu, Jing, 2020. "Air pollution, individual investors, and stock pricing in China," International Review of Economics & Finance, Elsevier, vol. 67(C), pages 267-287.
    14. Liu, Huajin & Zhang, Wei & Zhang, Xiaotao & Liu, Jia, 2021. "Temperature and trading behaviours," International Review of Financial Analysis, Elsevier, vol. 78(C).
    15. Chhatwani, Malvika & Parija, Arpit Kumar, 2023. "Who invests in cryptocurrency? The role of overconfidence among American investors," Journal of Behavioral and Experimental Economics (formerly The Journal of Socio-Economics), Elsevier, vol. 107(C).
    16. Zhigang Liu & Jin Wang & Tao Tao & Ziyun Zhang & Siyi Chen & Yang Yi & Shuang Han & Yongqian Liu, 2023. "Wave Power Prediction Based on Seasonal and Trend Decomposition Using Locally Weighted Scatterplot Smoothing and Dual-Channel Seq2Seq Model," Energies, MDPI, vol. 16(22), pages 1-17, November.
    17. Lepori, Gabriele M., 2015. "Investor mood and demand for stocks: Evidence from popular TV series finales," Journal of Economic Psychology, Elsevier, vol. 48(C), pages 33-47.
    18. Andrew W. Lo & Dmitry V. Repin & Brett N. Steenbarger, 2005. "Fear and Greed in Financial Markets: A Clinical Study of Day-Traders," American Economic Review, American Economic Association, vol. 95(2), pages 352-359, May.
    19. Nicholas Apergis & Alexandros Gabrielsen & Lee Smales, 2016. "(Unusual) weather and stock returns—I am not in the mood for mood: further evidence from international markets," Financial Markets and Portfolio Management, Springer;Swiss Society for Financial Market Research, vol. 30(1), pages 63-94, February.
    20. Despina Gavresi & Anastasia Litina & Christos A. Makridis, 2024. "Split personalities? Behavioral effects of temperature on financial decision‐making," Kyklos, Wiley Blackwell, vol. 77(3), pages 664-689, August.

    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:spr:jknowl:v:16:y:2025:i:1:d:10.1007_s13132-024-02108-3. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.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.