Stock market index prediction using deep Transformer model

被引:103
作者
Wang, Chaojie [1 ]
Chen, Yuanyuan [2 ]
Zhang, Shuqi [2 ]
Zhang, Qiuhui [2 ]
机构
[1] Jiangsu Univ, Fourth Affiliated Hosp Jiangsu Univ, Sch Math Sci, Zhenjiang 212013, Peoples R China
[2] Jiangsu Univ, Sch Math Sci, Zhenjiang 212013, Peoples R China
关键词
Deep learning; Transformer; Stock index prediction; SHORT-TERM-MEMORY; ERROR;
D O I
10.1016/j.eswa.2022.118128
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Applications of deep learning in financial market prediction have attracted widespread attention from investors and scholars. From convolutional neural networks to recurrent neural networks, deep learning methods exhibit superior ability to capture the non-linear characteristics of stock markets and, accordingly, achieve a high performance on stock market index prediction. In this paper, we utilize the latest deep learning framework, Transformer, to predict the stock market index. Transformer was initially developed for the natural language processing problem, and has recently been applied to time series forecasting. Through the encoder-decoder architecture and the multi-head attention mechanism, Transformer can better characterize the underlying rules of stock market dynamics. We implement several back-testing experiments on the main stock market indices worldwide, including CSI 300, S&P 500, Hang Seng Index, and Nikkei 225. All the experiments demonstrate that Transformer outperforms other classic methods significantly and can gain excess earnings for investors.
引用
收藏
页数:10
相关论文
共 46 条
[1]   Sentiment Analysis Using Common-Sense and Context Information [J].
Agarwal, Basant ;
Mittal, Namita ;
Bansal, Pooja ;
Garg, Sonal .
COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2015, 2015
[2]  
Alzazah F. S., 2020, RECENT ADV STOCK MAR
[3]   Has the 2008 financial crisis affected stock market efficiency? The case of Eurozone [J].
Anagnostidis, P. ;
Varsakelis, C. ;
Emmanouilides, C. J. .
PHYSICA A-STATISTICAL MECHANICS AND ITS APPLICATIONS, 2016, 447 :116-128
[4]  
Bahdanau D, 2014, ARXIV
[5]   A deep learning framework for financial time series using stacked autoencoders and long-short term memory [J].
Bao, Wei ;
Yue, Jun ;
Rao, Yulei .
PLOS ONE, 2017, 12 (07)
[6]   Computational Intelligence and Financial Markets: A Survey and Future Directions [J].
Cavalcante, Rodolfo C. ;
Brasileiro, Rodrigo C. ;
Souza, Victor L. P. ;
Nobrega, Jarley P. ;
Oliveira, Adriano L. I. .
EXPERT SYSTEMS WITH APPLICATIONS, 2016, 55 :194-211
[7]   Exploring the attention mechanism in LSTM-based Hong Kong stock price movement prediction [J].
Chen, Shun ;
Ge, Lei .
QUANTITATIVE FINANCE, 2019, 19 (09) :1507-1515
[8]  
Cheng LC, 2018, IEEE INT CONF BIG DA, P4716, DOI 10.1109/BigData.2018.8622541
[9]  
Cho K., 2014, P SSST 8 8 WORKSH SY, P103
[10]   Mean Absolute Percentage Error for regression models [J].
de Myttenaere, Arnaud ;
Golden, Boris ;
Le Grand, Benedicte ;
Rossi, Fabrice .
NEUROCOMPUTING, 2016, 192 :38-48