Back to Search Start Over

Transformer-Based Deep Learning Model for Stock Price Prediction: A Case Study on Bangladesh Stock Market.

Authors :
Muhammad, Tashreef
Aftab, Anika Bintee
Ibrahim, Muhammad
Ahsan, Md. Mainul
Muhu, Maishameem Meherin
Khan, Shahidul Islam
Alam, Mohammad Shafiul
Source :
International Journal of Computational Intelligence & Applications. Sep2023, Vol. 22 Issue 3, p1-24. 24p.
Publication Year :
2023

Abstract

In the 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 task using DSE data. 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 aims to leverage these two effective techniques to discover forecasting ability on the volatile stock market of DSE. We deal with the historical daily and weekly data of eight specific stocks listed in DSE. Our experiments demonstrate promising results and acceptable root-mean-squared error on most of the stocks. We also compare the performance of our model with that of a well-known benchmark stock forecasting model called ARIMA and report satisfactory results. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
14690268
Volume :
22
Issue :
3
Database :
Academic Search Index
Journal :
International Journal of Computational Intelligence & Applications
Publication Type :
Academic Journal
Accession number :
172895381
Full Text :
https://doi.org/10.1142/S146902682350013X