Predicting Stock Prices with FinBERT-LSTM: Integrating News Sentiment Analysis

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Gu, Wenjun, Zhong, Yihao, Li, Shizun, Wei, Changsong, Dong, Liting, Wang, Zhuoyue, Yan, Chao
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916475271380992
author Gu, Wenjun
Zhong, Yihao
Li, Shizun
Wei, Changsong
Dong, Liting
Wang, Zhuoyue
Yan, Chao
author_facet Gu, Wenjun
Zhong, Yihao
Li, Shizun
Wei, Changsong
Dong, Liting
Wang, Zhuoyue
Yan, Chao
contents The stock market's ascent typically mirrors the flourishing state of the economy, whereas its decline is often an indicator of an economic downturn. Therefore, for a long time, significant correlation elements for predicting trends in financial stock markets have been widely discussed, and people are becoming increasingly interested in the task of financial text mining. The inherent instability of stock prices makes them acutely responsive to fluctuations within the financial markets. In this article, we use deep learning networks, based on the history of stock prices and articles of financial, business, technical news that introduce market information to predict stock prices. We illustrate the enhancement of predictive precision by integrating weighted news categories into the forecasting model. We developed a pre-trained NLP model known as FinBERT, designed to discern the sentiments within financial texts. Subsequently, we advanced this model by incorporating the sophisticated Long Short Term Memory (LSTM) architecture, thus constructing the innovative FinBERT-LSTM model. This model utilizes news categories related to the stock market structure hierarchy, namely market, industry, and stock related news categories, combined with the stock market's stock price situation in the previous week for prediction. We selected NASDAQ-100 index stock data and trained the model on Benzinga news articles, and utilized Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and Accuracy as the key metrics for the assessment and comparative analysis of the model's performance. The results indicate that FinBERT-LSTM performs the best, followed by LSTM, and DNN model ranks third in terms of effectiveness.
format Preprint
id arxiv_https___arxiv_org_abs_2407_16150
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Predicting Stock Prices with FinBERT-LSTM: Integrating News Sentiment Analysis
Gu, Wenjun
Zhong, Yihao
Li, Shizun
Wei, Changsong
Dong, Liting
Wang, Zhuoyue
Yan, Chao
Machine Learning
Artificial Intelligence
The stock market's ascent typically mirrors the flourishing state of the economy, whereas its decline is often an indicator of an economic downturn. Therefore, for a long time, significant correlation elements for predicting trends in financial stock markets have been widely discussed, and people are becoming increasingly interested in the task of financial text mining. The inherent instability of stock prices makes them acutely responsive to fluctuations within the financial markets. In this article, we use deep learning networks, based on the history of stock prices and articles of financial, business, technical news that introduce market information to predict stock prices. We illustrate the enhancement of predictive precision by integrating weighted news categories into the forecasting model. We developed a pre-trained NLP model known as FinBERT, designed to discern the sentiments within financial texts. Subsequently, we advanced this model by incorporating the sophisticated Long Short Term Memory (LSTM) architecture, thus constructing the innovative FinBERT-LSTM model. This model utilizes news categories related to the stock market structure hierarchy, namely market, industry, and stock related news categories, combined with the stock market's stock price situation in the previous week for prediction. We selected NASDAQ-100 index stock data and trained the model on Benzinga news articles, and utilized Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and Accuracy as the key metrics for the assessment and comparative analysis of the model's performance. The results indicate that FinBERT-LSTM performs the best, followed by LSTM, and DNN model ranks third in terms of effectiveness.
title Predicting Stock Prices with FinBERT-LSTM: Integrating News Sentiment Analysis
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2407.16150