IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v60y2022i3d10.1007_s10614-021-10176-9.html
   My bibliography  Save this article

Swarm Intelligence Based Hybrid Neural Network Approach for Stock Price Forecasting

Author

Listed:
  • Gourav Kumar

    (Shri Mata Vaishno Devi University)

  • Uday Pratap Singh

    (Shri Mata Vaishno Devi University)

  • Sanjeev Jain

    (Indian Institute of Information Technology, Design and Manufacturing)

Abstract

In this paper, a two-stage swarm intelligence based hybrid feed-forward neural network approach is designed for optimal feature selection and joint optimization of trainable parameters of neural networks in order to forecast the close price of Nifty 50, Sensex, S&P 500, DAX and SSE Composite Index for multiple-horizon (1-day ahead, 5-days-ahead and 10-days ahead) forecasting. Although the neural network can deal with complex non-linear and uncertain data but defining its architecture in terms of number of input features in the input layer, the number of neurons in the hidden layer and optimizing the weights is a challenging problem. The back-propagation algorithm is frequently used in the neural network and has a drawback to getting stuck in local minima and overfitting the data. Motivated by this, we introduce a swarm intelligence based hybrid neural network model for automatic search of features and other hlearnable neural networks' parameters. The proposed model is a combination of discrete particle swarm optimization (DPSO), particle swarm optimization (PSO) and Levenberg–Marquardt algorithm (LM) for training the feed-forward neural networks. The DPSO attempts to search automatically the optimum number of features and the optimum number of neurons in the hidden layer of FFNN whereas PSO, simultaneously tune the weights and bias in different layers of FFNN. This paper also compares the forecasting efficiency of proposed model with another hybrid model obtained by integrating binary coded genetic algorithm and real coded genetic algorithm with FFNN. Simulation results indicate that the proposed model is effective for obtaining the optimized feature subset and network structure and also shows superior forecasting accuracy.

Suggested Citation

  • Gourav Kumar & Uday Pratap Singh & Sanjeev Jain, 2022. "Swarm Intelligence Based Hybrid Neural Network Approach for Stock Price Forecasting," Computational Economics, Springer;Society for Computational Economics, vol. 60(3), pages 991-1039, October.
  • Handle: RePEc:kap:compec:v:60:y:2022:i:3:d:10.1007_s10614-021-10176-9
    DOI: 10.1007/s10614-021-10176-9
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-021-10176-9
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10614-021-10176-9?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Kim, Sungil & Kim, Heeyoung, 2016. "A new metric of absolute percentage error for intermittent demand forecasts," International Journal of Forecasting, Elsevier, vol. 32(3), pages 669-679.
    2. Jingtao Yao & Chew Lim Tan & Hean-Lee Poh, 1999. "Neural Networks For Technical Analysis: A Study On Klci," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 2(02), pages 221-241.
    3. Lin, Chiun-Sin & Chiu, Sheng-Hsiung & Lin, Tzu-Yu, 2012. "Empirical mode decomposition–based least squares support vector regression for foreign exchange rate forecasting," Economic Modelling, Elsevier, vol. 29(6), pages 2583-2590.
    4. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    5. Menkhoff, Lukas, 1997. "Examining the Use of Technical Currency Analysis," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 2(4), pages 307-318, October.
    6. Wang, Ju-Jie & Wang, Jian-Zhou & Zhang, Zhe-George & Guo, Shu-Po, 2012. "Stock index forecasting based on a hybrid model," Omega, Elsevier, vol. 40(6), pages 758-766.
    7. Hyndman, Rob J. & Koehler, Anne B., 2006. "Another look at measures of forecast accuracy," International Journal of Forecasting, Elsevier, vol. 22(4), pages 679-688.
    8. Song, Yu & Akagi, Fumio, 2016. "Application of artificial neural network for the prediction of stock market returns: The case of the Japanese stock marketAuthor-Name: Qiu, Mingyue," Chaos, Solitons & Fractals, Elsevier, vol. 85(C), pages 1-7.
    9. Ayodele Ariyo Adebiyi & Aderemi Oluyinka Adewumi & Charles Korede Ayo, 2014. "Comparison of ARIMA and Artificial Neural Networks Models for Stock Price Prediction," Journal of Applied Mathematics, Hindawi, vol. 2014, pages 1-7, March.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Na Fu & Liyan Geng & Junhai Ma & Xue Ding, 2023. "Price, Complexity, and Mathematical Model," Mathematics, MDPI, vol. 11(13), pages 1-30, June.

    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. Dhanya Jothimani & Ravi Shankar & Surendra S. Yadav, 2016. "Discrete Wavelet Transform-Based Prediction of Stock Index: A Study on National Stock Exchange Fifty Index," Papers 1605.07278, arXiv.org.
    2. Vasile Brătian & Ana-Maria Acu & Camelia Oprean-Stan & Emil Dinga & Gabriela-Mariana Ionescu, 2021. "Efficient or Fractal Market Hypothesis? A Stock Indexes Modelling Using Geometric Brownian Motion and Geometric Fractional Brownian Motion," Mathematics, MDPI, vol. 9(22), pages 1-20, November.
    3. Jose Manuel Barrera & Alejandro Reina & Alejandro Maté & Juan Carlos Trujillo, 2020. "Solar Energy Prediction Model Based on Artificial Neural Networks and Open Data," Sustainability, MDPI, vol. 12(17), pages 1-20, August.
    4. Ehsan Hoseinzade & Saman Haratizadeh & Arash Khoeini, 2019. "U-CNNpred: A Universal CNN-based Predictor for Stock Markets," Papers 1911.12540, arXiv.org.
    5. Lukas Menkhoff & Mark P. Taylor, 2007. "The Obstinate Passion of Foreign Exchange Professionals: Technical Analysis," Journal of Economic Literature, American Economic Association, vol. 45(4), pages 936-972, December.
    6. Christopher E.S. WARBURTON & Jared PEMBERTON, 2023. "Volatile Financial Conditions, Asset Prices, and Investment Decisions: Analysis of daily data of DJIA and S&P500, from January to April of 2022," Applied Econometrics and International Development, Euro-American Association of Economic Development, vol. 23(1), pages 101-124.
    7. Kizilaslan, Recep & Freund, Steven & Iseri, Ali, 2016. "A data analytic approach to forecasting daily stock returns in an emerging marketAuthor-Name: Oztekin, Asil," European Journal of Operational Research, Elsevier, vol. 253(3), pages 697-710.
    8. Gaetano Perone, 2022. "Comparison of ARIMA, ETS, NNAR, TBATS and hybrid models to forecast the second wave of COVID-19 hospitalizations in Italy," The European Journal of Health Economics, Springer;Deutsche Gesellschaft für Gesundheitsökonomie (DGGÖ), vol. 23(6), pages 917-940, August.
    9. Axelsson, Birger & Song, Han-Suck, 2023. "Univariate Forecasting for REITs with Deep Learning: A Comparative Analysis with an ARIMA Model," Working Paper Series 23/10, Royal Institute of Technology, Department of Real Estate and Construction Management & Banking and Finance, revised 14 Nov 2023.
    10. Vásquez Sáenz, Javier & Quiroga, Facundo Manuel & Bariviera, Aurelio F., 2023. "Data vs. information: Using clustering techniques to enhance stock returns forecasting," International Review of Financial Analysis, Elsevier, vol. 88(C).
    11. Erdinc Akyildirim & Aurelio F. Bariviera & Duc Khuong Nguyen & Ahmet Sensoy, 2022. "Forecasting high-frequency stock returns: a comparison of alternative methods," Annals of Operations Research, Springer, vol. 313(2), pages 639-690, June.
    12. Heba M. Ezzat, 2019. "Disposition effect and multi-asset market dynamics," Review of Behavioral Finance, Emerald Group Publishing Limited, vol. 11(2), pages 144-164, June.
    13. Jennifer L. Castle & Jurgen A. Doornik & David F. Hendry, 2021. "Forecasting Principles from Experience with Forecasting Competitions," Forecasting, MDPI, vol. 3(1), pages 1-28, February.
    14. Montero-Sousa, Juan Aurelio & Aláiz-Moretón, Héctor & Quintián, Héctor & González-Ayuso, Tomás & Novais, Paulo & Calvo-Rolle, José Luis, 2020. "Hydrogen consumption prediction of a fuel cell based system with a hybrid intelligent approach," Energy, Elsevier, vol. 205(C).
    15. Marcos Álvarez-Díaz & Shawkat Hammoudeh & Rangan Gupta, 2013. "Detecting Predictable Non-linear Dynamics in Dow Jones Industrial Average and Dow Jones Islamic Market Indices using Nonparametric Regressions," Working Papers 201385, University of Pretoria, Department of Economics.
    16. Das, Prashant & Füss, Roland & Hanle, Benjamin & Russ, Isabel Nina, 2020. "The cross-over effect of irrational sentiments in housing, commercial property, and stock markets," Journal of Banking & Finance, Elsevier, vol. 114(C).
    17. Roscoe, Philip & Howorth, Carole, 2009. "Identification through technical analysis: A study of charting and UK non-professional investors," Accounting, Organizations and Society, Elsevier, vol. 34(2), pages 206-221, February.
    18. Ioannis Badounas & Georgios Pitselis, 2020. "Loss Reserving Estimation With Correlated Run-Off Triangles in a Quantile Longitudinal Model," Risks, MDPI, vol. 8(1), pages 1-26, February.
    19. Rounaghi, Mohammad Mahdi & Nassir Zadeh, Farzaneh, 2016. "Investigation of market efficiency and Financial Stability between S&P 500 and London Stock Exchange: Monthly and yearly Forecasting of Time Series Stock Returns using ARMA model," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 456(C), pages 10-21.
    20. Colin Singleton & Peter Grindrod, 2021. "Forecasting for Battery Storage: Choosing the Error Metric," Energies, MDPI, vol. 14(19), pages 1-11, October.

    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:kap:compec:v:60:y:2022:i:3:d:10.1007_s10614-021-10176-9. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.