Predicting stock market prices is a critical yet challenging task in finance. Technical analysis, a widely used methodology in investment theory, involves forecasting price movements by analyzing historical market data. Recently, deep learning has gained prominence for its exceptional ability to process complex data, making it a popular tool for financial applications such as stock prediction, portfolio optimization, financial information analysis, and trade execution strategies. In this study, we propose a novel deep learning architecture that integrates a Generative Adversarial Network (GAN) with a Convolutional Neural Network (CNN) as the discriminator and Gated Recurrent Units (GRU) as the generator. This framework generates distributions of daily stock prices through adversarial learning to predict stock closing prices. Using daily trading data from Ruchi Soya Industries Limited, an empirical analysis was performed across a broad time frame. Results show that the proposed GAN-based architecture significantly outperforms traditional deep learning models, including GRU, LSTM, and Bi-LSTM, in predicting stock closing prices. These findings demonstrate the potential of this novel approach for improving stock price forecasting accuracy.
Read full abstract