IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v66y2025i4d10.1007_s10614-024-10809-9.html

Forecasting Cryptocurrency Prices Using Support Vector Regression Enhanced by Particle Swarm Optimization

Author

Listed:
  • Navid Parvini

    (University of Kent)

  • Davood Ahmadian

    (University of Tabriz)

  • Luca Vincenzo Ballestra

    (Alma Mater Studiorum University of Bologna)

Abstract

In the present study, a machine learning model based on support vector regression (SVR) is proposed for forecasting the closing price of the three most capitalized cryptocurrencies, i.e., Bitcoin, Ethereum, and Ripple. The optimal hyperparameters are obtained by applying the particle swarm optimization (PSO) algorithm, and four historical price characteristics are used as predictors, namely the opening, the highest, and the lowest prices, and the cryptocurrency trading volume. Based on a sample of daily cryptocurrency prices spanning from August 8, 2015 to May 10, 2019, the proposed PSO-SVR approach is tested and compared with a class of neural network algorithms such as the multi-layer perceptron, the long short-term memory and the bi-directional long short-term memory, all of which are optimized by PSO. The results obtained indicate that the novel PSO-SVR model significantly outperforms all the neural network rivals in forecasting.

Suggested Citation

  • Navid Parvini & Davood Ahmadian & Luca Vincenzo Ballestra, 2025. "Forecasting Cryptocurrency Prices Using Support Vector Regression Enhanced by Particle Swarm Optimization," Computational Economics, Springer;Society for Computational Economics, vol. 66(4), pages 3167-3196, October.
  • Handle: RePEc:kap:compec:v:66:y:2025:i:4:d:10.1007_s10614-024-10809-9
    DOI: 10.1007/s10614-024-10809-9
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-024-10809-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-024-10809-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

    for a different version of it.

    References listed on IDEAS

    as
    1. Urquhart, Andrew & Zhang, Hanxiong, 2019. "Is Bitcoin a hedge or safe haven for currencies? An intraday analysis," International Review of Financial Analysis, Elsevier, vol. 63(C), pages 49-57.
    2. Kolassa, Stephan, 2016. "Evaluating predictive count data distributions in retail sales forecasting," International Journal of Forecasting, Elsevier, vol. 32(3), pages 788-803.
    3. Fry, John & Cheah, Eng-Tuck, 2016. "Negative bubbles and shocks in cryptocurrency markets," International Review of Financial Analysis, Elsevier, vol. 47(C), pages 343-352.
    4. 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.
    5. Baur, Dirk G. & Dimpfl, Thomas & Kuck, Konstantin, 2018. "Bitcoin, gold and the US dollar – A replication and extension," Finance Research Letters, Elsevier, vol. 25(C), pages 103-110.
    6. Sermpinis, Georgios & Stasinakis, Charalampos & Theofilatos, Konstantinos & Karathanasopoulos, Andreas, 2015. "Modeling, forecasting and trading the EUR exchange rates with hybrid rolling genetic algorithms—Support vector regression forecast combinations," European Journal of Operational Research, Elsevier, vol. 247(3), pages 831-846.
    7. Granger, Clive W. J. & Terasvirta, Timo, 1993. "Modelling Non-Linear Economic Relationships," OUP Catalogue, Oxford University Press, number 9780198773207.
    8. Wilko Bolt & Maarten R.C. Van Oordt, 2020. "On the Value of Virtual Currencies," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 52(4), pages 835-862, June.
    9. Antonakakis, Nikolaos & Chatziantoniou, Ioannis & Gabauer, David, 2019. "Cryptocurrency market contagion: Market uncertainty, market complexity, and dynamic portfolios," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 61(C), pages 37-51.
    10. Atsalakis, George S. & Atsalaki, Ioanna G. & Pasiouras, Fotios & Zopounidis, Constantin, 2019. "Bitcoin price forecasting with neuro-fuzzy techniques," European Journal of Operational Research, Elsevier, vol. 276(2), pages 770-780.
    11. Lahmiri, Salim & Bekiros, Stelios, 2019. "Cryptocurrency forecasting with deep learning chaotic neural networks," Chaos, Solitons & Fractals, Elsevier, vol. 118(C), pages 35-40.
    12. Wilko Bolt & Maarten R.C. Van Oordt, 2020. "On the Value of Virtual Currencies," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 52(4), pages 835-862, June.
    13. Dyhrberg, Anne Haubo, 2016. "Hedging capabilities of bitcoin. Is it the virtual gold?," Finance Research Letters, Elsevier, vol. 16(C), pages 139-144.
    14. Davydenko, Andrey & Fildes, Robert, 2013. "Measuring forecasting accuracy: The case of judgmental adjustments to SKU-level demand forecasts," International Journal of Forecasting, Elsevier, vol. 29(3), pages 510-522.
    15. 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.
    16. Pal, Debdatta & Mitra, Subrata K., 2019. "Hedging bitcoin with other financial assets," Finance Research Letters, Elsevier, vol. 30(C), pages 30-36.
    17. Catania, Leopoldo & Grassi, Stefano & Ravazzolo, Francesco, 2019. "Forecasting cryptocurrencies under model and parameter instability," International Journal of Forecasting, Elsevier, vol. 35(2), pages 485-501.
    18. Armstrong, J. Scott & Collopy, Fred, 1992. "Error measures for generalizing about forecasting methods: Empirical comparisons," International Journal of Forecasting, Elsevier, vol. 8(1), pages 69-80, June.
    19. Urquhart, Andrew, 2017. "Price clustering in Bitcoin," Economics Letters, Elsevier, vol. 159(C), pages 145-148.
    20. Kurbucz, Marcell Tamás, 2019. "Predicting the price of Bitcoin by the most frequent edges of its transaction network," Economics Letters, Elsevier, vol. 184(C).
    21. Zhang, Jin-Liang & Zhang, Yue-Jun & Zhang, Lu, 2015. "A novel hybrid method for crude oil price forecasting," Energy Economics, Elsevier, vol. 49(C), pages 649-659.
    22. Corbet, Shaen & Lucey, Brian & Peat, Maurice & Vigne, Samuel, 2018. "Bitcoin Futures—What use are they?," Economics Letters, Elsevier, vol. 172(C), pages 23-27.
    23. Trucíos, Carlos, 2019. "Forecasting Bitcoin risk measures: A robust approach," International Journal of Forecasting, Elsevier, vol. 35(3), pages 836-847.
    24. Brandvold, Morten & Molnár, Peter & Vagstad, Kristian & Andreas Valstad, Ole Christian, 2015. "Price discovery on Bitcoin exchanges," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 36(C), pages 18-35.
    25. Sermpinis, Georgios & Theofilatos, Konstantinos & Karathanasopoulos, Andreas & Georgopoulos, Efstratios F. & Dunis, Christian, 2013. "Forecasting foreign exchange rates with adaptive neural networks using radial-basis functions and Particle Swarm Optimization," European Journal of Operational Research, Elsevier, vol. 225(3), pages 528-540.
    26. Sasan Barak & Navid Parvini, 2023. "Transfer‐entropy‐based dynamic feature selection for evaluating Bitcoin price drivers," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 43(12), pages 1695-1726, December.
    27. Baur, Dirk G. & Hong, KiHoon & Lee, Adrian D., 2018. "Bitcoin: Medium of exchange or speculative assets?," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 54(C), pages 177-189.
    28. Dwyer, Gerald P., 2015. "The economics of Bitcoin and similar private digital currencies," Journal of Financial Stability, Elsevier, vol. 17(C), pages 81-91.
    29. Goodwin, Paul & Lawton, Richard, 1999. "On the asymmetry of the symmetric MAPE," International Journal of Forecasting, Elsevier, vol. 15(4), pages 405-408, October.
    30. Franses, Philip Hans, 2016. "A note on the Mean Absolute Scaled Error," International Journal of Forecasting, Elsevier, vol. 32(1), pages 20-22.
    31. Makridakis, Spyros, 1993. "Accuracy measures: theoretical and practical concerns," International Journal of Forecasting, Elsevier, vol. 9(4), pages 527-529, December.
    32. Cheah, Eng-Tuck & Fry, John, 2015. "Speculative bubbles in Bitcoin markets? An empirical investigation into the fundamental value of Bitcoin," Economics Letters, Elsevier, vol. 130(C), pages 32-36.
    33. Easley, David & O'Hara, Maureen & Basu, Soumya, 2019. "From mining to markets: The evolution of bitcoin transaction fees," Journal of Financial Economics, Elsevier, vol. 134(1), pages 91-109.
    34. Corbet, Shaen & Meegan, Andrew & Larkin, Charles & Lucey, Brian & Yarovaya, Larisa, 2018. "Exploring the dynamic relationships between cryptocurrencies and other financial assets," Economics Letters, Elsevier, vol. 165(C), pages 28-34.
    35. Katsiampa, Paraskevi & Corbet, Shaen & Lucey, Brian, 2019. "High frequency volatility co-movements in cryptocurrency markets," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 62(C), pages 35-52.
    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. Cynthia Weiyi Cai & Rui Xue & Bi Zhou, 2023. "Cryptocurrency puzzles: a comprehensive review and re-introduction," Journal of Accounting Literature, Emerald Group Publishing Limited, vol. 46(1), pages 26-50, June.
    2. Helder Miguel Correia Virtuoso Sebastião & Paulo José Osório Rupino Da Cunha & Pedro Manuel Cortesão Godinho, 2021. "Cryptocurrencies and blockchain. Overview and future perspectives," International Journal of Economics and Business Research, Inderscience Enterprises Ltd, vol. 21(3), pages 305-342.
    3. Flori, Andrea, 2019. "News and subjective beliefs: A Bayesian approach to Bitcoin investments," Research in International Business and Finance, Elsevier, vol. 50(C), pages 336-356.
    4. Corbet, Shaen & Lucey, Brian & Urquhart, Andrew & Yarovaya, Larisa, 2019. "Cryptocurrencies as a financial asset: A systematic analysis," International Review of Financial Analysis, Elsevier, vol. 62(C), pages 182-199.
    5. 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.
    6. Eross, Andrea & McGroarty, Frank & Urquhart, Andrew & Wolfe, Simon, 2019. "The intraday dynamics of bitcoin," Research in International Business and Finance, Elsevier, vol. 49(C), pages 71-81.
    7. 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).
    8. Shimeng Shi & Yukun Shi, 2021. "Bitcoin futures: trade it or ban it?," The European Journal of Finance, Taylor & Francis Journals, vol. 27(4-5), pages 381-396, March.
    9. Makridakis, Spyros & Spiliotis, Evangelos & Assimakopoulos, Vassilios, 2020. "The M4 Competition: 100,000 time series and 61 forecasting methods," International Journal of Forecasting, Elsevier, vol. 36(1), pages 54-74.
    10. Chen, Muying & Zhang, Xinyu & Wei, Yunjie & Wang, Shouyang, 2025. "What determines Bitcoin's price over the past decade?," International Review of Financial Analysis, Elsevier, vol. 103(C).
    11. Robert Hudson & Andrew Urquhart, 2021. "Technical trading and cryptocurrencies," Annals of Operations Research, Springer, vol. 297(1), pages 191-220, February.
    12. Parthajit Kayal & Purnima Rohilla, 2021. "Bitcoin in the economics and finance literature: a survey," SN Business & Economics, Springer, vol. 1(7), pages 1-21, July.
    13. Manahov, Viktor & Urquhart, Andrew, 2021. "The efficiency of Bitcoin: A strongly typed genetic programming approach to smart electronic Bitcoin markets," International Review of Financial Analysis, Elsevier, vol. 73(C).
    14. Andrea Flori, 2019. "Cryptocurrencies In Finance: Review And Applications," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 22(05), pages 1-22, August.
    15. Osman, Myriam Ben & Galariotis, Emilios & Guesmi, Khaled & Hamdi, Haykel & Naoui, Kamel, 2023. "Diversification in financial and crypto markets," International Review of Financial Analysis, Elsevier, vol. 89(C).
    16. Urquhart, Andrew & Zhang, Hanxiong, 2019. "Is Bitcoin a hedge or safe haven for currencies? An intraday analysis," International Review of Financial Analysis, Elsevier, vol. 63(C), pages 49-57.
    17. Hu, Yang & Hou, Yang (Greg) & Oxley, Les & Corbet, Shaen, 2021. "Does blockchain patent-development influence Bitcoin risk?," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 70(C).
    18. Asil Azimli, 2024. "Time-varying spillovers in high-order moments among cryptocurrencies," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-39, December.
    19. Antonakakis, Nikolaos & Chatziantoniou, Ioannis & Gabauer, David, 2019. "Cryptocurrency market contagion: Market uncertainty, market complexity, and dynamic portfolios," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 61(C), pages 37-51.
    20. Fang, Tong & Su, Zhi & Yin, Libo, 2020. "Economic fundamentals or investor perceptions? The role of uncertainty in predicting long-term cryptocurrency volatility," International Review of Financial Analysis, Elsevier, vol. 71(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    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:kap:compec:v:66:y:2025:i:4:d:10.1007_s10614-024-10809-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.