ai-hedge-fund
by
virattt

Description: An AI Hedge Fund Team

View on GitHub ↗

Summary Information

Updated 36 minutes ago
Added to GitGenius on April 14th, 2025
Created on November 29th, 2024
Open Issues & Pull Requests: 149 (+0)
Number of forks: 10,790
Total Stargazers: 60,978 (+0)
Total Subscribers: 669 (+0)

Issue Activity (beta)

Open issues: 51
New in 7 days: 0
Closed in 7 days: 1
Avg open age: 115 days
Stale 30+ days: 49
Stale 90+ days: 29

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 (98)
  • enhancement (87)

Most active issues this week

Repository Insights (GitGenius)

Median issue/PR response: 0.0 hours
Mean response time: 2.9 days
90th percentile: 35.0 hours
Tracked items: 248

Most active contributors

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 has demonstrated steady growth, with GitGenius tracking an increase of one stargazer between July 5, 2026 and the most recent check, bringing the total to 60,834 stars. The project shows active maintenance with a median issue and pull request response latency of zero hours and a mean latency of 68.9 hours across 248 tracked items. Bug reports and enhancement requests represent the most active issue categories with 98 and 85 items respectively. The primary maintainer virattt has logged 303 tracked events, with secondary contributors zhangyiahsx and expoplatform01 contributing 12 and 11 events respectively. 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.

ai-hedge-fund
by
viratttvirattt/ai-hedge-fund

Repository Details

Fetching additional details & charts...