Support for Stock Trend Prediction Using Transformers and Sentiment
Analysis
- URL: http://arxiv.org/abs/2305.14368v1
- Date: Thu, 18 May 2023 03:26:39 GMT
- Title: Support for Stock Trend Prediction Using Transformers and Sentiment
Analysis
- Authors: Harsimrat Kaeley, Ye Qiao, Nader Bagherzadeh
- Abstract summary: 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.
- Score: 3.147603836269998
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: 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.
Related papers
- Trading through Earnings Seasons using Self-Supervised Contrastive Representation Learning [1.6574413179773761]
Contrastive Earnings Transformer (CET) is a self-supervised learning approach rooted in Contrastive Predictive Coding (CPC)
Our research delves deep into the intricacies of stock data, evaluating how various models handle the rapidly changing relevance of earnings data over time and over different sectors.
CET's foundation on CPC allows for a nuanced understanding, facilitating consistent stock predictions even as the earnings data ages.
arXiv Detail & Related papers (2024-09-25T22:09:59Z) - An Evaluation of Deep Learning Models for Stock Market Trend Prediction [0.3277163122167433]
This study investigates the efficacy of advanced deep learning models for short-term trend forecasting using daily and hourly closing prices from the S&P 500 index and the Brazilian ETF EWZ.
We introduce the Extended Long Short-Term Memory for Time Series (xLSTM-TS) model, an xLSTM adaptation optimised for time series prediction.
Among the models tested, xLSTM-TS consistently outperformed others. For example, it achieved a test accuracy of 72.82% and an F1 score of 73.16% on the EWZ daily dataset.
arXiv Detail & Related papers (2024-08-22T13:58:55Z) - F-FOMAML: GNN-Enhanced Meta-Learning for Peak Period Demand Forecasting with Proxy Data [65.6499834212641]
We formulate the demand prediction as a meta-learning problem and develop the Feature-based First-Order Model-Agnostic Meta-Learning (F-FOMAML) algorithm.
By considering domain similarities through task-specific metadata, our model improved generalization, where the excess risk decreases as the number of training tasks increases.
Compared to existing state-of-the-art models, our method demonstrates a notable improvement in demand prediction accuracy, reducing the Mean Absolute Error by 26.24% on an internal vending machine dataset and by 1.04% on the publicly accessible JD.com dataset.
arXiv Detail & Related papers (2024-06-23T21:28:50Z) - NoxTrader: LSTM-Based Stock Return Momentum Prediction for Quantitative
Trading [0.0]
NoxTrader is a sophisticated system designed for portfolio construction and trading execution.
The underlying learning process of NoxTrader is rooted in the assimilation of valuable insights derived from historical trading data.
Our rigorous feature engineering and careful selection of prediction targets enable us to generate prediction data with an impressive correlation range between 0.65 and 0.75.
arXiv Detail & Related papers (2023-10-01T17:53:23Z) - Diffusion Variational Autoencoder for Tackling Stochasticity in
Multi-Step Regression Stock Price Prediction [54.21695754082441]
Multi-step stock price prediction over a long-term horizon is crucial for forecasting its volatility.
Current solutions to multi-step stock price prediction are mostly designed for single-step, classification-based predictions.
We combine a deep hierarchical variational-autoencoder (VAE) and diffusion probabilistic techniques to do seq2seq stock prediction.
Our model is shown to outperform state-of-the-art solutions in terms of its prediction accuracy and variance.
arXiv Detail & Related papers (2023-08-18T16:21:15Z) - TM-vector: A Novel Forecasting Approach for Market stock movement with a
Rich Representation of Twitter and Market data [1.5749416770494706]
We will introduce TM-vector and then use this vector to train an IndRNN and ultimately model the market users' behaviour.
In the proposed model, TM-vector is simultaneously trained with both the extracted Twitter features and market information.
Various factors have been used for the effectiveness of the proposed forecasting approach.
arXiv Detail & Related papers (2023-03-13T18:55:41Z) - DNN-ForwardTesting: A New Trading Strategy Validation using Statistical
Timeseries Analysis and Deep Neural Networks [0.6882042556551609]
We propose a new trading strategy, called DNN-forwardtesting, that determines the strategy to apply by testing it on the possible future predicted by a deep neural network.
Our trading system calculates the most effective technical indicator by applying it to the DNNs predictions and uses such indicator to guide its trades.
arXiv Detail & Related papers (2022-10-20T19:00:59Z) - DeepVol: Volatility Forecasting from High-Frequency Data with Dilated Causal Convolutions [53.37679435230207]
We propose DeepVol, a model based on Dilated Causal Convolutions that uses high-frequency data to forecast day-ahead volatility.
Our empirical results suggest that the proposed deep learning-based approach effectively learns global features from high-frequency data.
arXiv Detail & Related papers (2022-09-23T16:13:47Z) - Low-Rank Temporal Attention-Augmented Bilinear Network for financial
time-series forecasting [93.73198973454944]
Deep learning models have led to significant performance improvements in many problems coming from different domains, including prediction problems of financial time-series data.
The Temporal Attention-Augmented Bilinear network was recently proposed as an efficient and high-performing model for Limit Order Book time-series forecasting.
In this paper, we propose a low-rank tensor approximation of the model to further reduce the number of trainable parameters and increase its speed.
arXiv Detail & Related papers (2021-07-05T10:15:23Z) - A Sentiment Analysis Approach to the Prediction of Market Volatility [62.997667081978825]
We have explored the relationship between sentiment extracted from financial news and tweets and FTSE100 movements.
The sentiment captured from news headlines could be used as a signal to predict market returns; the same does not apply for volatility.
We developed an accurate classifier for the prediction of market volatility in response to the arrival of new information.
arXiv Detail & Related papers (2020-12-10T01:15:48Z) - Deep Stock Predictions [58.720142291102135]
We consider the design of a trading strategy that performs portfolio optimization using Long Short Term Memory (LSTM) neural networks.
We then customize the loss function used to train the LSTM to increase the profit earned.
We find the LSTM model with the customized loss function to have an improved performance in the training bot over a regressive baseline such as ARIMA.
arXiv Detail & Related papers (2020-06-08T23:37:47Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.