Deep Learning for Price Movement Prediction Using Convolutional Neural Network and Long Short-Term Memory

The prediction of stock price movement direction is significant in financial studies. In recent years, a number of deep learning models have gradually been applied for stock predictions. This paper presents a deep learning framework to predict price movement direction based on historical information in financial time series. The framework combines a convolutional neural network (CNN) for feature extraction and a long short-term memory (LSTM) network for prediction. We specifically use a three-dimensional CNN for data input in the framework, including the information on time series, technical indicators, and the correlation between stock indices. And in the three-dimensional input tensor, the technical indicators are converted into deterministic trend signals and the stock indices are ranked by Pearson product-moment correlation coefficient (PPMCC). When training, a fully connected network is used to drive the CNN to learn a feature vector, which acts as the input of concatenated LSTM. After both the CNN and the LSTM are trained well, they are finally used for prediction in the testing set. The experimental results demonstrate that the framework outperforms state-of-the-art models in predicting stock price movement direction.

[1]  Xuwei Li,et al.  Prediction of Index Trend based on LSTM Model for Extracting Image Similarity Feature , 2019, Proceedings of the 2019 International Conference on Artificial Intelligence and Computer Science.

[2]  Abhishek Verma,et al.  Novel Deep Learning Model with CNN and Bi-Directional LSTM for Improved Stock Market Index Prediction , 2019, 2019 IEEE 9th Annual Computing and Communication Workshop and Conference (CCWC).

[3]  Luca Di Persio,et al.  Artificial Neural Networks architectures for stock price prediction: comparisons and applications , 2016 .

[4]  Ammar Belatreche,et al.  Forecasting price movements using technical indicators: Investigating the impact of varying input window length , 2017, Neurocomputing.

[5]  M. Thenmozhi,et al.  Forecasting stock returns based on information transmission across global markets using support vector machines , 2016, Neural Computing and Applications.

[6]  Didier Sornette,et al.  Cascading logistic regression onto gradient boosted decision trees for forecasting and trading stock indices , 2019, Appl. Soft Comput..

[7]  Ritika Singh,et al.  Stock prediction using deep learning , 2016, Multimedia Tools and Applications.

[8]  Guoqiang Han,et al.  Personalized Channel Recommendation Deep Learning From a Switch Sequence , 2018, IEEE Access.

[9]  A. Murat Ozbayoglu,et al.  Algorithmic financial trading with deep convolutional neural networks: Time series to image conversion approach , 2018, Appl. Soft Comput..

[10]  Hui Xiong,et al.  Exploiting intra-day patterns for market shock prediction: A machine learning approach , 2019, Expert Syst. Appl..

[11]  Kietikul Jearanaitanakij,et al.  Predicting Short Trend of Stocks by Using Convolutional Neural Network and Candlestick Patterns , 2019, 2019 4th International Conference on Information Technology (InCIT).

[12]  Hakan Gunduz,et al.  Intraday prediction of Borsa Istanbul using convolutional neural networks and feature correlations , 2017, Knowl. Based Syst..

[13]  Yoshua Bengio,et al.  Convolutional networks for images, speech, and time series , 1998 .

[14]  G. Ruxton,et al.  Effective use of Pearson's product–moment correlation coefficient , 2014, Animal Behaviour.

[15]  Jinghan Wang,et al.  Stock price forecasting model based on modified convolution neural network and financial time series analysis , 2019, Int. J. Commun. Syst..

[16]  Wei Xu,et al.  Combining the wisdom of crowds and technical analysis for financial market prediction using deep random subspace ensembles , 2018, Neurocomputing.

[17]  Xuesong Yan,et al.  Stock price prediction based on deep neural networks , 2019, Neural Computing and Applications.

[18]  Chuanhe Shen,et al.  An Adaptive SVR for High-Frequency Stock Price Forecasting , 2018, IEEE Access.

[19]  K. P. Soman,et al.  NSE Stock Market Prediction Using Deep-Learning Models , 2018 .

[20]  Wen Long,et al.  Deep learning-based feature engineering for stock price movement prediction , 2019, Knowl. Based Syst..

[21]  Yasuhiko Morimoto,et al.  Multi-factor Based Stock Price Prediction Using Hybrid Neural Networks with Attention Mechanism , 2019, 2019 IEEE Intl Conf on Dependable, Autonomic and Secure Computing, Intl Conf on Pervasive Intelligence and Computing, Intl Conf on Cloud and Big Data Computing, Intl Conf on Cyber Science and Technology Congress (DASC/PiCom/CBDCom/CyberSciTech).

[22]  James Z. Wang,et al.  A Dual-Attention-Based Stock Price Trend Prediction Model With Dual Features , 2019, IEEE Access.

[23]  Xiao Zhong,et al.  Forecasting daily stock market return using dimensionality reduction , 2017, Expert Syst. Appl..

[24]  Saman Haratizadeh,et al.  CNNpred: CNN-based stock market prediction using a diverse set of variables , 2019, Expert Syst. Appl..

[25]  Chih-Chieh Hung,et al.  Deep Candlestick Predictor: A Framework toward Forecasting the Price Movement from Candlestick Charts , 2018, 2018 9th International Symposium on Parallel Architectures, Algorithms and Programming (PAAP).

[26]  Mehmet Özçalici,et al.  Integrating metaheuristics and Artificial Neural Networks for improved stock price prediction , 2016, Expert Syst. Appl..

[27]  Asmita A. Moghe,et al.  Stock Price Prediction on Daily Stock Data using Deep Neural Networks , 2018, 2018 International Conference on Advanced Computation and Telecommunication (ICACAT).

[28]  Svetlana Borovkova,et al.  An Ensemble of LSTM Neural Networks for High-Frequency Stock Market Classification , 2018, Journal of Forecasting.

[29]  Jian Liu,et al.  Attention-Based Event Relevance Model for Stock Price Movement Prediction , 2017, CCKS.

[30]  Zhisong Pan,et al.  Stock Market Prediction on High-Frequency Data Using Generative Adversarial Nets , 2018 .

[31]  Qiang Huang,et al.  A Multi-indicator Feature Selection for CNN-Driven Stock Index Prediction , 2018, ICONIP.

[32]  Peerapon Vateekul,et al.  Deep Learning Using Risk-Reward Function for Stock Market Prediction , 2018, CSAI '18.

[33]  Sahil Shah,et al.  Predicting stock market index using fusion of machine learning techniques , 2015, Expert Syst. Appl..

[34]  Jürgen Schmidhuber,et al.  LSTM: A Search Space Odyssey , 2015, IEEE Transactions on Neural Networks and Learning Systems.

[35]  Sahil Shah,et al.  Predicting stock and stock price index movement using Trend Deterministic Data Preparation and machine learning techniques , 2015, Expert Syst. Appl..

[36]  Zhe Lin,et al.  Modelling and forecasting the stock market volatility of SSE Composite Index using GARCH models , 2018, Future Gener. Comput. Syst..

[37]  Jae Joon Ahn,et al.  Is Deep Learning for Image Recognition Applicable to Stock Market Prediction? , 2019, Complex..

[38]  Harry Eugene Stanley,et al.  Which Artificial Intelligence Algorithm Better Predicts the Chinese Stock Market? , 2018, IEEE Access.