Using Deep Learning Neural Networks and Candlestick Chart Representation to Predict Stock Market

Stock market prediction is still a challenging problem because there are many factors effect to the stock market price such as company news and performance, industry performance, investor sentiment, social media sentiment and economic factors. This work explores the predictability in the stock market using Deep Convolutional Network and candlestick charts. The outcome is utilized to design a decision support framework that can be used by traders to provide suggested indications of future stock price direction. We perform this work using various types of neural networks like convolutional neural network, residual network and visual geometry group network. From stock market historical data, we converted it to candlestick charts. Finally, these candlestick charts will be feed as input for training a Convolutional Neural Network model. This Convolutional Neural Network model will help us to analyze the patterns inside the candlestick chart and predict the future movements of stock market. The effectiveness of our method is evaluated in stock market prediction with a promising results 92.2% and 92.1% accuracy for Taiwan and Indonesian stock market dataset respectively. The constructed model have been implemented as a web-based system freely available at http://140.138.155.216/deepcandle/ for predicting stock market using candlestick chart and deep learning neural networks.

[1]  Johan Bollen,et al.  Twitter mood predicts the stock market , 2010, J. Comput. Sci..

[2]  Edilson Ferneda,et al.  On the Effectiveness of Candlestick Chart Analysis for the Brazilian Stock Market , 2013, KES.

[3]  Jian Sun,et al.  Deep Residual Learning for Image Recognition , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[4]  CHIH-FONG TSAI,et al.  Stock Prediction by Searching for Similarities in Candlestick Charts , 2014, ACM Trans. Manag. Inf. Syst..

[5]  Jonas Gloeckner,et al.  Candlestick Charting Explained Timeless Techniques For Trading Stocks And Futures , 2016 .

[6]  E. Fama EFFICIENT CAPITAL MARKETS: A REVIEW OF THEORY AND EMPIRICAL WORK* , 1970 .

[7]  John D. Hunter,et al.  Matplotlib: A 2D Graphics Environment , 2007, Computing in Science & Engineering.

[8]  Sander M. Bohte,et al.  Dilated Convolutional Neural Networks for Time Series Forecasting , 2018 .

[9]  Philip S. Yu,et al.  Improving stock market prediction via heterogeneous information fusion , 2017, Knowl. Based Syst..

[10]  Yung-Ming Shiu,et al.  Profitable candlestick trading strategies—The evidence from a new perspective , 2012 .

[11]  Eberhard Schöneburg,et al.  Stock price prediction using neural networks : A project report , 2003 .

[12]  Andrew Zisserman,et al.  Very Deep Convolutional Networks for Large-Scale Image Recognition , 2014, ICLR.

[13]  Gaël Varoquaux,et al.  Scikit-learn: Machine Learning in Python , 2011, J. Mach. Learn. Res..

[14]  Snehanshu Saha,et al.  Predicting the direction of stock market prices using random forest , 2016, ArXiv.

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

[16]  Jianguo Liu,et al.  Deep Stock Representation Learning: From Candlestick Charts to Investment Decisions , 2017, 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP).

[17]  Gregory L. Morris,et al.  Candlestick Charting Explained: Timeless Techniques for Trading Stocks and Futures , 1995 .