virattt/ai-hedge-fund

An AI Hedge Fund Team

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 35 minutes ago
Added to GitGenius on April 14th, 2025
Created on November 29th, 2024
Open Issues & Pull Requests: 163 (+0)
Number of forks: 11,076
Total Stargazers: 63,016 (-1)
Total Subscribers: 665 (+1)

Repository Insights (GitGenius)

Median issue/PR response: 6.7 hours
Mean response time: 12.1 days
90th percentile: 49.6 days
Tracked items: 255

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 12% of issues opened in the past year have been closed. Three people close 86% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 54
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 112 days
Stale 30+ days: 48
Stale 90+ days: 45

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (100)
  • enhancement (89)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

The AI Hedge Fund is a Python-based proof of concept designed to explore how artificial intelligence can be applied to make trading decisions in a hedge fund context. The project is explicitly positioned as educational and research-focused, with no capability to execute actual trades. The system is currently undergoing significant evolution, with plans to rebuild it into a persistent, always-on AI hedge fund that functions as a first-class entity capable of backtesting, paper trading, and optional live execution, while reimagining investor agents as pluggable, backtestable alpha models.

The core architecture employs a multi-agent system where different AI agents embody the investment philosophies of renowned investors and analysts. These include agents modeled after Aswath Damodaran focusing on disciplined valuation, Ben Graham emphasizing value investing with margin of safety, Bill Ackman pursuing activist investment strategies, Cathie Wood representing growth and innovation investing, Charlie Munger seeking wonderful businesses at fair prices, Michael Burry hunting for deep value opportunities, Mohnish Pabrai applying Dhandho investing principles, Nassim Taleb analyzing tail risk and antifragility, Peter Lynch seeking ten-baggers, Phil Fisher conducting deep research, Rakesh Jhunjhunwala representing Indian market perspectives, and Stanley Druckenmiller pursuing macro opportunities. Beyond these named investor agents, the system includes specialized agents for valuation calculations, market sentiment analysis, fundamental data analysis, technical indicator analysis, risk management, and portfolio management that makes final trading decisions.

The repository shares contributors with several major open-source projects including home-assistant/core, prisma/prisma, and pytorch/pytorch.

Users can interact with the system through both a command-line interface and a web application. The command-line approach supports direct execution with optional flags for local LLM execution via Ollama and date range specification for backtesting. The web application provides a user-friendly visual interface as the recommended approach for users preferring graphical interaction. The system requires at least one LLM API key from providers including OpenAI, Groq, Anthropic, or DeepSeek to function. Installation uses Poetry for dependency management, and the project maintains clear contribution guidelines emphasizing small, focused pull requests. The codebase is licensed under the MIT License and explicitly disclaims any liability for financial losses, positioning itself strictly as an educational tool rather than investment advice.