Paper: arXiv 2407.09546
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/"}.
Complexity vs Empirical Score
- Math Complexity: 1.5/10
- Empirical Rigor: 6.0/10 (capped from 7.0: transaction costs not modelled; see penalty flags)
- Quadrant: Street Traders — practical and empirical, lighter on theory
Why this score: The paper relies on LLM prompting and traditional financial indicators (e.g., MACD, MA) rather than dense mathematical theory, but features heavy empirical backtesting with specific crypto assets, market conditions, and published code/data.
Research Flowchart
flowchart TD A["Research Goal<br>Bridge LLM gap in<br>cryptocurrency trading"] --> B["Data Sources<br>On-chain & Off-chain signals"] B --> C["LLM-based Agent<br>CryptoTrade Framework"] C --> D["Core Process<br>Reflective Decision Loop"] D --> E["Execution<br>Zero-shot Trading"] E --> F["Key Outcomes<br>Superior returns vs baselines<br>Benchmark established"]
Cited References (55)
- Bloomberggpt: A large language model for finance (2023) — link
- Transforming Financial Decision-Making: The Interplay of AI, Cloud Computing and Advanced Data Management Technologies (2023)
- Stock Market 101: From Bull and Bear Markets to Dividends, Shares, and Margins—Your Essential Guide to the Stock Market (2024)
- Bitcoin volatility in bull vs. bear market-insights from analyzing on-chain metrics and Twitter posts (2023)
- Investigating the effectiveness of task-agnostic prefix prompt for instruction following (2024)
- Interoperability in blockchain: A survey (2023)
- The hidden shortcomings of (d) aos–an empirical study of on-chain governance (2023)
- Cryptocurrency uncertainty and volatility forecasting of precious metal futures markets (2023)
and 47 more
- What is mature and what is still emerging in the cryptocurrency market? (2023)
- Summarization is (almost) dead (2023) — link
- Holistic evaluation of language models (2022) — link
- Harnessing the power of llms in practice: A survey on chatgpt and beyond (2024)
- ChatGPT informed graph neural network for stock movement prediction — → 2306.03763
- Pixiu: A large language model, instruction data and evaluation benchmark for finance (2023) — link
- Learning to Generate Explainable Stock Predictions using Self-Reflective Large Language Models — → 2402.03659
- A survey of large language models (2023) — link
- Multimodal chain-of-thought reasoning in language models (2023) — link
- Chain-of-thought prompting elicits reasoning in large language models (2022)
- Transformers in time series: A survey (2022) — link
- Timesnet: Temporal 2d-variation modeling for general time series analysis (2022)
- Frequency-domain MLPs are more effective learners in time series forecasting (2024)
- A time series is worth 64 words: Long-term forecasting with transformers (2022) — link
- Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting (2021)
- Informer: Beyond efficient transformer for long sequence time-series forecasting (2021)
- Non-linear prediction of security returns with moving average rules (1996)
- Predicting stock price trend using MACD optimized by historical volatility (2018)
- The profitability of Bollinger Bands trading bitcoin futures (2023)
- Llama 2: Open foundation and fine-tuned chat models (2023) — link
- Temporal Data Meets LLM–Explainable Financial Time Series Forecasting — → 2306.11025
- Fingpt: Democratizing internet-scale data for financial large language models (2023) — link
- The rise and potential of large language model based agents: A survey (2023) — link
- SocioDojo: Building Lifelong Analytical Agents with Real-world Text and Time Series (2024) — link
- Offline reinforcement learning: Tutorial, review, and perspectives on open problems (2020) — link
- Reflexion: an autonomous agent with dynamic memory and self-reflection (2023) — link
- Cryptocurrency price prediction using traditional statistical and machine-learning techniques: A survey (2021)
- The promises and pitfalls of machine learning for predicting stock returns (2021)
- Stock price prediction using reinforcement learning (2001)
- Stock return prediction under GARCH—An empirical assessment (2017)
- Stock price prediction using artificial neural network (2014)
- Deep learning-based stock price prediction using LSTM and bi-directional LSTM model (2020)
- Cryptocurrency price prediction using tweet volumes and sentiment analysis (2018)
- Cryptocurrency price prediction using time series and social sentiment data (2019)
- A lstm-method for bitcoin price prediction: A case study yahoo finance stock market (2019)
- Reflexion: Language agents with verbal reinforcement learning (2024)
- Self-refine: Iterative refinement with self-feedback (2024)
- Automatic prompt optimization with" gradient descent" and beam search (2023) — link
- Refiner: Reasoning feedback on intermediate representations (2023) — link
- Bitcoin and cryptocurrency technologies: a comprehensive introduction (2016)
- The Theory of Parsing, Translation and Compiling (1972)
- Publications Manual (1983)
- Alternation (1981) — link
- Scalable training of $L_1$ -regularized log-linear models (2007) — link
- Algorithms on Strings, Trees and Sequences (1997) — link
- Yara Parser: A Fast and Accurate Dependency Parser (2015) — link
- An algorithm for the machine calculation of complex F ourier series (1965) — link
3 of 55 cited works are in the corpus; resolved via arXiv source bundles, Semantic Scholar and OpenAlex. Corpus-wide: 2518 linked papers.