Singapore Institute of Technology
Browse

Automated Bitcoin Trading dApp Using Price Prediction from a Deep Learning Model

Download (5.03 MB)
journal contribution
posted on 2025-02-12, 01:55 authored by Zhi Zhan Lua, Chee Kiat Seow, Ching Bon ChanChing Bon Chan, Yiyu Cai, Qi Cao

Distributed ledger technology (DLT) and cryptocurrency have revolutionized the financial landscape and relevant applications, particularly in investment opportunities. Despite its growth, the market’s volatility and technical complexities hinder widespread adoption. This study proposes a cryptocurrency trading system powered by advanced machine learning (ML) models to address these challenges. By leveraging random forest (RF), long short-term memory (LSTM), and bi-directional LSTM (Bi-LSTM) models, the cryptocurrency trading system is equipped with strong predictive capacity and is able to optimize trading strategies for Bitcoin. The up-to-date price prediction information obtained by the machine learning model is incorporated by custom oracle contracts and is transmitted to portfolio smart contracts. The integration of smart contracts and on-chain oracles ensures transparency and security, allowing real-time verification of portfolio management. The deployed cryptocurrency trading system performs these actions automatically without human intervention, which greatly reduces barriers to entry for ordinary users and investors. The results demonstrate the feasibility of creating a cryptocurrency trading system, with the LSTM model achieving a return on investment (ROI) of 488.74% for portfolio management during the duration of 9 December 2022 to 23 May 2024. The ROI obtained by the LSTM model is higher than the performance of Bitcoin at 234.68% and that of other benchmarking models with RF and Bi-LSTM over the same timeframe. This approach offers significant cost savings, transparent portfolio management, and a trust-free platform for investors, paving the way for broader cryptocurrency adoption. Future work will focus on enhancing prediction accuracy and achieving greater decentralization.

History

Journal/Conference/Book title

Risks

Publication date

2025-01-17

Version

  • Published

Usage metrics

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC