Transformer-Based Deep Learning Model for Stock Price Prediction: A Case
Study on Bangladesh Stock Market
- URL: http://arxiv.org/abs/2208.08300v1
- Date: Wed, 17 Aug 2022 14:03:28 GMT
- Title: Transformer-Based Deep Learning Model for Stock Price Prediction: A Case
Study on Bangladesh Stock Market
- Authors: Tashreef Muhammad, Anika Bintee Aftab, Md. Mainul Ahsan, Maishameem
Meherin Muhu, Muhammad Ibrahim, Shahidul Islam Khan and Mohammad Shafiul Alam
- Abstract summary: This paper concentrates on the application of transformer-based model to predict the price movement of eight specific stocks listed in Dhaka Stock Exchange (DSE)
Our experiments demonstrate promising results and acceptable root mean squared error on most of the stocks.
- Score: 0.0
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: In modern capital market the price of a stock is often considered to be
highly volatile and unpredictable because of various social, financial,
political and other dynamic factors. With calculated and thoughtful investment,
stock market can ensure a handsome profit with minimal capital investment,
while incorrect prediction can easily bring catastrophic financial loss to the
investors. This paper introduces the application of a recently introduced
machine learning model - the Transformer model, to predict the future price of
stocks of Dhaka Stock Exchange (DSE), the leading stock exchange in Bangladesh.
The transformer model has been widely leveraged for natural language processing
and computer vision tasks, but, to the best of our knowledge, has never been
used for stock price prediction task at DSE. Recently the introduction of
time2vec encoding to represent the time series features has made it possible to
employ the transformer model for the stock price prediction. This paper
concentrates on the application of transformer-based model to predict the price
movement of eight specific stocks listed in DSE based on their historical daily
and weekly data. Our experiments demonstrate promising results and acceptable
root mean squared error on most of the stocks.
Related papers
- Exploring Sectoral Profitability in the Indian Stock Market Using Deep Learning [0.0]
The study builds upon existing literature on stock price prediction methods, emphasizing the shift toward machine learning and deep learning approaches.
Using historical stock prices of 180 stocks across 18 sectors listed on the NSE, India, the LSTM model predicts future prices.
Results demonstrate the efficacy of the LSTM model in accurately predicting stock prices and informing investment decisions.
arXiv Detail & Related papers (2024-05-28T17:55:54Z) - 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) - HireVAE: An Online and Adaptive Factor Model Based on Hierarchical and
Regime-Switch VAE [113.47287249524008]
It is still an open question to build a factor model that can conduct stock prediction in an online and adaptive setting.
We propose the first deep learning based online and adaptive factor model, HireVAE, at the core of which is a hierarchical latent space that embeds the relationship between the market situation and stock-wise latent factors.
Across four commonly used real stock market benchmarks, the proposed HireVAE demonstrate superior performance in terms of active returns over previous methods.
arXiv Detail & Related papers (2023-06-05T12:58:13Z) - Can ChatGPT Forecast Stock Price Movements? Return Predictability and Large Language Models [51.3422222472898]
We document the capability of large language models (LLMs) like ChatGPT to predict stock price movements using news headlines.
We develop a theoretical model incorporating information capacity constraints, underreaction, limits-to-arbitrage, and LLMs.
arXiv Detail & Related papers (2023-04-15T19:22:37Z) - HiSA-SMFM: Historical and Sentiment Analysis based Stock Market
Forecasting Model [3.6704226968275258]
The aim of this paper is to predict the future of the financial stocks of a company with improved accuracy.
It has been found by analyzing the existing research in the area of sentiment analysis that there is a strong correlation between the movement of stock prices and the publication of news articles.
arXiv Detail & Related papers (2022-03-10T17:03:38Z) - Bayesian Bilinear Neural Network for Predicting the Mid-price Dynamics
in Limit-Order Book Markets [84.90242084523565]
Traditional time-series econometric methods often appear incapable of capturing the true complexity of the multi-level interactions driving the price dynamics.
By adopting a state-of-the-art second-order optimization algorithm, we train a Bayesian bilinear neural network with temporal attention.
By addressing the use of predictive distributions to analyze errors and uncertainties associated with the estimated parameters and model forecasts, we thoroughly compare our Bayesian model with traditional ML alternatives.
arXiv Detail & Related papers (2022-03-07T18:59:54Z) - Analysis of Sectoral Profitability of the Indian Stock Market Using an
LSTM Regression Model [0.0]
This paper presents an optimized predictive model built on long-and-short-term memory (LSTM) architecture for automatically extracting past stock prices from the web over a specified time interval.
The model is deployed for making buy and sell transactions based on its predicted results for 70 important stocks from seven different sectors listed in the National Stock Exchange (NSE) of India.
The results indicate that the model is highly accurate in predicting future stock prices.
arXiv Detail & Related papers (2021-11-09T07:50:48Z) - Stock Price Prediction Under Anomalous Circumstances [81.37657557441649]
This paper aims to capture the movement pattern of stock prices under anomalous circumstances.
We train ARIMA and LSTM models at the single-stock level, industry level, and general market level.
Based on 100 companies' stock prices in the period of 2016 to 2020, the models achieve an average prediction accuracy of 98%.
arXiv Detail & Related papers (2021-09-14T18:50:38Z) - Design and Analysis of Robust Deep Learning Models for Stock Price
Prediction [0.0]
Building predictive models for robust and accurate prediction of stock prices and stock price movement is a challenging research problem to solve.
This chapter proposes a collection of predictive regression models built on deep learning architecture for robust and precise prediction of the future prices of a stock listed in the diversified sectors in the National Stock Exchange (NSE) of India.
arXiv Detail & Related papers (2021-06-17T17:15:02Z) - REST: Relational Event-driven Stock Trend Forecasting [76.08435590771357]
We propose a relational event-driven stock trend forecasting (REST) framework, which can address the shortcoming of existing methods.
To remedy the first shortcoming, we propose to model the stock context and learn the effect of event information on the stocks under different contexts.
To address the second shortcoming, we construct a stock graph and design a new propagation layer to propagate the effect of event information from related stocks.
arXiv Detail & Related papers (2021-02-15T07:22:09Z)
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.