{"title":"A-share Trend Prediction Based on Machine Learning and Sentiment Analysis","authors":"Jiaming Zhang","doi":"10.61173/52jy4c52","DOIUrl":null,"url":null,"abstract":"This study addresses the predictive challenges in China’s A-share market, characterized by high retail investor participation and significant policy impacts. We introduce a novel predictive model that leverages both machine learning algorithms and sentiment analysis to forecast market trends. The research utilizes comprehensive datasets, including real-time A-share market data and sentiment-derived data from stock-related news, processed via advanced machine learning techniques like Random Forest and sentiment analysis tools. Our approach innovatively combines traditional technical indicators with sentiment scores to enhance the predictive accuracy of the model. The findings suggest that integrating sentiment analysis significantly improves the model’s performance, evidenced by enhanced prediction metrics such as Mean Absolute Error (MAE) and R-squared values, which compare favorably before and after incorporating sentiment data. This study not only contributes to the existing financial prediction literature by providing a hybrid methodological approach but also offers practical implications for investors and policymakers in navigating the volatile A-share market.","PeriodicalId":438278,"journal":{"name":"Science and Technology of Engineering, Chemistry and Environmental Protection","volume":"143 5‐6","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Science and Technology of Engineering, Chemistry and Environmental Protection","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.61173/52jy4c52","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
This study addresses the predictive challenges in China’s A-share market, characterized by high retail investor participation and significant policy impacts. We introduce a novel predictive model that leverages both machine learning algorithms and sentiment analysis to forecast market trends. The research utilizes comprehensive datasets, including real-time A-share market data and sentiment-derived data from stock-related news, processed via advanced machine learning techniques like Random Forest and sentiment analysis tools. Our approach innovatively combines traditional technical indicators with sentiment scores to enhance the predictive accuracy of the model. The findings suggest that integrating sentiment analysis significantly improves the model’s performance, evidenced by enhanced prediction metrics such as Mean Absolute Error (MAE) and R-squared values, which compare favorably before and after incorporating sentiment data. This study not only contributes to the existing financial prediction literature by providing a hybrid methodological approach but also offers practical implications for investors and policymakers in navigating the volatile A-share market.
本研究探讨了中国 A 股市场的预测难题,该市场的特点是散户投资者参与度高且受政策影响较大。我们引入了一个新颖的预测模型,利用机器学习算法和情感分析来预测市场趋势。研究利用综合数据集,包括实时 A 股市场数据和股票相关新闻的情绪衍生数据,并通过随机森林等先进的机器学习技术和情绪分析工具进行处理。我们的方法创新性地将传统技术指标与情感评分相结合,以提高模型的预测准确性。研究结果表明,整合情感分析可显著提高模型的性能,这体现在平均绝对误差(MAE)和 R 平方值等预测指标的增强上,在整合情感数据之前和之后,这些指标的对比结果都很好。这项研究提供了一种混合方法,不仅为现有的金融预测文献做出了贡献,还为投资者和政策制定者驾驭动荡的 A 股市场提供了实际意义。