Work

Quantitative Stock Selection Model Based on Text Analysis-LSTM

Year: 2025
Type: article
Abstract: 股票市场的波动深刻影响投资者决策,凸显量化选股的关键意义。本研究创造性地将文本分析和长短期记忆神经网络(LSTM)相结合,构建了选股模型。模型先借助TF-IDF和TextRank剖析相关财经新闻及行业简报,挖掘热门利好行业及股票,再运用LSTM模型预测所选股票最低价走势,为投资者决策提供参考依据。经过模型评估,其均方误差(MSE)为0.02037,平均绝对误差(MAE)为0.09182,决定系数(R2)达到0.9754,这些指标显示模型的预测性能较为出色。通过文本分析确定科技行业为热门利好行业,并选取该行业的九洲集团、焦点科技两支股票展开案例分析,验证了引入滑动窗口的LSTM模型在预测精度方面优于未引入滑动窗口的LSTM模型。此研究成果为量化选股开辟新方向,有望助力投资者决策更科学。The fluctuations in the stock market have a profound impact on investors’ decisions, highlighting the crucial significance of quantitative stock selection. This study innovatively combines text analysis with the Long Short-Term Memory neural network (LSTM) to construct a stock selection model. The model first utilizes TF-IDF and TextRank to analyze relevant financial news and industry briefs, unearthing popular and favorable industries and stocks. Then, it employs the LSTM model to predict the lowest price trends of the selected stocks, providing a reference basis for investors’ decisions. Through model evaluation, its Mean Squared Error (MSE) reaches 0.02037, the Mean Absolute Error (MAE) is 0.09182, and the Coefficient of Determination (R2) is 0.9754, indicating that the model has a good prediction effect. Through text analysis, it is determined that the technology industry is a popular and favorable industry, and two stocks, Jiuzhou Group and Focus Technology, in this industry are selected for case analysis, confirming that the LSTM model with a sliding window is superior to the LSTM model without a sliding window in prediction accuracy. The results of this study open up a new direction for quantitative stock selection and are expected to help investors make more scientific and rational decisions and make their investment behaviors more forward-looking and accurate.
Author: 优 路
Institution: Guizhou University
Language: English
Open Access status: hybrid
OpenAlex ID: W4410990503
FWCI:
Cites: 1
Cited by:
Related to: 10