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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Bengfort B, Bilbro R (2019) Yellowbrick: visualizing the scikit-learn model selection process. JOSS 4:1075. https://doi.org/10.21105/joss.01075
Binance Data Collection (2022) https://data.binance.vision/?prefix=data/spot/daily/klines/. Accessed 4 Oct 2022
Fang F, Ventre C, Basios M, Kanthan L, Martinez-Rego D, Wu F, Li L (2022) Cryptocurrency trading: a comprehensive survey. Financ Innov 8:13. https://doi.org/10.1186/s40854-021-00321-6
Guzmán A, Pinto-Gutiérrez C, Trujillo M-A (2021) Trading cryptocurrencies as a pandemic pastime: COVID-19 pockdowns and Bitcoin volume. Mathematics 9:1771. https://doi.org/10.3390/math9151771
Haq AU, Zeb A, Lei Z, Zhang D (2021) Forecasting daily stock trend using multi-filter feature selection and deep learning. Expert Syst Appl 168:114444. https://doi.org/10.1016/j.eswa.2020.114444
Kim J-M, Cho C, Jun C (2022) Forecasting the price of the cryptocurrency using linear and nonlinear error correction model. JRFM 15:74. https://doi.org/10.3390/jrfm15020074
Madhulatha TS (2012) An overview on clustering methods. https://doi.org/10.48550/ARXIV.1205.1117
Sung S-H, Kim J-M, Park B-K, Kim S (2022) A study on cryptocurrency log-return price prediction using multivariate time-series model. Axioms 11:448. https://doi.org/10.3390/axioms11090448
Trimborn S, Li Y (2021) Informative effects of expert sentiment on the return predictability of cryptocurrency. SSRN J. https://doi.org/10.2139/ssrn.3834279
Xu D, Tian Y (2015) A comprehensive survey of clustering algorithms. Ann Data Sci 2:165–193. https://doi.org/10.1007/s40745-015-0040-1
Yazdani S, Hadizadeh M, Fakoor V (2022) Computational analysis of the behavior of stochastic volatility models with financial applications. J Comput Appl Math 411:114258. https://doi.org/10.1016/j.cam.2022.114258
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this chapter
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
DOI: https://doi.org/10.1007/978-3-031-25662-2_8
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-25661-5
Online ISBN: 978-3-031-25662-2
eBook Packages: Earth and Environmental ScienceEarth and Environmental Science (R0)