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. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    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. Shugang Li & Ziyi Li & Yixin Tang & Wenjing Zhao & Xiaoqi Kang & Lingling Zheng & Zhaoxu Yu, 2024. "Pioneering Technology Mining Research for New Technology Strategic Planning," Sustainability, MDPI, vol. 16(15), pages 1-26, August.
    2. 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. 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).
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. Philippe St-Aubin & Bruno Agard, 2022. "Precision and Reliability of Forecasts Performance Metrics," Forecasting, MDPI, vol. 4(4), pages 1-22, October.
    7. Erdemlioglu, Deniz & Petitjean, Mikael & Vargas, Nicolas, 2021. "Market instability and technical trading at high frequency: Evidence from NASDAQ stocks," Economic Modelling, Elsevier, vol. 102(C).
    8. Duan, Yunlong & Mu, Chang & Yang, Meng & Deng, Zhiqing & Chin, Tachia & Zhou, Li & Fang, Qifeng, 2021. "Study on early warnings of strategic risk during the process of firms’ sustainable innovation based on an optimized genetic BP neural networks model: Evidence from Chinese manufacturing firms," International Journal of Production Economics, Elsevier, vol. 242(C).
    9. Chen, Wei & Zhang, Haoyu & Jia, Lifen, 2022. "A novel two-stage method for well-diversified portfolio construction based on stock return prediction using machine learning," The North American Journal of Economics and Finance, Elsevier, vol. 63(C).
    10. dos Santos Maciel, Leandro, 2023. "Brazilian stock-market efficiency before and after COVID-19: The roles of fractality and predictability," Global Finance Journal, Elsevier, vol. 58(C).
    11. 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.
    12. Muhammad Nadim Hanif & Khurrum S. Mughal & Javed Iqbal, 2018. "A Thick ANN Model for Forecasting Inflation," SBP Working Paper Series 99, State Bank of Pakistan, Research Department.
    13. 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.
    14. Karol Pilot & Alicja Ganczarek-Gamrot & Krzysztof Kania, 2024. "Dealing with Anomalies in Day-Ahead Market Prediction Using Machine Learning Hybrid Model," Energies, MDPI, vol. 17(17), pages 1-20, September.
    15. Nghia Chu & Binh Dao & Nga Pham & Huy Nguyen & Hien Tran, 2022. "Predicting Mutual Funds' Performance using Deep Learning and Ensemble Techniques," Papers 2209.09649, arXiv.org, revised Jul 2023.
    16. Lamichhane, Sabhyata & Mei, Bin & Siry, Jacek, 2023. "Forecasting pine sawtimber stumpage prices: A comparison between a time series hybrid model and an artificial neural network," Forest Policy and Economics, Elsevier, vol. 154(C).
    17. Hakan Er & Adnan Hushmat, 2017. "The application of technical trading rules developed from spot market prices on futures market prices using CAPM," Eurasian Business Review, Springer;Eurasia Business and Economics Society, vol. 7(3), pages 313-353, December.
    18. Yang, Cheng-Hu & Wang, Hai-Tang & Ma, Xin & Talluri, Srinivas, 2023. "A data-driven newsvendor problem: A high-dimensional and mixed-frequency method," International Journal of Production Economics, Elsevier, vol. 266(C).
    19. Mohamed Khalil Benzekri & Hatice Şehime Özütler, 2021. "On the Predictability of Bitcoin Price Movements: A Short-term Price Prediction with ARIMA," Journal of Economic Policy Researches, Istanbul University, Faculty of Economics, vol. 8(2), pages 293-309, July.
    20. Jin, Xiaoye, 2021. "What do we know about the popularity of technical analysis in foreign exchange markets? A skewness preference perspective," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 71(C).

    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.