A CNN-LSTM-Based Model to Forecast Stock Prices
Authors:
Top Cited Papers
Open Access
- 23 November 2020
- journal article
- research article
- Published by Wiley in Complexity
- Vol. 2020, 1-10
Abstract
Stock price data have the characteristics of time series. At the same time, based on machine learning long short-term memory (LSTM) which has the advantages of analyzing relationships among time series data through its memory function, we propose a forecasting method of stock price based on CNN-LSTM. In the meanwhile, we use MLP, CNN, RNN, LSTM, CNN-RNN, and other forecasting models to predict the stock price one by one. Moreover, the forecasting results of these models are analyzed and compared. The data utilized in this research concern the daily stock prices from July 1, 1991, to August 31, 2020, including 7127 trading days. In terms of historical data, we choose eight features, including opening price, highest price, lowest price, closing price, volume, turnover, ups and downs, and change. Firstly, we adopt CNN to efficiently extract features from the data, which are the items of the previous 10 days. And then, we adopt LSTM to predict the stock price with the extracted feature data. According to the experimental results, the CNN-LSTM can provide a reliable stock price forecasting with the highest prediction accuracy. This forecasting method not only provides a new research idea for stock price forecasting but also provides practical experience for scholars to study financial time series data.Keywords
Funding Information
- Soft Science Project of Hebei Province (205576142D, SD201010)
- Humanities and Social Science Research Project of Hebei Education Department (205576142D, SD201010)
This publication has 22 references indexed in Scilit:
- Multi-output bus travel time prediction with convolutional LSTM neural networkExpert Systems with Applications, 2019
- A New Approach to Calculating Electrical Energy Losses on Power Lines with a New Improved Three-Mode MethodTehnicki vjesnik - Technical Gazette, 2019
- Forecasting the volatility of stock price index: A hybrid model integrating LSTM with multiple GARCH-type modelsExpert Systems with Applications, 2018
- Prediction of stock prices based on LM-BP neural network and the estimation of overfitting point by RDCINeural Computing and Applications, 2017
- A combination of artificial neural network and random walk models for financial time series forecastingNeural Computing and Applications, 2013
- Predicting Stock Returns with Bayesian Vector Autoregressive Models2008
- Optimal partition algorithm of the RBF neural network and its application to financial time series forecastingNeural Computing and Applications, 2004
- Time series forecasting using a hybrid ARIMA and neural network modelNeurocomputing, 2003
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998
- Forecasting UK stock pricesApplied Financial Economics, 1996