4.6 Article

Prediction of stock price direction using the LASSO-LSTM model combines technical indicators and financial sentiment analysis

期刊

PEERJ COMPUTER SCIENCE
卷 8, 期 -, 页码 -

出版社

PEERJ INC
DOI: 10.7717/peerj-cs.1148

关键词

LASSO-LSTM model; Stock price forecast; Technical indicators; Financial sentiment analysis; Variable selection

资金

  1. Graduate Innovation Research Project of Chongqing Technology and Business University, China [yjscxx2022-112-06]

向作者/读者索取更多资源

This article proposes a methodology that combines technical analysis and sentiment analysis to predict stock movement. By crawling financial textual content and stock historical transaction data and utilizing transfer learning and the TTR package, emotions are recognized and technical indicators are calculated. The improved LASSO-LSTM model is used for variable selection, and the LASSO-LSTM model shows a significant improvement in accuracy compared to the baseline LSTM model.
Correctly predicting the stock price movement direction is of immense importance in the financial market. In recent years, with the expansion of dimension and volume in data, the nonstationary and nonlinear characters in finance data make it difficult to predict stock movement accurately. In this article, we propose a methodology that combines technical analysis and sentiment analysis to construct predictor variables and then apply the improved LASSO-LASSO to forecast stock direction. First, the financial textual content and stock historical transaction data are crawled from websites. Then transfer learning Finbert is used to recognize the emotion of textual data and the TTR package is taken to calculate the technical indicators based on historical price data. To eliminate the multi-collinearity of predictor variables after combination, we improve the long short-term memory neural network (LSTM) model with the Absolute Shrinkage and Selection Operator (LASSO). In predict phase, we apply the variables screened as the input vector to train the LASSO-LSTM model. To evaluate the model performance, we compare the LASSO-LSTM and baseline models on accuracy and robustness metrics. In addition, we introduce the Wilcoxon signed rank test to evaluate the difference in results. The experiment result proves that the LASSO-LSTM with technical and sentiment indicators has an average 8.53% accuracy improvement than standard LSTM. Consequently, this study proves that utilizing historical transactions and financial sentiment data can capture critical information affecting stock movement. Also, effective variable selection can retain the key variables and improve the model prediction performance.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.6
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据