virattt/ai-hedge-fund
An AI Hedge Fund Team
What it solves
This project provides a proof-of-concept framework for exploring how AI can be used to make trading decisions. It allows users to simulate trading strategies using AI agents without risking real capital, serving as an educational tool for AI-driven financial analysis.
How it works
The system uses a group of investor agents powered by various LLM providers (such as Anthropic, OpenAI, DeepSeek, and Google) to analyze financial data. It integrates with the Financial Datasets API to retrieve prices, fundamentals, and earnings data. Users can operate the system in two modes:
- Paper trading: Simulates real-time market days with a ledger of fake money to track performance (NAV).
- Backtesting: Replays a fund's strategy over historical data to compare its equity curve against a benchmark.
Who it’s for
It is designed for researchers and learners interested in AI-powered financial trading and the application of LLMs to market analysis.
Highlights
- Multi-LLM Support: Compatible with a wide range of model providers including xAI, Kimi, and TypeSafe.
- Hash-chained Ledger: Maintains a permanent track record of paper trading sessions in a local ledger.
- Interactive Terminal App: Provides a direct interface for managing funds, executing sessions, and viewing history.
- Integrated Backtesting: Allows users to test mandates against historical market data.
Related
- Project
- Project
- Project
- Project
- Project