Skip to main content

Cryptocurrency Returns Clustering Using Japanese Candlesticks: Towards a Programmatic Trading System

  • Chapter
  • First Online:
Advanced Technology for Smart Environment and Energy

Part of the book series: Environmental Science and Engineering ((ESE))

Abstract

Cryptocurrency trading drove the attention of individual traders during and after the lockdown period caused by COVID-19 restrictions. Trading systems use Japanese candlesticks-derived technical indicators to decide on behalf of traders. They offer insights into the market trend and help traders to decide how to manage their cryptocurrency portfolio. Japanese candlesticks help visualize the movement of cryptocurrencies’ prices over a given period. This transformation is widely used to forecast the future trend, volatility, and prices of a cryptocurrency. Most of the research on forecasting returns suggests using three classes, uptrend, downtrend, and insignificant changes. Within this paper, we applied KMeans clustering to the Japanese candlesticks over a daily period of five of the highest capitalized non-stable coins (Bitcoin, Ethereum, BNB coin, Cardano, and Solana). Results indicates that the optimal number of clusters is ranging from 5 to 6 clusters using the elbow method for all the considered cryptocurrencies. The range of obtained results suggests that we should opt for a per cryptocurrency number of classes when dealing with cryptocurrencies classification tasks rather than using the three classes mentioned above.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 129.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ahmed El Youssefi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

El Youssefi, A., Hessane, A., Farhaoui, Y., Zeroual, I. (2023). Cryptocurrency Returns Clustering Using Japanese Candlesticks: Towards a Programmatic Trading System. In: Mabrouki, J., Mourade, A., Irshad , A., Chaudhry, S. (eds) Advanced Technology for Smart Environment and Energy. Environmental Science and Engineering. Springer, Cham. https://doi.org/10.1007/978-3-031-25662-2_8

Download citation

Publish with us

Policies and ethics