Development of recurrent neural networks for price forecasting at cryptocurrency exchanges

Authors

DOI:

https://doi.org/10.15587/1729-4061.2023.287094

Keywords:

machine learning, cryptocurrency exchanges, neural networks, deep learning, price prediction

Abstract

The study focuses on improving the quality of using recurrent neural networks (RNNs) to predict cryptocurrency prices. The formula of the target variable for the model based on the arithmetic mean is developed, which allows us to better take into account the dynamics of cryptocurrency exchanges. The factors affecting this variable were grouped into features based on the volume of daily cryptocurrency trading, the volatility of the relevant prices, and the pre-calculated and selected signals of technical indicators. As part of the study, an algorithm for processing daily data was developed for the model. The results obtained made it possible to create a holistic model for forecasting stock prices. Two recurrent neural networks were trained: one with a long short-term memory (LSTM) and the other with a recurrent gate unit (GRU). To determine the efficiency of the models, the analysis was carried out using two key indicators: the Sortino coefficient, which measures the relative risk/reward for each additional unit of unwanted volatility, and the Sharpe ratio, which measures the return on assets, subtracting the free risk. As a result, it was found that both models have similar results in terms of accuracy (~69 %). Still, the GRU-based model showed significantly better values of the Sortino coefficients (3.13) and Sharpe’s coefficient (2.45), which allows us to conclude that it is effective on cryptocurrency exchanges. At the same time, the LSTM model requires more parameters for training than the GRU model with an identical structure, which leads to a longer training time. The obtained scientific and practical results are aimed at more efficient use of recurrent neural networks in price forecasting on cryptocurrency exchanges

Author Biographies

Victoria Tyshchenko, Simon Kuznets Kharkiv National University of Economics

Doctor of Economic Sciences, Professor

Department of Customs and Financial Services

Svitlana Achkasova, Simon Kuznets Kharkiv National University of Economics

PhD, Assosiate Professor

Department of Customs and Financial Services

Oleksii Naidenko, Simon Kuznets Kharkiv National University of Economics

PhD, Assosiate Professor

Department of Customs and Financial Services

Serhii Kanyhin, Simon Kuznets Kharkiv National University of Economics

Postgraduate Student

Department of Customs and Financial Services

Vlada Karpova, Simon Kuznets Kharkiv National University of Economics

PhD

Department of Customs and Financial Services

References

  1. About Crypto wallets. Available at: https://www.liga.net/crypto/ua/wallets
  2. Cryptocurrencies statistics. Available at: https://coinmarketcap.com
  3. High Data Growth and Modern Applications Drive New Storage Requirements in Digitally Transformed Enterprises. Available at: https://www.delltechnologies.com/asset/en-us/products/storage/industry-market/h19267-wp-idc-storage-reqs-digital-enterprise.pdf
  4. Chen, C., Zhao, L., Bian, J., Xing, C., Liu, T.-Y. (2019). Investment Behaviors Can Tell What Inside. Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining. doi: https://doi.org/10.1145/3292500.3330663
  5. Marques, N. C., Gomes, C. (2010). Maximus-AI: Using Elman Neural Networks for Implementing a SLMR Trading Strategy. Lecture Notes in Computer Science, 579–584. doi: https://doi.org/10.1007/978-3-642-15280-1_55
  6. Lee, R. S. T. (2020). Chaotic Type-2 Transient-Fuzzy Deep Neuro-Oscillatory Network (CT2TFDNN) for Worldwide Financial Prediction. IEEE Transactions on Fuzzy Systems, 28 (4), 731–745. doi: https://doi.org/10.1109/tfuzz.2019.2914642
  7. Tran, D. T., Iosifidis, A., Kanniainen, J., Gabbouj, M. (2019). Temporal Attention-Augmented Bilinear Network for Financial Time-Series Data Analysis. IEEE Transactions on Neural Networks and Learning Systems, 30 (5), 1407–1418. doi: https://doi.org/10.1109/tnnls.2018.2869225
  8. Bao, W., Yue, J., Rao, Y. (2017). A deep learning framework for financial time series using stacked autoencoders and long-short term memory. PLOS ONE, 12 (7), e0180944. doi: https://doi.org/10.1371/journal.pone.0180944
  9. Achkasova, S. (2020). Implementation the fuzzy modeling technology by means of fuzzyTECH into the process of management the riskiness of business entities activity. Eastern-European Journal of Enterprise Technologies, 5 (3 (107)), 39–54. doi: https://doi.org/10.15587/1729-4061.2020.209836
  10. Gers, F. A., Schmidhuber, J., Cummins, F. (2000). Learning to Forget: Continual Prediction with LSTM. Neural Computation, 12 (10), 2451–2471. doi: https://doi.org/10.1162/089976600300015015
  11. Binance API. Available at: https://www.binance.com/en/binance-api
  12. Development of recurrent neural networks for price forecasting at cryptocurrency exchanges. doi: https://doi.org/10.5281/zenodo.8193302
  13. Resta, M., Pagnottoni, P., De Giuli, M. E. (2020). Technical Analysis on the Bitcoin Market: Trading Opportunities or Investors’ Pitfall? Risks, 8 (2), 44. doi: https://doi.org/10.3390/risks8020044
  14. Deng, Y., Bao, F., Kong, Y., Ren, Z., Dai, Q. (2017). Deep Direct Reinforcement Learning for Financial Signal Representation and Trading. IEEE Transactions on Neural Networks and Learning Systems, 28 (3), 653–664. doi: https://doi.org/10.1109/tnnls.2016.2522401
  15. Wang, J., Wang, J., Fang, W., Niu, H. (2016). Financial Time Series Prediction Using Elman Recurrent Random Neural Networks. Computational Intelligence and Neuroscience, 2016, 1–14. doi: https://doi.org/10.1155/2016/4742515
  16. Sharpe, W. F. (1966). Mutual Fund Performance. The Journal of Business, 39 (S1), 119. doi: https://doi.org/10.1086/294846
  17. Sortino, F. A., Price, L. N. (1994). Performance Measurement in a Downside Risk Framework. The Journal of Investing, 3 (3), 59–64. doi: https://doi.org/10.3905/joi.3.3.59
  18. Lloyd, S. (1982). Least squares quantization in PCM. IEEE Transactions on Information Theory, 28 (2), 129–137. doi: https://doi.org/10.1109/tit.1982.1056489
  19. Li, Z., Yang, D., Zhao, L., Bian, J., Qin, T., Liu, T.-Y. (2019). Individualized Indicator for All. Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining. doi: https://doi.org/10.1145/3292500.3330833
  20. Neely, C. J., Rapach, D. E., Tu, J., Zhou, G. (2014). Forecasting the Equity Risk Premium: The Role of Technical Indicators. Management Science, 60 (7), 1772–1791. doi: https://doi.org/10.1287/mnsc.2013.1838
Development of recurrent neural networks for price forecasting at cryptocurrency exchanges

Downloads

Published

2023-10-31

How to Cite

Tyshchenko, V., Achkasova, S., Naidenko, O., Kanyhin, S., & Karpova, V. (2023). Development of recurrent neural networks for price forecasting at cryptocurrency exchanges. Eastern-European Journal of Enterprise Technologies, 5(4 (125), 43–54. https://doi.org/10.15587/1729-4061.2023.287094

Issue

Section

Mathematics and Cybernetics - applied aspects