IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2407.09546.html
   My bibliography  Save this paper

A Reflective LLM-based Agent to Guide Zero-shot Cryptocurrency Trading

Author

Listed:
  • Yuan Li
  • Bingqiao Luo
  • Qian Wang
  • Nuo Chen
  • Xu Liu
  • Bingsheng He

Abstract

The utilization of Large Language Models (LLMs) in financial trading has primarily been concentrated within the stock market, aiding in economic and financial decisions. Yet, the unique opportunities presented by the cryptocurrency market, noted for its on-chain data's transparency and the critical influence of off-chain signals like news, remain largely untapped by LLMs. This work aims to bridge the gap by developing an LLM-based trading agent, CryptoTrade, which uniquely combines the analysis of on-chain and off-chain data. This approach leverages the transparency and immutability of on-chain data, as well as the timeliness and influence of off-chain signals, providing a comprehensive overview of the cryptocurrency market. CryptoTrade incorporates a reflective mechanism specifically engineered to refine its daily trading decisions by analyzing the outcomes of prior trading decisions. This research makes two significant contributions. Firstly, it broadens the applicability of LLMs to the domain of cryptocurrency trading. Secondly, it establishes a benchmark for cryptocurrency trading strategies. Through extensive experiments, CryptoTrade has demonstrated superior performance in maximizing returns compared to traditional trading strategies and time-series baselines across various cryptocurrencies and market conditions. Our code and data are available at \url{https://anonymous.4open.science/r/CryptoTrade-Public-92FC/}.

Suggested Citation

  • Yuan Li & Bingqiao Luo & Qian Wang & Nuo Chen & Xu Liu & Bingsheng He, 2024. "A Reflective LLM-based Agent to Guide Zero-shot Cryptocurrency Trading," Papers 2407.09546, arXiv.org.
  • Handle: RePEc:arx:papers:2407.09546
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2407.09546
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Xiao-Yang Liu & Guoxuan Wang & Hongyang Yang & Daochen Zha, 2023. "FinGPT: Democratizing Internet-scale Data for Financial Large Language Models," Papers 2307.10485, arXiv.org, revised Nov 2023.
    2. Min-Yuh Day & Yirung Cheng & Paoyu Huang & Yensen Ni, 2023. "The profitability of Bollinger Bands trading bitcoin futures," Applied Economics Letters, Taylor & Francis Journals, vol. 30(11), pages 1437-1443, June.
    3. Jian Wang & Junseok Kim, 2018. "Predicting Stock Price Trend Using MACD Optimized by Historical Volatility," Mathematical Problems in Engineering, Hindawi, vol. 2018, pages 1-12, December.
    4. Xinli Yu & Zheng Chen & Yuan Ling & Shujing Dong & Zongyi Liu & Yanbin Lu, 2023. "Temporal Data Meets LLM -- Explainable Financial Time Series Forecasting," Papers 2306.11025, arXiv.org.
    5. Wei, Yu & Wang, Yizhi & Lucey, Brian M. & Vigne, Samuel A., 2023. "Cryptocurrency uncertainty and volatility forecasting of precious metal futures markets," Journal of Commodity Markets, Elsevier, vol. 29(C).
    6. Stanis{l}aw Dro.zd.z & Jaros{l}aw Kwapie'n & Marcin Wk{a}torek, 2023. "What is mature and what is still emerging in the cryptocurrency market?," Papers 2305.05751, arXiv.org.
    7. Zihan Chen & Lei Nico Zheng & Cheng Lu & Jialu Yuan & Di Zhu, 2023. "ChatGPT Informed Graph Neural Network for Stock Movement Prediction," Papers 2306.03763, arXiv.org, revised Sep 2023.
    8. Kelvin J. L. Koa & Yunshan Ma & Ritchie Ng & Tat-Seng Chua, 2024. "Learning to Generate Explainable Stock Predictions using Self-Reflective Large Language Models," Papers 2402.03659, arXiv.org, revised Feb 2024.
    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. Deborah Miori & Constantin Petrov, 2023. "Narratives from GPT-derived Networks of News, and a link to Financial Markets Dislocations," Papers 2311.14419, arXiv.org.
    2. Thanos Konstantinidis & Giorgos Iacovides & Mingxue Xu & Tony G. Constantinides & Danilo Mandic, 2024. "FinLlama: Financial Sentiment Classification for Algorithmic Trading Applications," Papers 2403.12285, arXiv.org.
    3. Liping Wang & Jiawei Li & Lifan Zhao & Zhizhuo Kou & Xiaohan Wang & Xinyi Zhu & Hao Wang & Yanyan Shen & Lei Chen, 2023. "Methods for Acquiring and Incorporating Knowledge into Stock Price Prediction: A Survey," Papers 2308.04947, arXiv.org.
    4. Thi Thu Giang Nguyen & Robert Ślepaczuk, 2022. "The efficiency of various types of input layers of LSTM model in investment strategies on S&P500 index," Working Papers 2022-29, Faculty of Economic Sciences, University of Warsaw.
    5. Yensen Ni, 2024. "Navigating Energy and Financial Markets: A Review of Technical Analysis Used and Further Investigation from Various Perspectives," Energies, MDPI, vol. 17(12), pages 1-22, June.
    6. Zhong, Yufei & Chen, Xuesheng & Wang, Chengfang & Wang, Zhixian & Zhang, Yuchen, 2023. "The hedging performance of green bond markets in China and the U.S.: Novel evidence from cryptocurrency uncertainty," Energy Economics, Elsevier, vol. 128(C).
    7. Nguyen, An Pham Ngoc & Mai, Tai Tan & Bezbradica, Marija & Crane, Martin, 2023. "Volatility and returns connectedness in cryptocurrency markets: Insights from graph-based methods," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 632(P1).
    8. Hanshuang Tong & Jun Li & Ning Wu & Ming Gong & Dongmei Zhang & Qi Zhang, 2024. "Ploutos: Towards interpretable stock movement prediction with financial large language model," Papers 2403.00782, arXiv.org.
    9. Ivanovski, Kris & Hailemariam, Abebe, 2023. "Forecasting the stock-cryptocurrency relationship: Evidence from a dynamic GAS model," International Review of Economics & Finance, Elsevier, vol. 86(C), pages 97-111.
    10. Jingyang Wu & Xinyi Zhang & Fangyixuan Huang & Haochen Zhou & Rohtiash Chandra, 2024. "Review of deep learning models for crypto price prediction: implementation and evaluation," Papers 2405.11431, arXiv.org, revised Jun 2024.
    11. Chi-Wei Su & Kai-Hua Wang & Oana-Ramona Lobonţ & Meng Qin, 2023. "Continuous Wavelet Transform of Time-Frequency Analysis Technique to Capture the Dynamic Hedging Ability of Precious Metals," Mathematics, MDPI, vol. 11(5), pages 1-18, February.
    12. Raeid Saqur, 2024. "What Teaches Robots to Walk, Teaches Them to Trade too -- Regime Adaptive Execution using Informed Data and LLMs," Papers 2406.15508, arXiv.org.
    13. Kyriazis, Nikolaos & Papadamou, Stephanos & Tzeremes, Panayiotis & Corbet, Shaen, 2024. "Quantifying spillovers and connectedness among commodities and cryptocurrencies: Evidence from a Quantile-VAR analysis," Journal of Commodity Markets, Elsevier, vol. 33(C).
    14. Kawakami, Tabito, 2023. "Quantile prediction for Bitcoin returns using financial assets’ realized measures," Finance Research Letters, Elsevier, vol. 55(PA).
    15. Li, Wei & Zhang, Junchao & Cao, Xiangye & Han, Wei, 2024. "Is the prediction of precious metal market volatility influenced by internet searches regarding uncertainty?," Finance Research Letters, Elsevier, vol. 62(PB).
    16. Sukono & Dedi Rosadi & Di Asih I Maruddani & Riza Andrian Ibrahim & Muhamad Deni Johansyah, 2024. "Mechanisms of Stock Selection and Its Capital Weighing in the Portfolio Design Based on the MACD-K-Means-Mean-VaR Model," Mathematics, MDPI, vol. 12(2), pages 1-22, January.
    17. Wu, Zewen, 2024. "Are we in a bubble? Financial vulnerabilities in semiconductor, Web3, and genetic engineering markets," International Review of Economics & Finance, Elsevier, vol. 90(C), pages 32-44.
    18. Brouty, Xavier & Garcin, Matthieu, 2024. "Fractal properties, information theory, and market efficiency," Chaos, Solitons & Fractals, Elsevier, vol. 180(C).
    19. Jia, Boxiang & Shen, Dehua & Zhang, Wei, 2024. "Bitcoin market reactions to large price swings of international stock markets," International Review of Economics & Finance, Elsevier, vol. 90(C), pages 72-88.
    20. Yuqi Nie & Yaxuan Kong & Xiaowen Dong & John M. Mulvey & H. Vincent Poor & Qingsong Wen & Stefan Zohren, 2024. "A Survey of Large Language Models for Financial Applications: Progress, Prospects and Challenges," Papers 2406.11903, arXiv.org.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    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:arx:papers:2407.09546. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.