Abstract
This paper introduces an innovative paradigm in cryptocurrency market analysis and prediction by exploiting the potency of the gradient boosting neural network (GBNN). This pioneering machine learning model amalgamates neural networks and gradient boosting techniques to offer a robust methodology. To enhance the GBNN's predictive capabilities, we enriched its input data with a spectrum of technical indicators. Moreover, we employed the support vector regressor for feature engineering, contributing to the exclusion of insignificant variables. We coined the term "hybrid approach" to describe our pipeline, employing it to train the GBNN model using historical cryptocurrency data. A multitude of experiments were conducted to demonstrate the superior performance of our approach in terms of model accuracy and error on previously unseen data. Notably, our proposed method outperformed state-of-the-art machine learning models, showcasing its effectiveness.
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10614-024-10671-9/MediaObjects/10614_2024_10671_Fig1_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10614-024-10671-9/MediaObjects/10614_2024_10671_Fig2_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10614-024-10671-9/MediaObjects/10614_2024_10671_Fig3_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10614-024-10671-9/MediaObjects/10614_2024_10671_Fig4_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10614-024-10671-9/MediaObjects/10614_2024_10671_Fig5_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10614-024-10671-9/MediaObjects/10614_2024_10671_Fig6_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10614-024-10671-9/MediaObjects/10614_2024_10671_Fig7_HTML.png)
Similar content being viewed by others
Data Availability
The datasets generated during and/or analysed during the current study are available from the corresponding author on reasonable request. The data underpinning the conclusions of this study can be accessed through publicly available sources, namely [finance.yahoo.com/–coinmarketcap.com/]. For interested parties, the methods, data, and codes utilized in this research can be provided upon request. The data that support the findings of this study are available from the corresponding author upon request. Data citation: The data underpinning the conclusions of this study can be accessed through publicly available sources, namely [finance.yahoo.com/]. For those interested, the implementation, data, and codes used in this research are accessible to the public on GitHub. Could be found them at https://github.com/tararjc/GBNN_crypto.
Notes
The implanted code utilized in this research will be provided upon request.
statsmodels.org/.
github.com/GAA-UAM/GBNN/.
scikit-learn.org/stable/.
github.com/tararjc/GBNN_crypto.
GridSearchCV.
References
Aseeri, A. O. (2023). Effective short-term forecasts of Saudi stock price trends using technical indicators and large-scale multivariate time series. PeerJ Computer Science, 9, e1205.
Bollen, J., Mao, H., & Zeng, X. (2011). Twitter mood predicts the stock market. Journal of Computational Science, 2(1), 1–8.
Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324
Chang, C.-C., & Lin, C.-J. (2011). LIBSVM: A library for support vector machines. ACM Transactions on Intelligent Systems and Technology, 2(3), 1–27.
Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, San Francisco, CA, USA. https://doi.org/10.1145/2939672.2939785
Chen, W., Chen, B., & Cai, X. (2023). Forecasting China’s stock market risk under the background of the Stock Connect programs. Soft Computing, 66, 1–17.
Cheung, Y.-W., & Lai, K. S. (1995). Lag order and critical values of the augmented Dickey–Fuller test. Journal of Business & Economic Statistics, 13(3), 277–280. https://doi.org/10.1080/07350015.1995.10524601
Choudhry, R., & Garg, K. (2008). A hybrid machine learning system for stock market forecasting. International Journal of Computer and Information Engineering, 2(3), 689–692.
Ciolacu, M., Tehrani, A. F., Beer, R., & Popp, H. (2017). Education 4.0—Fostering student's performance with machine learning methods. In 2017 IEEE 23rd international symposium for design and technology in electronic packaging (SIITME).
Dai, Z., Zhu, H., & Kang, J. (2021). New technical indicators and stock returns predictability. International Review of Economics & Finance, 71, 127–142.
Divisekara, R. W., Jayasinghe, G., & Kumari, K. (2020). Forecasting the red lentils commodity market price using SARIMA models. SN Business & Economics, 1(1), 20.
Emami, S., & Martínez-Muñoz, G. (2023). Sequential training of neural networks with gradient boosting. IEEE Access, 11, 42738–42750. https://doi.org/10.1109/ACCESS.2023.3271515
Fattah, J., Ezzine, L., Aman, Z., El Moussami, H., & Lachhab, A. (2018). Forecasting of demand using ARIMA model. International Journal of Engineering Business Management, 10, 1847979018808673.
Friedman, J. H. (2001). Greedy function approximation: A gradient boosting machine. The Annals of Statistics, 29(5), 1189–1232.
Hafezi, R., Shahrabi, J., & Hadavandi, E. (2015). A bat-neural network multi-agent system (BNNMAS) for stock price prediction: Case study of DAX stock price. Applied Soft Computing, 29, 196–210.
Han, Y., Kim, J., & Enke, D. (2023). A machine learning trading system for the stock market based on N-period Min–Max labeling using XGBoost. Expert Systems with Applications, 211, 118581.
Hinton, G. E. (1990). 20—CONNECTIONIST LEARNING PROCEDURES11. This chapter appeared in Volume 40 of Artificial Intelligence in 1989, reprinted with permission of North-Holland Publishing. It is a revised version of Technical Report CMU-CS-87-115, which has the same title and was prepared in June 1987 while the author was at Carnegie Mellon University. The research was supported by contract N00014-86-K-00167 from the Office of Naval Research and by grant IST-8520359 from the National Science Foundation. In Y. Kodratoff & R. S. Michalski (Eds.), Machine learning (pp. 555–610). Morgan Kaufmann. https://doi.org/10.1016/B978-0-08-051055-2.50029-8
Islam, M. M., Haque, M. R., Iqbal, H., Hasan, M. M., Hasan, M., & Kabir, M. N. (2020). Breast cancer prediction: A comparative study using machine learning techniques. SN Computer Science, 1(5), 290. https://doi.org/10.1007/s42979-020-00305-w
Kemalbay, G., & Korkmazoglu, O. B. (2021). Sarima-arch versus genetic programming in stock price prediction. Sigma Journal of Engineering and Natural Sciences, 39(2), 110–122.
Kumar, M. (2020). Time series data analysis of stock price movement using machine learning techniques. Soft Computing. https://doi.org/10.1007/s00500-020-04957-x
Li, Y., Huo, J., Xu, Y., & Liang, C. (2023). Belief-based momentum indicator and stock market return predictability. Research in International Business and Finance, 64, 101825.
Liu, J., & Chen, Z. (2023). How do stock prices respond to the leading economic indicators? Analysis of large and small shocks. Finance Research Letters, 51, 103430.
Ma, Y., Mao, R., Lin, Q., Wu, P., & Cambria, E. (2023). Multi-source aggregated classification for stock price movement prediction. Information Fusion, 91, 515–528.
Maqbool, J., Aggarwal, P., Kaur, R., Mittal, A., & Ganaie, I. A. (2023). Stock prediction by integrating sentiment scores of financial news and MLP-regressor: A machine learning approach. Procedia Computer Science, 218, 1067–1078. https://doi.org/10.1016/j.procs.2023.01.086
Myint, K. N., & Khaing, M. (2023). Time series forecasting system for stock market data. In 2023 IEEE conference on computer applications (ICCA).
Nitanda, A., & Suzuki, T. (2018). Functional gradient boosting based on residual network perception. In Proceedings of the 35th international conference on machine learning, proceedings of machine learning research. https://proceedings.mlr.press/v80/nitanda18a.html
Oriani, F. B., & Coelho, G. P. (2016). Evaluating the impact of technical indicators on stock forecasting. In 2016 IEEE symposium series on computational intelligence (SSCI).
Oukhouya, H., & El Himdi, K. (2023). Comparing machine learning methods—SVR, XGBoost, LSTM, and MLP—For forecasting the Moroccan Stock Market. Computer Sciences & Mathematics Forum, 7(1), 39.
Pahwa, K., & Agarwal, N. (2019). Stock market analysis using supervised machine learning. In 2019 International conference on machine learning, big data, cloud and parallel computing (COMITCon).
Partho Protim Dey, N. N., & Mainul Hossain, B. M. (2020). Forecasting stock market trend using machine learning algorithms with technical indicators. International Journal of Information Technology and Computer Science (IJITCS), 12(3), 32–38. https://doi.org/10.5815/ijitcs.2020.03.05
Patel, J., Shah, S., Thakkar, P., & Kotecha, K. (2015). Predicting stock market index using fusion of machine learning techniques. Expert Systems with Applications, 42(4), 2162–2172. https://doi.org/10.1016/j.eswa.2014.10.031
Qiu, R., Liu, J., & Li, Y. (2023). Long-term adjusted volatility: Powerful capability in forecasting stock market returns. International Review of Financial Analysis, 66, 102530.
Rajabi, S., Roozkhosh, P., & Farimani, N. M. (2022). MLP-based learnable window size for bitcoin price prediction. Applied Soft Computing, 129, 109584. https://doi.org/10.1016/j.asoc.2022.109584
Roy, S. S., Chopra, R., Lee, K. C., Spampinato, C., & Mohammadi-ivatlood, B. (2020). Random forest, gradient boosted machines and deep neural network for stock price forecasting: A comparative analysis on South Korean companies. International Journal of Ad Hoc and Ubiquitous Computing, 33(1), 62–71.
Sakhare, N. N., Shaik, I. S., & Saha, S. (2023). Prediction of stock market movement via technical analysis of stock data stored on blockchain using novel History Bits based machine learning algorithm. IET Software, 6, 66.
Taylor, M. P., & Allen, H. (1992). The use of technical analysis in the foreign exchange market. Journal of International Money and Finance, 11(3), 304–314. https://doi.org/10.1016/0261-5606(92)90048-3
Wang, Z., Hu, Z., Li, F., Ho, S.-B., & Cambria, E. (2023). Learning-based stock trending prediction by incorporating technical indicators and social media sentiment. Cognitive Computation, 15(3), 1092–1102.
Yoo, P. D., Kim, M. H., & Jan, T. (2005). Machine learning techniques and use of event information for stock market prediction: A survey and evaluation. In International conference on computational intelligence for modelling, control and automation and international conference on intelligent agents, web technologies and internet commerce (CIMCA-IAWTIC'06).
Yoo, S. (2007). Neural network model vs. SARIMA model in forecasting Korean stock price index (KOSPI). Issues in Information Systems, 8(3), 372–378.
Funding
The authors have not disclosed any funding.
Author information
Authors and Affiliations
Contributions
All authors contributed to the study conception and design. Material preparation, data collection, and analysis were performed by Taraneh Shahin, María Teresa Ballestar de las Heras, and Ismael Sanz Labrador. The first draft of the manuscript was written by Taraneh Shahin, and all authors commented on previous versions of the manuscript. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Conflict of interest
The authors have no competing interests to declare that are relevant to the content of this article.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Shahin, T., Ballestar de las Heras, M.T. & Sanz, I. Enhancing Stock Market Prediction Using Gradient Boosting Neural Network: A Hybrid Approach. Comput Econ (2024). https://doi.org/10.1007/s10614-024-10671-9
Accepted:
Published:
DOI: https://doi.org/10.1007/s10614-024-10671-9