Forecasting turning points in stock price by applying a novel hybrid CNN-LSTM-ResNet model fed by 2D segmented images

Pouya Khodaee,Akbar Esfahanipour,Hassan Mehtari Taheri
DOI: https://doi.org/10.1016/j.engappai.2022.105464
IF: 8
2022-11-01
Engineering Applications of Artificial Intelligence
Abstract:This paper aims to forecast stock price Turning Points (TPs) with a developed hybrid Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM) model. To this end, at first, each day of the time series is classified into TPs and Ordinary Points (OPs); therefore, the investors demand to know the TPs precisely to make fewer trades and gain more profits. Secondly, a balancing approach is developed to have a balanced number of TPs and OPs. Thirdly, different technical indicators, as inputs, are converted into 2D images to consider the relationship between the indicators. Fourthly, the Fuzzy C-Means segmenting algorithm is applied to reduce the inputs’ complexity by segmenting them and aid the Neural Networks in being trained more efficiently. In the next step, a classification hybrid CNN-LSTM-ResNet model is proposed to precisely forecast TPs and OPs. Moreover, augmentation techniques, including Residual Networks (ResNet), are employed to strengthen the proposed model. Finally, the forecasted TPs and OPs are relabeled with Buying/Selling/Holding by a presented strategy to make trades. For numerical experiments, two markets of Exchange-traded funds (ETFs) and Dow-30 are used to evaluate the models and strategy’s performance. The results reveal that the proposed CNN-LSTM-ResNet model reaches a profit up to three times in the stocks of Dow-30 and profit up to four times more than the Buy and Hold strategy in the ETFs. More importantly, the proposed model outperforms other benchmarks with an average accuracy of 60.19% in Dow-30 and 63.62% in ETFs.
What problem does this paper attempt to address?