Abstract

Cryptocurrencies are digital assets that have attracted a lot of investment and attention. It is challenging and essential for investors and traders to predict their stock price movements. Making accurate predictions about cryptocurrency prices is crucial for avoiding losses and gaining profits. Our research proposes a novel method for predicting the stock closed prices of three popular cryptocurrencies: Bitcoin, Ethereum and Polkadot. The SVR (Support vector regression) machine learning method can provide robust and accurate predictions for nonlinear and nonstationary data. This paper compares SVR radial basis functions (RBFs) and hybrid kernels based on cryptocurrency data characteristics. SVR parameters such as regularization, gamma, and epsilon can also be tuned using grid search. Our approach is tested on real-world cryptocurrency stock prices collected from Yahoo Finance. Prediction performance is measured using regression metrics like MAPE (Mean absolute percentage error) and R2 score. In our work, a MAPE value of 0.07772 and an R2 score of 0.9999 have been obtained. The results of our experiments indicate that our approach is significantly more accurate and reliable than existing methods.

Keywords

Cryptocurrency, Stock Prediction, SVR, RBF, Hybrid Kernels, Grid Search, regression metrics,

Downloads

Download data is not yet available.

References

  1. K. Murray, A. Rossi, D. Carraro, A. Visentin, On Forecasting Cryptocurrency Prices: A Comparison of Machine Learning, Deep Learning, and Ensembles. Forecasting, 5(1), (2023) 196-209. https://doi.org/10.3390/forecast5010010
  2. H. Sebastiao, P. Godinho, Forecasting and trading cryptocurrencies with machine learning under changing market conditions. Financial Innovation, 7(3), (2021). https://doi.org/10.1186/s40854-020-00217-x
  3. A.M. Khedr, I. Arif, M. El‐Bannany, S.M Alhashmi, M. Sreedharan, Cryptocurrency price prediction using traditional statistical and machine‐learning techniques: A survey. Intelligent Systems in Accounting, Finance and Management, 28(1), (2021) 3-34. https://doi.org/10.1002/isaf.1488
  4. Z. Chen, C. Li, W. Sun, Bitcoin price prediction using machine learning: An approach to sample dimension engineering. Journal of Computational and Applied Mathematics, 365, (2020) 112395.https://doi.org/10.1016/j.cam.2019.112395.
  5. D. Zhao, A. Rinaldo, C. Brookins, Cryptocurrency price prediction and trading strategies using support vector machines. arXiv: Trading and Market Microstructure, (2019). https://doi.org/10.48550/arXiv.1911.11819
  6. M. Poongodi, A. Sharma, V. Vijayakumar, V. Bhardwaj, A. Parkash Sharma, R. Iqbal, R. Kumar, Prediction of the price of Ethereum blockchain cryptocurrency in an industrial finance system. Computers & Electrical Engineering, 81, (2020) 106527.https://doi.org/10.1016/j.compeleceng.2019.106527
  7. Y.E.A. Seputra, Analysis of Cryptocurrency Using a Genetic Algorithm (GA). Proceedings, 83(1), (2022) 51.https://doi.org/10.3390/proceedings2022083051
  8. J. Thomason, E. Ivwurie, Digital Assets and the Tokenization of Everything, Advancements in the New World of Web 3: A Look Toward the Decentralized Future. IGI Global, Chapter 6, (2023). https://doi.org/10.4018/978-1-6684-6658-2.ch006
  9. F. Fang, C. Ventre, M. Basios, L. Kanthan, D. Martinez-Rego, F. Wu, L. Li, Cryptocurrency trading: a comprehensive survey. Financial Innovation 8(1), (2022) 13. https://doi.org/10.1186/s40854-021-00321-6
  10. A. Sbrana, P.A. Lima de Castro, N-BEATS Perceiver: A Novel Approach for Robust Cryptocurrency Portfolio Forecasting. Computational Economics, (2023). https://doi.org/10.1007/s10614-023-10470-8
  11. S. Sulistiana, M.A. Muslim, Support Vector Machine (SVM) Optimization Using Grid Search and Unigram to Improve E-Commerce Review Accuracy. Journal of Soft Computing Exploration, 1(1), (2020) 8-15.https://doi.org/10.52465/joscex.v1i1.3
  12. F. Tang, Y. Wu, Y. Zhou, Hybridizing Grid Search and Support Vector Regression to Predict the Compressive Strength of Fly Ash Concrete. Advances in Civil Engineering, 2022(1), (2022) 3601914. https://doi.org/10.1155/2022/3601914
  13. Y. Wu, Y. Zhou, Splitting tensile strength prediction of sustainable high-performance concrete using machine learning techniques. Environmental Science and Pollution, 29, (2022) 89198–89209. https://doi.org/10.1007/s11356-022-22048-2
  14. S.R. Thumu, G. Nellore, Optimized Ensemble Support Vector Regression Models for Predicting Stock Prices with Multiple Kernels, Acta Informatica Pragensia, 13(1), (2024). https://doi.org/10.18267/j.aip.226
  15. P. Xu, Q. Cao, Y. Shen, M. Chen, Y. Ding, H. Cheng, Predicting the Motion of a USV Using Support Vector Regression with Mixed Kernel Function. Journal of Marine Science and Engineering, 10(12), (2022) 1899. https://doi.org/10.3390/jmse10121899
  16. D. Haryadi, A. Rahman, D. Marini, U. Atmaja, S. Nurgaida, Implementation of Support Vector Regression for Polkadot Cryptocurrency Price Prediction. International Journal of Informatics Visualization (JOIV), 6, (2022) 201–207. https://dx.doi.org/10.30630/joiv.6.1-2.945
  17. S.A. Alahmari, Predicting the Price of Cryptocurrency Using Support Vector Regression Methods. Journal of Mechanics of Continua and Mathematical Sciences, 15(4), (2020) 313-322. http://dx.doi.org/10.26782/jmcms.2020.04.00023
  18. R. Barcenas, R. Fuentes-Garcia, L. Naranjo, Mixed kernel SVR addressing Parkinson’s progression from voice features, PLoS ONE, 17(10), (2022) e0275721. https://doi.org/10.1371/journal.pone.0275721
  19. A. Aljadani, DLCP2F: a DL-based cryptocurrency price prediction framework, Discover Artificial Intelligence, 2(20), (2022). https://doi.org/10.1007/s44163-022-00036-2
  20. L.N. Mintarya, J.N. Halim, C. Angie, S. Achmad, A. Kurniawan, Machine learning approaches in stock market prediction: a systematic literature review. Procedia Computer Science, 216, (2023) 96-102. https://doi.org/10.1016/j.procs.2022.12.115
  21. A.A. Oyedele, A.O. Ajayi, L.O. Oyedele, S.A. Bello, K.O. Jimoh, Performance evaluation of deep learning and boosted trees for cryptocurrency closing price prediction. Expert Systems with Applications, 213(1c), (2023) 119233.https://doi.org/10.1016/j.eswa.2022.119233
  22. E. Mahdi, V. Leiva, S. Mara Beh, C. Martin-Barreiro, A New Approach to Predicting Cryptocurrency Returns Based on the Gold Prices with Support Vector Machines during the COVID-19 Pandemic Using Sensor-Related Data. Sensors, 21(18), (2021) 6319. https://doi.org/10.3390/s21186319
  23. K. Ucak, G.O. Gunel, Adaptive stable backstepping controller based on support vector regression for nonlinear systems. Engineering Applications of Artificial Intelligence, 129, (2024)107533.https://doi.org/10.1016/j.engappai.2023.107533.
  24. A. Goel, S.K. Srivastava, (2016) Role of Kernel Parameters in Performance Evaluation of SVM. Second International Conference on Computational Intelligence & Communication Technology (CICT), IEEE, Ghaziabad, India. https://doi.org/10.1109/CICT.2016.40
  25. O. Bonita, L. Muflikhah, (2018) Comparison of Gaussian and ANOVA Kernel in Support Vector Regression for Predicting Coal Price, 2018 International Conference on Sustainable Information Engineering and Technology (SIET), Malang, Indonesia. https://doi.org/10.1109/SIET.2018.8693153
  26. A. Mukherjee, S. Sarkar, M. Chakraborty, S. Duttagupta, A. Bhattacharya, D. Saha, P. Bhattacharya, A. Mitra, S. Gupta, Occurrence, predictors, and hazards of elevated groundwater arsenic across India through field observations and regional-scale AI-based modelling. The Science of the total environment, 759, (2021) 143511. https://doi.org/10.1016/j.scitotenv.2020.143511
  27. Y. Jiang, H. Li, Y. Zhou, Compressive Strength Prediction of Fly Ash Concrete Using Machine Learning Techniques. Buildings, 12(5), (2022) 690. https://doi.org/10.3390/buildings12050690
  28. I Fadil, M.Y. Helmiawan, Y. Sofiyan, Optimization Parameters Support Vector Regression using Grid Search Method, 9th International Conference on Cyber and IT Service Management (CITSM), IEEE, Bengkulu, Indonesia.https://doi.org/10.1109/CITSM52892.2021.9589028
  29. T.T. Ngoc, C.M.T. Le Van Dai, C.M. Thuyen, Support vector regression based on grid search method of hyperparameters for load forecasting, Acta Polytechnica Hungarica, 18(2), (2021) 143-158.
  30. The Bitcoin (BTC) dataset openly available in Yahoo finance at https://finance.yahoo.com/quote/BTC-USD/history?p=BTC-USD
  31. The Ethereum (ETH) dataset openly available in Yahoo finance at https://finance.yahoo.com/quote/ETH-USD/history?p=ETH-USD
  32. The Polkadot (DOT) dataset openly available in Yahoo finance at https://finance.yahoo.com/quote/DOT-USD/history?p=DOT-USD
  33. A.J. Smola, B. Scholkopf, A tutorial on support vector regression. Statistics and Computing, 14, (2004) 199–222. https://doi.org/10.1023/B:STCO.0000035301.49549.88