Stock market prediction using deep learning algorithms

Abstract The Stock Market is one of the most active research areas, and predicting its nature is an epic necessity nowadays. Predicting the Stock Market is quite challenging, and it requires intensive study of the pattern of data. Specific statistical models and artificially intelligent algorithms are needed to meet this challenge and arrive at an appropriate solution. Various machine learning and deep learning algorithms can make a firm prediction with minimised error possibilities. The Artificial Neural Network (ANN) or Deep Feed-forward Neural Network and the Convolutional Neural Network (CNN) are the two network models that have been used extensively to predict the stock market prices. The models have been used to predict upcoming days' data values from the last few days' data values. This process keeps on repeating recursively as long as the dataset is valid. An endeavour has been taken to optimise this prediction using deep learning, and it has given substantial results. The ANN model achieved an accuracy of 97.66%, whereas the CNN model achieved an accuracy of 98.92%. The CNN model used 2-D histograms generated out of the quantised dataset within a particular time frame, and prediction is made on that data. This approach has not been implemented earlier for the analysis of such datasets. As a case study, the model has been tested on the recent COVID-19 pandemic, which caused a sudden downfall of the stock market. The results obtained from this study was decent enough as it produced an accuracy of 91%.