IDEAS home Printed from https://ideas.repec.org/a/gam/jrisks/v13y2025i1p17-d1569815.html
   My bibliography  Save this article

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

Author

Listed:
  • Zhi Zhan Lua

    (School of Computing Science, University of Glasgow, Glasgow G12 8QQ, UK)

  • Chee Kiat Seow

    (School of Computing Science, University of Glasgow, Glasgow G12 8QQ, UK)

  • Raymond Ching Bon Chan

    (InfoComm Technology Cluster, Singapore Institute of Technology, Singapore 138683, Singapore)

  • Yiyu Cai

    (School of Mechanical & Aerospace Engineering, Nanyang Technological University, Singapore 639798, Singapore)

  • Qi Cao

    (School of Computing Science, University of Glasgow, Glasgow G12 8QQ, UK)

Abstract

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.

Suggested Citation

  • Zhi Zhan Lua & Chee Kiat Seow & Raymond Ching Bon Chan & Yiyu Cai & Qi Cao, 2025. "Automated Bitcoin Trading dApp Using Price Prediction from a Deep Learning Model," Risks, MDPI, vol. 13(1), pages 1-26, January.
  • Handle: RePEc:gam:jrisks:v:13:y:2025:i:1:p:17-:d:1569815
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-9091/13/1/17/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-9091/13/1/17/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jrisks:v:13:y:2025:i:1:p:17-:d:1569815. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.