JOURNAL ARTICLE

Stock price prediction using Generative Adversarial Networks

Hung-Chun LinChen ChenGaofeng HuangAmir Homayoun Jafari‬

Year: 2021 Journal:   Journal of Computer Science Vol: 17 (3)Pages: 188-196   Publisher: Science Publications

Abstract

<p>Deep learning is an exciting topic. It has been utilized in many areas owing to its strong potential. For example, it has been widely used in the financial area which is vital to the society, such as high-frequency trading, portfolio optimization, fraud detection and risk management. Stock market prediction is one of the most popular and valuable areas in finance. In this paper, it proposes a stock prediction model using Generative Adversarial Network (GAN) with Gated Recurrent Units (GRU) used as a generator that inputs historical stock price and generates future stock price and Convolutional Neural Network (CNN) as a discriminator to discriminate between the real stock price and generated stock price. Different from the traditional methods, which limited the forecasting on one-step-ahead only, by contrast, using the deep learning algorithm is possible to conduct the multi-step ahead prediction more accurately. In this study, it chose the Apple Inc. stock closing price as the target price, with features such as S&amp;P 500 index, NASDAQ Composite index, U.S. Dollar index, etc. In addition, FinBert has been utilized to generate a news sentiment index for Apple Inc. as an additional predicting feature. Finally, this paper compares the proposed GAN model results with the baseline model.</p>

Keywords:
Computer science Discriminator Composite index Stock (firearms) Portfolio Stock market index Stock market Deep learning Artificial intelligence Econometrics Machine learning Stock exchange Finance Economics

Metrics

47
Cited By
6.82
FWCI (Field Weighted Citation Impact)
6
Refs
0.97
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Stock Market Forecasting Methods
Social Sciences →  Decision Sciences →  Management Science and Operations Research
Energy Load and Power Forecasting
Physical Sciences →  Engineering →  Electrical and Electronic Engineering
Forecasting Techniques and Applications
Social Sciences →  Decision Sciences →  Management Science and Operations Research
© 2026 ScienceGate Book Chapters — All rights reserved.