The Application of Dynamic Time Warping on Ethereum Price Prediction

Authors

  • Anirudh Parasrampuria Mission San Jose High School
  • Ms. Williams

DOI:

https://doi.org/10.47611/jsrhs.v13i4.8196

Keywords:

Dynamic Time Warping, LSTM, Machine Learning, Ethereum

Abstract

This research finds the application of Dynamic Time Warping (DTW) with a Long Short-Term Memory (LSTM) to create a hybrid model for predicting Ethereum (ETH) prices. Cryptocurrencies in general are considered as highly volatile assets, ETH being no exception, which presents challenges and opportunities for investors. Machine Learning models have shown promise in time-series and stock price prediction; however, integrating an algorithm like DTW can enhance the accuracy of the model by finding historical sequences that closely represents the current pattern. The study utilizes daily price data of Ethereum from July 2023 to July 2024, focusing on key metrics such as open, close, high, low, and trading volume. The hybrid and LSTM baseline model were tested for 10 randomly chosen seeds and Root Mean Square Error (RMSE) was used to evaluate performance. The hybrid model better predicted the true ETH price by 23.4% as compared to the baseline LSTM model and statistical evidence further confirms the significance of these results. These findings suggest that the hybrid model provides an approach for Ethereum price prediction, offering new insights for people looking to invest in cryptocurrencies. 

Downloads

Download data is not yet available.

References or Bibliography

Dynamic Time Warping. (2007). Information Retrieval for Music and Motion, 69-84. https://doi.org/10.1007/978-3-540-74048-3_4

Ethereum Cumulative Unique Addresses Daily Insights: Ethereum Statistics. (n.d.). YCharts. Retrieved August 27, 2024, from https://ycharts.com/indicators/ethereum_cumulative_unique_addresses

Ethereum USD (ETH-USD) Stock Price, News, Quote & History. (n.d.). Yahoo Finance. Retrieved August 28, 2024, from https://finance.yahoo.com/quote/ETH-USD/

Grzejszczak, T., Probierz, E., Galuszka, A., Simek, K., & Jędrasiak, K. (2022). Dynamic time warping in financial data: Modification of algorithm in context of stock market similarity analysis. European Research Studies Journal, 25(3), 967-979. https://doi.org/10.35808/ersj/2897

Hodson, T. O. (2022). Root-mean-square error (RMSE) or mean absolute error (MAE): When to use them or not. Geoscientific Model Development, 15(8), 5481–5487. https://doi.org/10.5194/gmd-15-5481-2022

Keogh, J. G. (n.d.). (PDF) Cryptocurrencies in Modern Finance: A Literature Review. ResearchGate. Retrieved August 27, 2024, from https://www.researchgate.net/publication/349502381_Cryptocurrencies_in_Modern_Finance_A_Literature_Review

Mishra, O., Joshi, U., Patil, H., & Dongardive, J. (n.d.). Comparing LSTM and Random Forests for Stock Price Movement Forecasting. IJRTI. Retrieved August 27, 2024, from https://www.ijrti.org/papers/IJRTI2401047.pdf

Nakamoto, S. (2008, August 21). A Peer-to-Peer Electronic Cash System. Bitcoin.org. Retrieved August 27, 2024, from https://assets.pubpub.org/d8wct41f/31611263538139.pdf

Parasrampuria, A. (2024, August 30). Baseline LSTM and DTW-LSTM [GitHub repository]. GitHub. https://github.com/Anirudh-Parasrampuria/Baseline_LSTM_and_DTW-LSTM

Politis, A., Doka, K., & Koziris, N. (2021). Ether price prediction using advanced deep learning models. In 2021 IEEE International Conference on Blockchain and Cryptocurrency (ICBC) (pp. 1-3). IEEE. https://doi.org/10.1109/ICBC51069.2021.9461061

Rasure, E. (2024, June 12). What Are Smart Contracts on the Blockchain and How Do They Work? Investopedia. Retrieved August 27, 2024, from https://www.investopedia.com/terms/s/smart-contracts.asp

Schär, F. (n.d.). (PDF) Decentralized Finance: On Blockchain- and Smart Contract-based Financial Markets. ResearchGate. Retrieved August 27, 2024, from https://www.researchgate.net/publication/340061422_Decentralized_Finance_On_Blockchain-_and_Smart_Contract-based_Financial_Markets

S., M., Mohta, M., & Rangaswamy, S. (2022). Ethereum price prediction using machine learning techniques: A comparative study. International Journal of Engineering Applied Sciences and Technology, 7(2), 137-142. https://doi.org/10.33564/IJEAST.2022.v07i02.018

Šťastný, T., Koudelka, J., Bílková, D., & Marek, L. (2022, October 7). Clustering and Modelling of the Top 30 Cryptocurrency Prices Using Dynamic Time Warping and Machine Learning Methods. Mathematics, 10(19), 3672. https://doi.org/10.3390/math10193672

Velasquez, C. (2023, October 5). Pattern Mining for Stock Prediction with Dynamic Time Warping. Medium. Retrieved August 27, 2024, from https://medium.com/@crisvelasquez/pattern-mining-for-stock-prediction-with-dynamic-time-warping-3f8df5fb4c5b

Vijh, M., Chandola, D., Tikkiwal, V. A., & Kumar, A. (2020). Stock Closing Price Prediction using Machine Learning Techniques. Procedia Computer Science, 167, 599-606. https://doi.org/10.1016/j.procs.2020.03.326

Yadav, M., & Alam, A. (2018). Dynamic time warping (DTW) algorithm in speech: A review.

Published

11-30-2024

How to Cite

Parasrampuria, A., & Williams, K. . (2024). The Application of Dynamic Time Warping on Ethereum Price Prediction. Journal of Student Research, 13(4). https://doi.org/10.47611/jsrhs.v13i4.8196

Issue

Section

HS Research Projects