arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.16150cs.LGcs.AI
收藏

使用FinBERT-LSTM预测股票价格:集成新闻情感分析

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

Carey Business School, Johns Hopkins University(约翰斯·霍普金斯大学凯瑞商学院);Courant Institute of Mathematical Sciences, New York University(纽约大学柯朗数学科学研究所);Digital Financial Information Technology Co.LTD(数字金融信息技术有限公司);Cox School of Business, Southern Methodist University(南卫理公会大学考克斯商学院);Department of Electrical Engineering and Computer Sciences, University of California, Berkeley(加州大学伯克利分校电气工程与计算机科学系);Department of Electrical and Computer Engineering, Northeastern University(东北大学电气与计算机工程系)

Wenjun Gu, Yihao Zhong, Shizun Li, Changsong Wei, Liting Dong, Zhuoyue Wang, Chao Yan

AI总结:

本文提出FinBERT-LSTM模型,通过结合FinBERT新闻情感分析与LSTM架构,利用市场、行业和股票类新闻及历史股价预测股票价格,实验证明其性能优于LSTM和DNN。

摘要:

股市的上涨通常反映了经济的繁荣状态,而其下跌往往是经济衰退的指标。因此,长期以来,预测金融股市趋势的重要相关因素被广泛讨论,人们对金融文本挖掘任务的兴趣也日益浓厚。股票价格固有的不稳定性使其对金融市场的波动极为敏感。在本文中,我们使用深度学习网络,基于股票价格历史以及引入市场信息的金融、商业和技术新闻文章来预测股票价格。我们阐明了通过将加权新闻类别整合到预测模型中来提高预测精度。我们开发了一个名为FinBERT的预训练NLP模型,旨在识别金融文本中的情感。随后,我们通过引入复杂的Long Short Term Memory (LSTM) 架构推进了该模型,从而构建了创新的FinBERT-LSTM模型。该模型利用与股市结构层级相关的新闻类别,即市场、行业和股票相关新闻类别,结合前一周股市的股价情况进行预测。我们选取了NASDAQ-100指数股票数据,并在Benzinga新闻文章上训练了该模型,同时利用Mean Absolute Error (MAE)、Mean Absolute Percentage Error (MAPE)和Accuracy作为评估和比较模型性能的关键指标。结果表明,FinBERT-LSTM表现最佳,其次是LSTM,而DNN模型在有效性方面排名第三。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑