Archives

Romanian Journal of Information Technology and Automatic Control / Vol. 34, No. 1, 2024


Cryptocurrency returns prediction using candlestick patterns analysis and multi-layer deep LSTM neural networks

Mohammad VAHIDPOUR, Amir DANESHVAR, Mohsen AMINI KHOUZANI, Mahdi HOMAYOUNFAR

Abstract:

Financial markets are characterised by their dynamic, non-linear, and fluctuating nature. Analysing financial time series in these contexts is a complex and challenging task. Candlestick patterns are recognised as among the most widely used financial tools and offer invaluable insights into market sentiment and psychology. However, manual analysis of these patterns presents significant challenges. Therefore, leveraging machine learning methods becomes a necessity for overcoming these challenges. In this study, a four-step framework was introduced in which the data preparation process is executed on the price data of the 20 cryptocurrencies. Forty-eight candlestick patterns were extracted alongside returns. Employing the long short-term memory (LSTM) neural network, structured with multiple layers, each specialising in a specific cryptocurrency, enables individualised prediction of market returns. Evaluation of model accuracy and sensitivity is conducted via the confusion matrix, and two distinct trading strategies assess the capital portfolio. The research findings underscore the profitability of the proposed model across all scenarios. Candlestick patterns serve as powerful tools for understanding market sentiments and identifying shifts in market trends. However, their standalone efficacy is limited. Integrating them with other technical analysis tools facilitates more informed decision-making and fosters a deeper understanding of market dynamics.

Keywords:
Financial, Cryptocurrency, Candlestick, Long Short-Term Memory, Machine Learning.

CITE THIS PAPER AS:
Mohammad VAHIDPOUR, Amir DANESHVAR, Mohsen AMINI KHOUZANI, Mahdi HOMAYOUNFAR, "Cryptocurrency returns prediction using candlestick patterns analysis and multi-layer deep LSTM neural networks", Romanian Journal of Information Technology and Automatic Control, ISSN 1220-1758, vol. 34(1), pp. 109-122, 2024. https://doi.org/10.33436/v34i1y202410