Comparative Analysis of Recurrent Neural Networks in Stock Price Prediction for Different Frequency Domains

被引:11
作者
Dey, Polash [1 ]
Hossain, Emam [1 ]
Hossain, Md. Ishtiaque [2 ]
Chowdhury, Mohammed Armanuzzaman [2 ]
Alam, Md. Shariful [3 ]
Hossain, Mohammad Shahadat [2 ]
Andersson, Karl [4 ]
机构
[1] Port City Int Univ, Dept Comp Sci & Engn, Chittagong 4209, Bangladesh
[2] Univ Chittagong, Dept Comp Sci & Engn, Chittagong 4331, Bangladesh
[3] Chattogram Cantonment Publ Coll, Dept Informat & Commun Technol, Chittagong 4311, Bangladesh
[4] Lulea Univ Technol, Pervas & Mobile Comp Lab, S-93187 Skelleftea, Sweden
关键词
stock price prediction; stock price forecasting; stock price movement; time series analysis; recurrent neural networks; DEEP; RECOGNITION; MARKET;
D O I
10.3390/a14080251
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Investors in the stock market have always been in search of novel and unique techniques so that they can successfully predict stock price movement and make a big profit. However, investors continue to look for improved and new techniques to beat the market instead of old and traditional ones. Therefore, researchers are continuously working to build novel techniques to supply the demand of investors. Different types of recurrent neural networks (RNN) are used in time series analyses, especially in stock price prediction. However, since not all stocks' prices follow the same trend, a single model cannot be used to predict the movement of all types of stock's price. Therefore, in this research we conducted a comparative analysis of three commonly used RNNs-simple RNN, Long Short Term Memory (LSTM), and Gated Recurrent Unit (GRU)-and analyzed their efficiency for stocks having different stock trends and various price ranges and for different time frequencies. We considered three companies' datasets from 30 June 2000 to 21 July 2020. The stocks follow different trends of price movements, with price ranges of $30, $50, and $290 during this period. We also analyzed the performance for one-day, three-day, and five-day time intervals. We compared the performance of RNN, LSTM, and GRU in terms of R-2 value, MAE, MAPE, and RMSE metrics. The results show that simple RNN is outperformed by LSTM and GRU because RNN is susceptible to vanishing gradient problems, while the other two models are not. Moreover, GRU produces lesser errors comparing to LSTM. It is also evident from the results that as the time intervals get smaller, the models produce lower errors and higher reliability.
引用
收藏
页数:20
相关论文
共 42 条
[31]   KBC: Multiple Key Generation using Key Block Chaining [J].
Prajapati, Payal ;
Chaudhari, Kinjal .
INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND DATA SCIENCE, 2020, 167 :1960-1969
[32]   Deep LSTM-Based Transfer Learning Approach for Coherent Forecasts in Hierarchical Time Series [J].
Sagheer, Alaa ;
Hamdoun, Hala ;
Youness, Hassan .
SENSORS, 2021, 21 (13)
[33]  
Saiful Islam M., FOREIGN EXCHANGE CUR
[34]   The impact of information security events to the stock market: A systematic literature review [J].
Spanos, Georgios ;
Angelis, Lefteris .
COMPUTERS & SECURITY, 2016, 58 :216-229
[35]  
Statista, 2021, LARG STOCK EXCH OP
[36]   Deep Learning Face Representation from Predicting 10,000 Classes [J].
Sun, Yi ;
Wang, Xiaogang ;
Tang, Xiaoou .
2014 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2014, :1891-1898
[37]  
Swamidass PM., 2000, Encyclopedia of Production and Manufacturing Management, P462, DOI [DOI 10.1007/1-4020-0612-8_580, 10.1007/1-4020-0612-8_580, DOI 10.1007/1-4020-0612-8580]
[38]   A Comprehensive Survey on Portfolio Optimization, Stock Price and Trend Prediction Using Particle Swarm Optimization [J].
Thakkar, Ankit ;
Chaudhari, Kinjal .
ARCHIVES OF COMPUTATIONAL METHODS IN ENGINEERING, 2021, 28 (04) :2133-2164
[39]   A Volatility Estimator of Stock Market Indices Based on the Intrinsic Entropy Model [J].
Vinte, Claudiu ;
Ausloos, Marcel ;
Furtuna, Titus-Felix .
ENTROPY, 2021, 23 (04)
[40]   A Hybrid Method Based on Extreme Learning Machine and Wavelet Transform Denoising for Stock Prediction [J].
Wu, Dingming ;
Wang, Xiaolong ;
Wu, Shaocong .
ENTROPY, 2021, 23 (04)