arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.14368q-fin.STcs.LG
收藏

使用 Transformers 和情感分析支持股票趋势预测

Support for Stock Trend Prediction Using Transformers and Sentiment Analysis

University of California, Irvine(加州大学欧文分校)

Harsimrat Kaeley, Ye Qiao, Nader Bagherzadeh

AI总结:

本文提出基于 Transformer 的模型,结合股票技术数据与情感分析,在长时间窗口内提升股票趋势预测准确率,在 30 个工作日序列上方向准确率较 RNNs 提升近 18.63%。

摘要:

股票趋势分析因其高收益和内在的混沌特性,一直是一个极具影响力的时间序列预测课题。许多旨在准确预测股票趋势的模型都基于循环神经网络(RNNs)。然而,由于 RNNs 存在梯度消失以及随着序列长度增加长期依赖关系会丢失等局限性,本文开发了一个基于 Transformer 的模型,该模型利用股票技术数据和情感分析,在长时间窗口内进行准确的股票趋势预测。本文还引入了一个新颖的数据集,包含跨度近三年的每日股票技术数据和头条新闻数据。仅基于技术数据的股票预测可能会出现滞后,这是因为股票指标无法有效将突发的市场新闻纳入考量。对头条新闻进行情感分析有助于解释由新闻报道引起的不可预见的市场条件变化。我们将模型与 RNNs 在 5 个工作日到 30 个工作日的序列长度上的性能进行了比较,以模拟不同长度的交易策略。结果显示,随着序列长度的增加,模型相对于 RNNs 的方向准确率有所提高,在 30 个工作日时最大提升接近 18.63%。

英文摘要:

Stock trend analysis has been an influential time-series prediction topic due to its lucrative and inherently chaotic nature. Many models looking to accurately predict the trend of stocks have been based on Recurrent Neural Networks (RNNs). However, due to the limitations of RNNs, such as gradient vanish and long-term dependencies being lost as sequence length increases, in this paper we develop a Transformer based model that uses technical stock data and sentiment analysis to conduct accurate stock trend prediction over long time windows. This paper also introduces a novel dataset containing daily technical stock data and top news headline data spanning almost three years. Stock prediction based solely on technical data can suffer from lag caused by the inability of stock indicators to effectively factor in breaking market news. The use of sentiment analysis on top headlines can help account for unforeseen shifts in market conditions caused by news coverage. We measure the performance of our model against RNNs over sequence lengths spanning 5 business days to 30 business days to mimic different length trading strategies. This reveals an improvement in directional accuracy over RNNs as sequence length is increased, with the largest improvement being close to 18.63% at 30 business days.

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

↑