Improving Stock Market Forecasting with Feature Selection and Neural Network
Abstract
The stock market trend prediction is a complicated and uncertain aspect that draws attention post-2008 crisis. In the wake of this, several artificial intelligence solutions have been developed. Deep Learning offers substantial solutions for predicting chaotic stock movements. While Long Short-Term Memory (LSTM) networks are powerful tools for financial forecasting, their performance can be hindered by the inclusion of irrelevant or redundant input features, which increases computational overhead and the risk of overfitting. To address this, our study proposes and validates a hybrid backward elimination LSTM (BE-LSTM) model. We argue that this fusion of a classical statistical feature selection method with a deep learning architecture provides a more rigorous and efficient approach to price prediction. The study compares the proposed BE-LSTM against a standard LSTM model in predicting the S&P 100 Index’s closing price using 15 years of daily data from Bloomberg. For this purpose, various attributes like Date, High vs. Low price, Open vs. Close price, volume, and moving average of SMA 50, SMA 100, SMA 200 and 14-period Relative Strength Index (RSI) values were considered. After comparing the performance of the aforementioned models, it can be concluded from the current study that, the backward elimination LSTM outperforms the LSTM in predicting the S&P 100 Index price for upcoming 30 days with an accuracy of 96.5% (derived from a Mean Absolute Percentage Error of 3.51%). Lastly, the proposed model has made a significant improvement in S&P 100 index price prediction.