IDEAS home Printed from https://ideas.repec.org/a/aop/jijoes/v13y2024i2p87-103.html
   My bibliography  Save this article

Stock market prediction using Generative Adversarial Network (GAN) – Study case Germany stock market

Author

Listed:
  • Michal Mec

    (Prague University of Economics and Business, Prague)

  • Mikulas Zeman

    (Prague University of Economics and Business, Prague)

  • Klara Cermakova

    (Prague University of Economics and Business, Prague)

Abstract

Using neural networks in economics time series data is a new unexplored field. Lot of companies and economics research use mostly logistic regression or statistical approach when they try to predict the movement of stock market. Neural networks became a frequent tool for prediction in recent years and this approach has been confirmed to provide more reliable and better solutions when it comes to prediction and accuracy power. Within a wider context of current debate on neural networks employment in stock market predictions, we suggest an innovative methodology based on the combination of neural networks. In our analysis we use Wasserstein Generative Adversarial Network (WGAN) on Germany stock market as an example. We present how the trading strategy could be established on the prediction of the model and how it can be compared with other models in terms of returns. Overall, the WGAN monthly prediction outperformed Random Forest by 36%, benchmark by 32% and LSTM by 26% in the testing period. Our results also suggest that the WGAN model has on average higher returns than pure investment into index. Furthermore, WGAN is less volatile, which is always the preferred option for investors. Using neural networks for stock index prediction and confirming that WGAN investment strategy brings higher returns compared to generally used models is our main contribution to the current debate.

Suggested Citation

  • Michal Mec & Mikulas Zeman & Klara Cermakova, 2024. "Stock market prediction using Generative Adversarial Network (GAN) – Study case Germany stock market," International Journal of Economic Sciences, European Research Center, vol. 13(2), pages 87-103, December.
  • Handle: RePEc:aop:jijoes:v:13:y:2024:i:2:p:87-103
    as

    Download full text from publisher

    File URL: https://eurrec.org/RePec/aop/jijoes/0091ES.rdf117126
    Download Restriction: no

    File URL: https://eurrec.org/RePec/aop/jijoes/0091ES.rdf117126?download=5
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Sima Siami-Namini & Akbar Siami Namin, 2018. "Forecasting Economics and Financial Time Series: ARIMA vs. LSTM," Papers 1803.06386, arXiv.org.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Masum, Mohammad & Masud, M.A. & Adnan, Muhaiminul Islam & Shahriar, Hossain & Kim, Sangil, 2022. "Comparative study of a mathematical epidemic model, statistical modeling, and deep learning for COVID-19 forecasting and management," Socio-Economic Planning Sciences, Elsevier, vol. 80(C).
    2. Sima Siami‐Namini & Darren Hudson & Adao Alexandre Trindade & Conrad Lyford, 2019. "Commodity price volatility and U.S. monetary policy: Commodity price overshooting revisited," Agribusiness, John Wiley & Sons, Ltd., vol. 35(2), pages 200-218, April.
    3. Aniruddha Dutta & Saket Kumar & Meheli Basu, 2020. "A Gated Recurrent Unit Approach to Bitcoin Price Prediction," JRFM, MDPI, vol. 13(2), pages 1-16, February.
    4. Sadefo Kamdem, Jules & Bandolo Essomba, Rose & Njong Berinyuy, James, 2020. "Deep learning models for forecasting and analyzing the implications of COVID-19 spread on some commodities markets volatilities," Chaos, Solitons & Fractals, Elsevier, vol. 140(C).
    5. Sima Siami-Namini & Daniel Muhammad & Fahad Fahimullah, 2018. "The Short and Long Run Effects of Selected Variables on Tax Revenue - A Case Study," Applied Economics and Finance, Redfame publishing, vol. 5(5), pages 23-32, September.
    6. Jireh Yi-Le Chan & Steven Mun Hong Leow & Khean Thye Bea & Wai Khuen Cheng & Seuk Wai Phoong & Zeng-Wei Hong & Jim-Min Lin & Yen-Lin Chen, 2022. "A Correlation-Embedded Attention Module to Mitigate Multicollinearity: An Algorithmic Trading Application," Mathematics, MDPI, vol. 10(8), pages 1-13, April.
    7. Ayush Jain & Smit Marvaniya & Shantanu Godbole & Vitobha Munigala, 2020. "A Framework for Crop Price Forecasting in Emerging Economies by Analyzing the Quality of Time-series Data," Papers 2009.04171, arXiv.org.
    8. Hyeongjun Kim & Hoon Cho & Doojin Ryu, 2022. "Corporate Bankruptcy Prediction Using Machine Learning Methodologies with a Focus on Sequential Data," Computational Economics, Springer;Society for Computational Economics, vol. 59(3), pages 1231-1249, March.
    9. Wang, Yijun & Andreeva, Galina & Martin-Barragan, Belen, 2023. "Machine learning approaches to forecasting cryptocurrency volatility: Considering internal and external determinants," International Review of Financial Analysis, Elsevier, vol. 90(C).
    10. Montserrat Reyna Miranda & Ricardo Massa Roldán & Vicente Gómez Salcido, 2022. "Neuro-wavelet Model for price prediction in high-frequency data in the Mexican Stock market," Remef - Revista Mexicana de Economía y Finanzas Nueva Época REMEF (The Mexican Journal of Economics and Finance), Instituto Mexicano de Ejecutivos de Finanzas, IMEF, vol. 17(1), pages 1-23, Enero - M.
    11. de Lucio, Juan, 2021. "Estimación adelantada del crecimiento regional mediante redes neuronales LSTM," INVESTIGACIONES REGIONALES - Journal of REGIONAL RESEARCH, Asociación Española de Ciencia Regional, issue 49, pages 45-64.
    12. Anjara Lalaina Jocelyn Rakotoarisoa, 2024. "Modélisations Univariées de l’Inflation Mensuelle à Madagascar : l’Atout du Modèle LSTM, un Réseau de Neurones Récurrents," Post-Print hal-04766563, HAL.
    13. Xiangzhou Chen & Zhi Long, 2023. "E-Commerce Enterprises Financial Risk Prediction Based on FA-PSO-LSTM Neural Network Deep Learning Model," Sustainability, MDPI, vol. 15(7), pages 1-17, March.
    14. Guoteng Xu & Shuai Peng & Chengjiang Li & Xia Chen, 2023. "Synergistic Evolution of China’s Green Economy and Digital Economy Based on LSTM-GM and Grey Absolute Correlation," Sustainability, MDPI, vol. 15(19), pages 1-29, September.
    15. Himanshu Gupta & Aditya Jaiswal, 2024. "A Study on Stock Forecasting Using Deep Learning and Statistical Models," Papers 2402.06689, arXiv.org.
    16. Li Long, Chan & Guleria, Yash & Alam, Sameer, 2021. "Air passenger forecasting using Neural Granger causal Google trend queries," Journal of Air Transport Management, Elsevier, vol. 95(C).
    17. Pushpendu Ghosh & Ariel Neufeld & Jajati Keshari Sahoo, 2020. "Forecasting directional movements of stock prices for intraday trading using LSTM and random forests," Papers 2004.10178, arXiv.org, revised Jun 2021.
    18. Filip Stefaniuk & Robert Ślepaczuk, 2024. "Informer in Algorithmic Investment Strategies on High Frequency Bitcoin Data," Working Papers 2024-27, Faculty of Economic Sciences, University of Warsaw.
    19. Mourad Mroua & Ahlem Lamine, 2023. "Financial time series prediction under Covid-19 pandemic crisis with Long Short-Term Memory (LSTM) network," Palgrave Communications, Palgrave Macmillan, vol. 10(1), pages 1-15, December.
    20. Kevin Villalobos & Johan Suykens & Arantza Illarramendi, 2021. "A flexible alarm prediction system for smart manufacturing scenarios following a forecaster–analyzer approach," Journal of Intelligent Manufacturing, Springer, vol. 32(5), pages 1323-1344, June.

    More about this item

    Keywords

    Generative adversial network; Germany stock market; neural network; stock prediction;
    All these keywords.

    JEL classification:

    • G11 - Financial Economics - - General Financial Markets - - - Portfolio Choice; Investment Decisions
    • G17 - Financial Economics - - General Financial Markets - - - Financial Forecasting and Simulation
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:aop:jijoes:v:13:y:2024:i:2:p:87-103. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Jiri Rotschedl (email available below). General contact details of provider: https://ijoes.eurrec.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.