IDEAS home Printed from https://ideas.repec.org/a/aid/journl/v7y2024i4p64-91.html
   My bibliography  Save this article

Investigating the Role of Activation Functions in Predicting the Price of Cryptocurrencies during Critical Economic Periods

Author

Listed:
  • Laszlo Vancsura

    (Department of Agricultural Logistics, Trade and Marketing, Institute of Agricultural and Food Economics, Hungarian University of Agriculture and Life Sciences, Kaposvár, Hungary)

  • Tibor Tatay

    (Department of Statistics, Finances and Controlling, Szechenyi Istvan University, Gyor, Hungary)

  • Tibor Bareith

    (HUN-REN, Centre for Economic and Regional Studies, Institute of Economics, Budapest, Hungary)

Abstract

Accurate cryptocurrency price forecasting is crucial due to the significant financial implications of prediction errors. The volatile and non-linear nature of cryptocurrencies challenges traditional statistical methods, revealing a gap in effective predictive modelling. This study addresses this gap by examining the impact of activation functions on neural network models during critical economic periods, specifically aiming to determine how optimising activation functions enhances accuracy in neural network models, including RNN, GRU, LSTM, and hybrid architectures. Using data from January 2016 to June 2022—encompassing stable periods, the COVID-19 pandemic, and the onset of the 2022 Ukraine conflict—we analysed price trends under various market conditions. Our methodology involved testing three activation functions (ReLU, sigmoid, and Tanh) across these models. Both univariate and multivariate analyses were conducted, with the latter incorporating additional metrics such as opening, highest, and lowest prices. The results indicate that optimising activation functions enhances prediction accuracy. Among the models, GRU demonstrated the highest accuracy, whereas RNN was the least efficient. Multivariate models outperformed univariate ones, highlighting the benefits of incorporating comprehensive data. Notably, the Tanh activation function led to the greatest improvements, particularly in underperforming models such as RNN. These findings underscore the critical role of activation function selection in enhancing the predictive power of neural networks for cryptocurrency markets. Optimising activation functions can lead to more reliable forecasts, facilitating better trading decisions and risk management. This study highlights activation functions as key parameters in neural network modelling, encouraging further exploration. Future research could investigate different economic periods and cryptocurrency behaviours to assess model robustness. Additionally, examining a broader range of cryptocurrencies may reveal whether the benefits of activation function optimisation are consistent across various assets. Incorporating external factors such as macroeconomic indicators or social media sentiment could further enhance models and improve forecasting accuracy.

Suggested Citation

  • Laszlo Vancsura & Tibor Tatay & Tibor Bareith, 2024. "Investigating the Role of Activation Functions in Predicting the Price of Cryptocurrencies during Critical Economic Periods," Virtual Economics, The London Academy of Science and Business, vol. 7(4), pages 64-91, December.
  • Handle: RePEc:aid:journl:v:7:y:2024:i:4:p:64-91
    DOI: 10.34021/ve.2024.07.04(4)
    as

    Download full text from publisher

    File URL: https://www.virtual-economics.eu/index.php/VE/article/download/413/179
    Download Restriction: no

    File URL: https://libkey.io/10.34021/ve.2024.07.04(4)?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
    ---><---

    References listed on IDEAS

    as
    1. Lahmiri, Salim & Bekiros, Stelios, 2019. "Cryptocurrency forecasting with deep learning chaotic neural networks," Chaos, Solitons & Fractals, Elsevier, vol. 118(C), pages 35-40.
    2. Erdinc Akyildirim & Ahmet Goncu & Ahmet Sensoy, 2021. "Prediction of cryptocurrency returns using machine learning," Annals of Operations Research, Springer, vol. 297(1), pages 3-36, February.
    3. Nicola Uras & Lodovica Marchesi & Michele Marchesi & Roberto Tonelli, 2020. "Forecasting Bitcoin closing price series using linear regression and neural networks models," Papers 2001.01127, arXiv.org.
    4. Ji, Qiang & Bouri, Elie & Lau, Chi Keung Marco & Roubaud, David, 2019. "Dynamic connectedness and integration in cryptocurrency markets," International Review of Financial Analysis, Elsevier, vol. 63(C), pages 257-272.
    5. Attilio Sbrana & Paulo André Lima de Castro, 2024. "N-BEATS Perceiver: A Novel Approach for Robust Cryptocurrency Portfolio Forecasting," Computational Economics, Springer;Society for Computational Economics, vol. 64(2), pages 1047-1081, August.
    6. Fatih Konak & Mehmet Akif Bülbül & Diler Türkoǧlu, 2024. "Feature Selection and Hyperparameters Optimization Employing a Hybrid Model Based on Genetic Algorithm and Artificial Neural Network: Forecasting Dividend Payout Ratio," Computational Economics, Springer;Society for Computational Economics, vol. 63(4), pages 1673-1693, April.
    7. Sun, Xiaolei & Liu, Mingxi & Sima, Zeqian, 2020. "A novel cryptocurrency price trend forecasting model based on LightGBM," Finance Research Letters, Elsevier, vol. 32(C).
    8. Bhaskar Tripathi & Rakesh Kumar Sharma, 2023. "Modeling Bitcoin Prices using Signal Processing Methods, Bayesian Optimization, and Deep Neural Networks," Computational Economics, Springer;Society for Computational Economics, vol. 62(4), pages 1919-1945, December.
    9. 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.
    10. Helder Sebastião & Pedro Godinho, 2021. "Forecasting and trading cryptocurrencies with machine learning under changing market conditions," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-30, December.
    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. Ren, Yi-Shuai & Ma, Chao-Qun & Kong, Xiao-Lin & Baltas, Konstantinos & Zureigat, Qasim, 2022. "Past, present, and future of the application of machine learning in cryptocurrency research," Research in International Business and Finance, Elsevier, vol. 63(C).
    2. Hakan Pabuccu & Adrian Barbu, 2024. "Feature selection with annealing for forecasting financial time series," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-26, December.
    3. Bouteska, Ahmed & Abedin, Mohammad Zoynul & Hajek, Petr & Yuan, Kunpeng, 2024. "Cryptocurrency price forecasting – A comparative analysis of ensemble learning and deep learning methods," International Review of Financial Analysis, Elsevier, vol. 92(C).
    4. Bouri, Elie & Christou, Christina & Gupta, Rangan, 2022. "Forecasting returns of major cryptocurrencies: Evidence from regime-switching factor models," Finance Research Letters, Elsevier, vol. 49(C).
    5. Francesco Puoti & Fabrizio Pittorino & Manuel Roveri, 2025. "Quantifying Cryptocurrency Unpredictability: A Comprehensive Study of Complexity and Forecasting," Papers 2502.09079, arXiv.org.
    6. Rico-Peña, Juan Jesús & Arguedas-Sanz, Raquel & López-Martin, Carmen, 2023. "Models used to characterise blockchain features. A systematic literature review and bibliometric analysis," Technovation, Elsevier, vol. 123(C).
    7. Hakan Pabuccu & Adrian Barbu, 2023. "Feature Selection with Annealing for Forecasting Financial Time Series," Papers 2303.02223, arXiv.org, revised Feb 2024.
    8. Liu, Yujun & Li, Zhongfei & Nekhili, Ramzi & Sultan, Jahangir, 2023. "Forecasting cryptocurrency returns with machine learning," Research in International Business and Finance, Elsevier, vol. 64(C).
    9. Gyana Ranjan Patra & Mihir Narayan Mohanty, 2023. "Price Prediction of Cryptocurrency Using a Multi-Layer Gated Recurrent Unit Network with Multi Features," Computational Economics, Springer;Society for Computational Economics, vol. 62(4), pages 1525-1544, December.
    10. Yang Zhou & Chi Xie & Gang-Jin Wang & Jue Gong & You Zhu, 2025. "Forecasting cryptocurrency volatility: a novel framework based on the evolving multiscale graph neural network," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 11(1), pages 1-52, December.
    11. Ahmed M. Khedr & Ifra Arif & Pravija Raj P V & Magdi El‐Bannany & Saadat M. Alhashmi & Meenu Sreedharan, 2021. "Cryptocurrency price prediction using traditional statistical and machine‐learning techniques: A survey," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 28(1), pages 3-34, January.
    12. Elie Bouri & Mahdi Ghaemi Asl & Sahar Darehshiri & David Gabauer, 2024. "Asymmetric connectedness between conventional and Islamic cryptocurrencies: Evidence from good and bad volatility spillovers," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-26, December.
    13. Aurelio F. Bariviera & Ignasi Merediz‐Solà, 2021. "Where Do We Stand In Cryptocurrencies Economic Research? A Survey Based On Hybrid Analysis," Journal of Economic Surveys, Wiley Blackwell, vol. 35(2), pages 377-407, April.
    14. Yue, Yao & Li, Xuerong & Zhang, Dingxuan & Wang, Shouyang, 2021. "How cryptocurrency affects economy? A network analysis using bibliometric methods," International Review of Financial Analysis, Elsevier, vol. 77(C).
    15. Soria, Jorge & Moya, Jorge & Mohazab, Amin, 2023. "Optimal mining in proof-of-work blockchain protocols," Finance Research Letters, Elsevier, vol. 53(C).
    16. Fan Fang & Carmine Ventre & Michail Basios & Leslie Kanthan & David Martinez-Rego & Fan Wu & Lingbo Li, 2022. "Cryptocurrency trading: a comprehensive survey," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-59, December.
    17. Julien Chevallier & Dominique Guégan & Stéphane Goutte, 2021. "Is It Possible to Forecast the Price of Bitcoin?," Forecasting, MDPI, vol. 3(2), pages 1-44, May.
    18. Goodell, John W. & Ben Jabeur, Sami & Saâdaoui, Foued & Nasir, Muhammad Ali, 2023. "Explainable artificial intelligence modeling to forecast bitcoin prices," International Review of Financial Analysis, Elsevier, vol. 88(C).
    19. Parisa Foroutan & Salim Lahmiri, 2024. "Connectedness of cryptocurrency markets to crude oil and gold: an analysis of the effect of COVID-19 pandemic," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-23, December.
    20. Hajek, Petr & Hikkerova, Lubica & Sahut, Jean-Michel, 2023. "How well do investor sentiment and ensemble learning predict Bitcoin prices?," Research in International Business and Finance, Elsevier, vol. 64(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:aid:journl:v:7:y:2024:i:4:p:64-91. 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: Aleksy Kwilinski (email available below). General contact details of provider: https://edirc.repec.org/data/akwilin.html .

    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.