IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0294460.html
   My bibliography  Save this article

Hybrid deep learning models with multi-classification investor sentiment to forecast the prices of China’s leading stocks

Author

Listed:
  • Hongli Niu
  • Qiaoying Pan
  • Kunliang Xu

Abstract

The prediction of stock prices has long been a captivating subject in academic research. This study aims to forecast the prices of prominent stocks in five key industries of the Chinese A-share market by leveraging the synergistic power of deep learning techniques and investor sentiment analysis. To achieve this, a sentiment multi-classification dataset is for the first time constructed for China’s stock market, based on four types of sentiments in modern psychology. The significant heterogeneity of sentiment changes in the sectors’ leading stock markets is trained and mined using the Bi-LSTM-ATT model. The impact of multi-classification investor sentiment on stock price prediction was analyzed using the CNN-Bi-LSTM-ATT model. It finds that integrating sentiment indicators into the prediction of industry leading stock prices can enhance the accuracy of the model. Drawing upon four fundamental sentiment types derived from modern psychology, our dataset provides a comprehensive framework for analyzing investor sentiment and its impact on forecasting the stock prices of China’s A-share market.

Suggested Citation

  • Hongli Niu & Qiaoying Pan & Kunliang Xu, 2023. "Hybrid deep learning models with multi-classification investor sentiment to forecast the prices of China’s leading stocks," PLOS ONE, Public Library of Science, vol. 18(11), pages 1-24, November.
  • Handle: RePEc:plo:pone00:0294460
    DOI: 10.1371/journal.pone.0294460
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0294460
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0294460&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0294460?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
    ---><---

    References listed on IDEAS

    as
    1. Asger Lunde & Peter R. Hansen, 2005. "A forecast comparison of volatility models: does anything beat a GARCH(1,1)?," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 20(7), pages 873-889.
    2. Malcolm Baker & Jeffrey Wurgler, 2006. "Investor Sentiment and the Cross‐Section of Stock Returns," Journal of Finance, American Finance Association, vol. 61(4), pages 1645-1680, August.
    3. Bekaert, Geert & Hoerova, Marie, 2014. "The VIX, the variance premium and stock market volatility," Journal of Econometrics, Elsevier, vol. 183(2), pages 181-192.
    4. Justin Sirignano & Rama Cont, 2019. "Universal features of price formation in financial markets: perspectives from deep learning," Quantitative Finance, Taylor & Francis Journals, vol. 19(9), pages 1449-1459, September.
    5. Pai, Ping-Feng & Lin, Chih-Sheng, 2005. "A hybrid ARIMA and support vector machines model in stock price forecasting," Omega, Elsevier, vol. 33(6), pages 497-505, December.
    6. Song, Yu & Akagi, Fumio, 2016. "Application of artificial neural network for the prediction of stock market returns: The case of the Japanese stock marketAuthor-Name: Qiu, Mingyue," Chaos, Solitons & Fractals, Elsevier, vol. 85(C), pages 1-7.
    7. Shun Chen & Lei Ge, 2019. "Exploring the attention mechanism in LSTM-based Hong Kong stock price movement prediction," Quantitative Finance, Taylor & Francis Journals, vol. 19(9), pages 1507-1515, September.
    8. Paul C. Tetlock, 2007. "Giving Content to Investor Sentiment: The Role of Media in the Stock Market," Journal of Finance, American Finance Association, vol. 62(3), pages 1139-1168, June.
    9. repec:bla:jfinan:v:59:y:2004:i:3:p:1259-1294 is not listed on IDEAS
    10. Daigo Tashiro & Hiroyasu Matsushima & Kiyoshi Izumi & Hiroki Sakaji, 2019. "Encoding of high-frequency order information and prediction of short-term stock price by deep learning," Quantitative Finance, Taylor & Francis Journals, vol. 19(9), pages 1499-1506, September.
    11. Li, Yuze & Jiang, Shangrong & Li, Xuerong & Wang, Shouyang, 2021. "The role of news sentiment in oil futures returns and volatility forecasting: Data-decomposition based deep learning approach," Energy Economics, Elsevier, vol. 95(C).
    12. Sert, Onur Can & Şahin, Salih Doruk & Özyer, Tansel & Alhajj, Reda, 2020. "Analysis and prediction in sparse and high dimensional text data: The case of Dow Jones stock market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 545(C).
    13. Wang, Lu & Ma, Feng & Liu, Jing & Yang, Lin, 2020. "Forecasting stock price volatility: New evidence from the GARCH-MIDAS model," International Journal of Forecasting, Elsevier, vol. 36(2), pages 684-694.
    14. Friesen, Geoffrey & Weller, Paul A., 2006. "Quantifying cognitive biases in analyst earnings forecasts," Journal of Financial Markets, Elsevier, vol. 9(4), pages 333-365, November.
    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. Baur, Dirk G. & Smales, Lee A., 2020. "Hedging geopolitical risk with precious metals," Journal of Banking & Finance, Elsevier, vol. 117(C).
    2. John Garcia, 2024. "Herding the crowds: how sentiment affects crowdsourced earnings estimates," Financial Markets and Portfolio Management, Springer;Swiss Society for Financial Market Research, vol. 38(3), pages 331-370, September.
    3. Wang, Wenzhao & Su, Chen & Duxbury, Darren, 2022. "The conditional impact of investor sentiment in global stock markets: A two-channel examination," Journal of Banking & Finance, Elsevier, vol. 138(C).
    4. Pan, Zhiyuan & Fu, Ziqian & Wang, Yudong & Dong, Qingma, 2024. "Exploiting the sentiments: A simple approach for improving cross hedging effectiveness," Energy Economics, Elsevier, vol. 134(C).
    5. Gao, Jie & Fan, Chunguo & Liu, Ting & Bai, Xiuran & Li, Wenyong & Tan, Huimin, 2025. "Embracing market dynamics in the post-COVID era: A data-driven analysis of investor sentiment and behavioral characteristics in stock index futures returns," Omega, Elsevier, vol. 131(C).
    6. Evangelos Liaras & Michail Nerantzidis & Antonios Alexandridis, 2024. "Machine learning in accounting and finance research: a literature review," Review of Quantitative Finance and Accounting, Springer, vol. 63(4), pages 1431-1471, November.
    7. Xiaohong Shen & Gaoshan Wang & Yue Wang & Alfred Peris, 2021. "The Influence of Research Reports on Stock Returns: The Mediating Effect of Machine-Learning-Based Investor Sentiment," Discrete Dynamics in Nature and Society, Hindawi, vol. 2021, pages 1-14, December.
    8. David E. Allen & Michael McAleer & Abhay K. Singh, 2019. "Daily market news sentiment and stock prices," Applied Economics, Taylor & Francis Journals, vol. 51(30), pages 3212-3235, June.
    9. Toshiaki Ogawa & Masato Ubukata & Toshiaki Watanabe, 2020. "Stock Return Predictability and Variance Risk Premia around the ZLB," IMES Discussion Paper Series 20-E-09, Institute for Monetary and Economic Studies, Bank of Japan.
    10. Kamaladdin Fataliyev & Aneesh Chivukula & Mukesh Prasad & Wei Liu, 2021. "Stock Market Analysis with Text Data: A Review," Papers 2106.12985, arXiv.org, revised Jul 2021.
    11. Keval Amin & Erica Harris, 2022. "The Effect of Investor Sentiment on Nonprofit Donations," Journal of Business Ethics, Springer, vol. 175(2), pages 427-450, January.
    12. Kirtac, Kemal & Germano, Guido, 2024. "Sentiment trading with large language models," Finance Research Letters, Elsevier, vol. 62(PB).
    13. Shen, Yiran & Liu, Chang & Sun, Xiaolei & Guo, Kun, 2023. "Investor sentiment and the Chinese new energy stock market: A risk–return perspective," International Review of Economics & Finance, Elsevier, vol. 84(C), pages 395-408.
    14. Sapkota, Niranjan, 2022. "News-based sentiment and bitcoin volatility," International Review of Financial Analysis, Elsevier, vol. 82(C).
    15. Bijl, Laurens & Kringhaug, Glenn & Molnár, Peter & Sandvik, Eirik, 2016. "Google searches and stock returns," International Review of Financial Analysis, Elsevier, vol. 45(C), pages 150-156.
    16. Chen, Cathy Yi-Hsuan & Fengler, Matthias R. & Härdle, Wolfgang Karl & Liu, Yanchu, 2022. "Media-expressed tone, option characteristics, and stock return predictability," Journal of Economic Dynamics and Control, Elsevier, vol. 134(C).
    17. Gric, Zuzana & Ehrenbergerova, Dominika & Hodula, Martin, 2022. "The power of sentiment: Irrational beliefs of households and consumer loan dynamics," Journal of Financial Stability, Elsevier, vol. 59(C).
    18. Ahmed, Yousry & Elshandidy, Tamer, 2016. "The effect of bidder conservatism on M&A decisions: Text-based evidence from US 10-K filings," International Review of Financial Analysis, Elsevier, vol. 46(C), pages 176-190.
    19. Geert Bekaert & Eric C. Engstrom & Nancy R. Xu, 2022. "The Time Variation in Risk Appetite and Uncertainty," Management Science, INFORMS, vol. 68(6), pages 3975-4004, June.
    20. Montone, Maurizio & Zhu, Yuhao & Zwinkels, Remco C.J., 2024. "Managerial sentiment and employment," Journal of Behavioral and Experimental Finance, Elsevier, vol. 43(C).

    More about this item

    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:plo:pone00:0294460. 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: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    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.