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 条
[1]  
Abraham Cerene Mariam, 2019, Emerging Technologies in Data Mining and Information Security. Proceedings of IEMIS 2018. Advances in Intelligent Systems and Computing (AISC 813), P615, DOI 10.1007/978-981-13-1498-8_54
[2]  
Afeef M., 2018, Int. J. Bus. Manag., V13, P130
[3]  
[Anonymous], 2021, HONDA MOTOR CO HMC S
[4]   Deep learning [J].
LeCun, Yann ;
Bengio, Yoshua ;
Hinton, Geoffrey .
NATURE, 2015, 521 (7553) :436-444
[5]  
[Anonymous], 2021, INTUIT INC INTU STOC
[6]  
[Anonymous], 2021, ORACLE CORPORATION O
[7]  
Baker S.R., 2019, POLICY NEWS AND STOC
[8]   Forecasting Financial Time Series through Causal and Dilated Convolutional Neural Networks [J].
Borjesson, Lukas ;
Singull, Martin .
ENTROPY, 2020, 22 (10) :1-20
[9]  
Cakra YE, 2015, INT C ADV COMP SCI I, P147, DOI 10.1109/ICACSIS.2015.7415179
[10]  
Chaudhari Kinjal, 2020, Intelligent Communication, Control and Devices. Proceedings of ICICCD 2018. Advances in Intelligent Systems and Computing (AISC 989), P819, DOI 10.1007/978-981-13-8618-3_84