ai-hedge-fund-crypto
AI-Hedge-Fund for Crypto π AI-powered hedge fund for cryptocurrency trading, leveraging LLM agents for intelligent decision-making.
System Structure
μ μ₯μλ³ μ λ΅/μ€ν 쑰건 νμΈ νμ
λ°±ν μ€νΈ/λΆμ κ²°κ³Όλ₯Ό λ°νμΌλ‘ μλ νλ¨
Editor Summaryμ μ₯μ μ€λͺ κ³Ό κ³΅κ° λ©νλ°μ΄ν° κΈ°μ€μΌλ‘ AI/LLM λλ λ¨Έμ λ¬λ νμ©, Python κΈ°λ° κ΅¬ν, μνΈνν κ±°λ λ΄, κ±°λμ API/νλ μμν¬ μ±κ²©μ νλ‘μ νΈλ‘ νμ νμ΅λλ€. νμΈ κ·Όκ±°λ README, μ μ₯μ ν ν½, μ μ₯μ μ€λͺ , GitHub μ§ν, νμ΄νλΌμΈ νλμ΄λ©°, μ£Όμ λ°μ΄ν°λ μνΈνν κ±°λμ μμ₯ λ°μ΄ν°, κ°κ²©/κ±°λλ λ°μ΄ν°μ λλ€. μ λ΅/μ€ν 쑰건μ μ μ₯μλ³ λ¬Έμμ μ½λ νμΈμ΄ νμνλ©°, μ€ν λ°©μμ "λ°±ν μ€νΈ/λΆμ κ²°κ³Όλ₯Ό λ°νμΌλ‘ μλ νλ¨"λΌκ³ 보μμ μΌλ‘ κΈ°λ‘νμ΅λλ€. GitHub μ§νλ λ³ 598κ°, ν¬ν¬ 153κ°μ λλ€.
| Repository | 51bitquant/ai-hedge-fund-crypto |
|---|---|
| Creator | 51bitquant |
| Stars / Forks | β 598 / 153 |
| License | MIT |
| Last Updated | 2025-09-05 |
| Snapshot Date | 2026-07-08 (README below is a copy from this date) |
This is third-party open-source code. QuantField does not guarantee its behavior or safety. Review the code before installing or running it.
README
AI Hedge Fund Crypto
A next-generation algorithmic trading framework that leverages graph-based workflow architecture, ensemble technical analysis, and AI language models to make data-driven cryptocurrency trading decisions. This system employs a directed acyclic graph (DAG) of specialized nodes for multi-timeframe analysis, enabling sophisticated signal generation through weighted combinations of diverse trading strategies.
At its core, the system builds upon LangGraph's computational graph architecture to process market data through a pipeline of technical analysis nodes. Each strategy implements a BaseNode interface that processes multi-interval data for multiple assets simultaneously. The framework then aggregates these signals using adaptive weighting mechanisms, evaluates risk parameters, and formulates position management decisions through large language model (LLM) analysis.
The system stands out through its:
- AI-Enhanced Decision Making: Integration of large language models (LLMs) for portfolio management decisions, combining technical signals with sophisticated reasoning
- Compositional Architecture: Distinct nodes for data fetching, strategy execution, risk management, and portfolio management
- Signal Ensemble Approach: Weighted aggregation of multiple technical strategies (trend following, mean reversion, momentum, volatility, and statistical arbitrage)
- Multi-Timeframe Analysis: Simultaneous processing across various time intervals for more robust signal generation
- Dynamic Strategy Visualization: Automatic generation of computational graph visualizations to better understand the decision flow
- Comprehensive Backtesting: Robust historical performance evaluation with detailed metrics and visualizations
Backtest Results
Sample backtesting results showcasing how well-designed trading strategies can generate high-quality signals when implemented in this framework. The system's performance is driven by the quality of your strategies, with the framework enabling efficient implementation, LLM-based decision refinement, and multi-timeframe analysis:

These results demonstrate the system's ability to:
- Generate profitable trading signals across different market conditions
- Manage risk effectively with position sizing rules
- Adapt to changing market dynamics with multi-timeframe analysis
- Provide detailed performance metrics for strategy evaluation
Architecture
The system is built around a highly configurable directed acyclic graph (DAG) architecture, where data flows through various processing nodes. This architecture provides exceptional flexibility, allowing users to customize both the available strategies and the timeframes for analysis without modifying the core code.
Node-Based Workflow System
At its heart, the system uses LangGraph to create a dynamic computational graph where:
- Start Node: Initializes the workflow and prepares the state for processing
- Data Nodes: Process market data for specific intervals (e.g., 30m, 1h, 4h)
- Strategy Nodes: Apply technical analysis algorithms to the processed data
- Risk Management Node: Evaluates position limits and exposure
- **Portfolio Man