Skip to main content
Top

2019 | OriginalPaper | Chapter

A Deep Reinforcement Learning Approach for Automated Cryptocurrency Trading

Authors : Giorgio Lucarelli, Matteo Borrotti

Published in: Artificial Intelligence Applications and Innovations

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Nowadays, Artificial Intelligence (AI) is changing our daily life in many application fields. Automatic trading has inspired a large number of field experts and scientists in developing innovative techniques and deploying cutting-edge technologies to trade different markets. In this context, cryptocurrency has given new interest in the application of AI techniques for predicting the future price of a financial asset. In this work Deep Reinforcement Learning is applied to trade bitcoin. More precisely, Double and Dueling Double Deep Q-learning Networks are compared over a period of almost four years. Two reward functions are also tested: Sharpe ratio and profit reward functions. The Double Deep Q-learning trading system based on Sharpe ratio reward function demonstrated to be the most profitable approach for trading bitcoin.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Alessandretti, L., ElBahrawy, A., Aiello, L.M., Baronchetti, A.: Anticipating cryptocurrency prices using machine learning. Complexity 2018, 1–16 (2018)CrossRef Alessandretti, L., ElBahrawy, A., Aiello, L.M., Baronchetti, A.: Anticipating cryptocurrency prices using machine learning. Complexity 2018, 1–16 (2018)CrossRef
2.
go back to reference Almahdi, S., Yang, S.Y.: An adaptive portfolio trading system: a risk-return portfolio optimization using recurrent reinforcement learning with expected maximum drawdown. Expert Syst. Appl. 87, 267–279 (2017)CrossRef Almahdi, S., Yang, S.Y.: An adaptive portfolio trading system: a risk-return portfolio optimization using recurrent reinforcement learning with expected maximum drawdown. Expert Syst. Appl. 87, 267–279 (2017)CrossRef
3.
go back to reference Bach, W.G., Kasper, L.N.: On Machine Learning Based Cryptocurrency Trading. Aalborg University, Denmark (2018) Bach, W.G., Kasper, L.N.: On Machine Learning Based Cryptocurrency Trading. Aalborg University, Denmark (2018)
4.
go back to reference Bellman, R.E., Dreyfus, S.E.: Applied dynamic programming. RAND Corporation, Santa Monica (1962)CrossRef Bellman, R.E., Dreyfus, S.E.: Applied dynamic programming. RAND Corporation, Santa Monica (1962)CrossRef
5.
go back to reference Bu, S.-J., Cho, S.-B.: Learning optimal Q-function using deep Boltzmann machine for reliable trading of cryptocurrency. In: Proceedings of the 19th International Conference on Intelligent Data Engineering and Automated Learning (IDEAL 2018), Madrid, SP, pp. 468–480 (2018) Bu, S.-J., Cho, S.-B.: Learning optimal Q-function using deep Boltzmann machine for reliable trading of cryptocurrency. In: Proceedings of the 19th International Conference on Intelligent Data Engineering and Automated Learning (IDEAL 2018), Madrid, SP, pp. 468–480 (2018)
6.
go back to reference Buduma, N.: Fundamentals of deep learning: designing next-generation artificial intelligence algorithms. O’Reilly Media, Sebastopol (2017) Buduma, N.: Fundamentals of deep learning: designing next-generation artificial intelligence algorithms. O’Reilly Media, Sebastopol (2017)
7.
go back to reference Cheeda, S.R., Singh, A.K., Singh, P.S., Bhole, A.S.: Automated trading of cryptocurrency using twitter sentimental analysis. Int. J. Comput. Sci. Eng. 6, 209–214 (2018) Cheeda, S.R., Singh, A.K., Singh, P.S., Bhole, A.S.: Automated trading of cryptocurrency using twitter sentimental analysis. Int. J. Comput. Sci. Eng. 6, 209–214 (2018)
8.
go back to reference Du, M., Li, F., Zheng, G., Srikumar, V.: DeepLog: anomaly detection and diagnosis from system logs through deep learning. In: Proceeding of the Conference on Computer and Communications Security (CCS 2017), Dallas, TX, pp. 1285–1298 (2017) Du, M., Li, F., Zheng, G., Srikumar, V.: DeepLog: anomaly detection and diagnosis from system logs through deep learning. In: Proceeding of the Conference on Computer and Communications Security (CCS 2017), Dallas, TX, pp. 1285–1298 (2017)
9.
go back to reference François-Lavet, V., Henderson, P., Islam, R., Bellemare, M.G., Pineau, J.: An introduction to deep reinforcement learning. Found. Trends Mach. Learn. 11, 219–354 (2018)CrossRef François-Lavet, V., Henderson, P., Islam, R., Bellemare, M.G., Pineau, J.: An introduction to deep reinforcement learning. Found. Trends Mach. Learn. 11, 219–354 (2018)CrossRef
10.
go back to reference Jiang, Z., Liang, J.: Cryptocurrency portfolio management with deep reinforcement learning. In: Proceedings of the Intelligent Systems Conference (IntelliSys 2017), pp. 905–913 (2017) Jiang, Z., Liang, J.: Cryptocurrency portfolio management with deep reinforcement learning. In: Proceedings of the Intelligent Systems Conference (IntelliSys 2017), pp. 905–913 (2017)
11.
go back to reference Kingma D.P., Ba, J.: Adam: a method for stochastic optimization. In: Proceedings of the 3rd International Conference of Learning Representations (ICLR 2015), San Diego, CA, pp. 1–15 (2015) Kingma D.P., Ba, J.: Adam: a method for stochastic optimization. In: Proceedings of the 3rd International Conference of Learning Representations (ICLR 2015), San Diego, CA, pp. 1–15 (2015)
12.
go back to reference Li, Y.: Deep reinforcement learning. arXiv, pp. 1–150 (2018) Li, Y.: Deep reinforcement learning. arXiv, pp. 1–150 (2018)
13.
go back to reference Lin, L.-J.: Programming robots using reinforcement learning and teaching. In: Proceedings of the Ninth National Conference on Artificial Intelligence (AAAI 1991), pp. 781–786. AAAI Press, Anaheim (1991) Lin, L.-J.: Programming robots using reinforcement learning and teaching. In: Proceedings of the Ninth National Conference on Artificial Intelligence (AAAI 1991), pp. 781–786. AAAI Press, Anaheim (1991)
14.
go back to reference Maas, A.L., Hannun, A.Y., Ng, A.Y.: Rectifier nonlinearities improve neural network acoustic models. In: Proceedings of the 30th International Conference on Machine Learning, Atlanta, GA, pp. 1–6 (2013) Maas, A.L., Hannun, A.Y., Ng, A.Y.: Rectifier nonlinearities improve neural network acoustic models. In: Proceedings of the 30th International Conference on Machine Learning, Atlanta, GA, pp. 1–6 (2013)
15.
go back to reference McNally, S., Roche, J., Caton, S.: Predicting the price of Bitcoin using machine learning. In: Proceedings of the 26th Euromicro International Conference on Parallel, Distributed and Network-based Processing (PDP 2018), pp. 339–343. IEEE, Cambridge (2018) McNally, S., Roche, J., Caton, S.: Predicting the price of Bitcoin using machine learning. In: Proceedings of the 26th Euromicro International Conference on Parallel, Distributed and Network-based Processing (PDP 2018), pp. 339–343. IEEE, Cambridge (2018)
16.
go back to reference Mnih, V., et al.: Playing Atari with deep reinforcement learning. arXiv, pp. 1–9 (2013) Mnih, V., et al.: Playing Atari with deep reinforcement learning. arXiv, pp. 1–9 (2013)
17.
go back to reference Moody, J., Saffell, M.: Learning to trade via direct reinforcement. IEEE Trans. Neural Netw. 12, 875–889 (2001)CrossRef Moody, J., Saffell, M.: Learning to trade via direct reinforcement. IEEE Trans. Neural Netw. 12, 875–889 (2001)CrossRef
18.
go back to reference Mousavi, S.S., Schukat, M., Howley, E.: Deep reinforcement learning: an overview. arXiv, pp. 1–17 (2018) Mousavi, S.S., Schukat, M., Howley, E.: Deep reinforcement learning: an overview. arXiv, pp. 1–17 (2018)
19.
go back to reference Patel, Y.: Optimizing market making using multi-agent reinforcement learning. arXiv, pp. 1–10 (2018) Patel, Y.: Optimizing market making using multi-agent reinforcement learning. arXiv, pp. 1–10 (2018)
20.
21.
go back to reference Sutton, R.S., Barto, A.G.: An Introduction to Reinforcement Learning. MIT Press, Cambridge (2015)MATH Sutton, R.S., Barto, A.G.: An Introduction to Reinforcement Learning. MIT Press, Cambridge (2015)MATH
22.
go back to reference Wang, Z., Schaul, T., Hessel, M., van Hasselt, H., Lanctot, M., de Freitas, N.: Dueling network architectures for deep reinforcement learning. In: Proceedings of the 33rd International Conference on Machine Learning (ICML 2016), pp. 1–9. PLMR, New York (2016) Wang, Z., Schaul, T., Hessel, M., van Hasselt, H., Lanctot, M., de Freitas, N.: Dueling network architectures for deep reinforcement learning. In: Proceedings of the 33rd International Conference on Machine Learning (ICML 2016), pp. 1–9. PLMR, New York (2016)
23.
go back to reference Watkins, C.J.C.H., Dayan, P.: Q-learning. Mach. Learn. 8, 279–292 (1992)MATH Watkins, C.J.C.H., Dayan, P.: Q-learning. Mach. Learn. 8, 279–292 (1992)MATH
Metadata
Title
A Deep Reinforcement Learning Approach for Automated Cryptocurrency Trading
Authors
Giorgio Lucarelli
Matteo Borrotti
Copyright Year
2019
DOI
https://doi.org/10.1007/978-3-030-19823-7_20

Premium Partner