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-25, 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
    ---><---

    References listed on IDEAS

    as
    1. Oluwadamilare Omole & David Enke, 2024. "Deep learning for Bitcoin price direction prediction: models and trading strategies empirically compared," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-26, December.
    2. Nagula, Pavan Kumar & Alexakis, Christos, 2022. "A new hybrid machine learning model for predicting the bitcoin (BTC-USD) price," Journal of Behavioral and Experimental Finance, Elsevier, vol. 36(C).
    3. Pavan Kumar Nagula & Christos Alexakis, 2022. "A new hybrid machine learning model for predicting the bitcoin (BTC-USD) price," Post-Print hal-03877093, HAL.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Pavan Kumar Nagula & Christos Alexakis, 2022. "A Novel Machine Learning Approach for Predicting the NIFTY50 Index in India," International Advances in Economic Research, Springer;International Atlantic Economic Society, vol. 28(3), pages 155-170, November.
    2. Fayssal Jamhamed & Franck Martin & Fabien Rondeau & Josué Thélissaint & Stéphane Tufféry, 2024. "Regime-Specific Dynamics and Informational Efficiency in Cryptomarkets: Evidence from Gaussian Mixture Models," Economics Working Paper Archive (University of Rennes & University of Caen) 2024-13, Center for Research in Economics and Management (CREM), University of Rennes, University of Caen and CNRS.
    3. Kaijian He & Qian Yang & Lei Ji & Jingcheng Pan & Yingchao Zou, 2023. "Financial Time Series Forecasting with the Deep Learning Ensemble Model," Mathematics, MDPI, vol. 11(4), pages 1-15, February.
    4. José Parra-Moyano & Daniel Partida & Moritz Gessl & Somnath Mazumdar, 2024. "Analyzing swings in Bitcoin returns: a comparative study of the LPPL and sentiment-informed random forest models," Digital Finance, Springer, vol. 6(3), pages 427-439, September.

    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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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.