AI hedge fund analysis as Claude Code slash commands. 30+ AI investor personas analyze stocks.
Project description
AI Hedge Fund — Claude Code Skill Collection
Analyze stocks using 30+ AI agents — legendary investor personas, swing trade strategies, and intraday day-trade systems. Built as a collection of Claude Code slash commands.
Install
pip install ai-hedge-fund
ai-hedge-fund install
Commands
| Command | What it does | Agents | Time |
|---|---|---|---|
/invest AAPL,MSFT |
Long-term portfolio decisions | 14 investor personas (Buffett, Munger, Graham, etc.) | ~5 min |
/swing TSLA |
Swing trade setups (2-20 days) | 9 swing strategies + Head Trader | ~3 min |
/daytrade SPY |
Intraday trade plan | 9 day-trade strategies + Head Trader | ~3 min |
/research NVDA |
Comprehensive research report | All 30+ agents | ~15 min |
How It Works
Each command follows the same pattern:
Your ticker → Fetch financial data → N AI agents analyze independently
→ Deterministic math agents → Synthesis → Final decision/report
Invest: 14 legendary investors (Warren Buffett, Charlie Munger, Ben Graham, Cathie Wood, Michael Burry, etc.) each independently analyze the stock using their real-world investment philosophy. A portfolio manager synthesizes all opinions into a buy/sell/hold decision with holding duration.
Swing: 9 trading strategies (trend following, pullback, breakout, momentum, mean reversion, catalyst, sector rotation) analyze the daily chart. A Head Trader resolves conflicting signals. Output includes entry price, target, stop-loss, and risk-reward ratio.
Day Trade: 9 intraday strategies (VWAP, momentum scalping, mean reversion, breakout, gap analysis, volume profiling, pattern reading, stat arb, news catalyst) analyze 5-minute charts. Output is a specific trade plan for the day.
Research: All 30+ agents from all modes run. Output is a balanced report: bull case, bear case, key metrics, risk factors, sentiment breakdown. No trading recommendation.
Data Sources (all free)
- yfinance — daily + intraday price data, market cap
- SEC EDGAR — 10+ years of quarterly financials, TTM snapshots
- Finnhub (free tier) — insider trades, company news
No paid API keys required. Works out of the box with prices, financials, and technicals.
Optional: Finnhub API key (free, recommended)
For insider trading data and company news sentiment, add a free Finnhub API key:
- Go to finnhub.io and create a free account (no credit card needed)
- Copy your API key from the dashboard
- Create a
.envfile in your project directory:
FINNHUB_API_KEY=your_key_here
Without this key, the system still works — you just won't get insider trade patterns or news sentiment analysis.
Uninstall
ai-hedge-fund uninstall
pip uninstall ai-hedge-fund
Requirements
- Python 3.10+
- Claude Code
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_hedge_fund-0.1.1.tar.gz.
File metadata
- Download URL: ai_hedge_fund-0.1.1.tar.gz
- Upload date:
- Size: 122.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29e572083cafd57e3971f292a50bb1f5973bff738ea3513ac5a4dbf28e1d81bf
|
|
| MD5 |
7acfa87f248e143603c02df90ebc571c
|
|
| BLAKE2b-256 |
848c2e0d0b4d6dc95deefb351340f49ea7a488abb085de6c03f71b7d59326483
|
File details
Details for the file ai_hedge_fund-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ai_hedge_fund-0.1.1-py3-none-any.whl
- Upload date:
- Size: 156.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fd8ff28a5147358512f30cc561b46646ee8364b0d44ac291d4fd1de4db1074c
|
|
| MD5 |
bc8478a143d373397c36491bd7333607
|
|
| BLAKE2b-256 |
66bea35a96b18f4c296c66bc6fbcd15357ac16d73adf41f025cb4041591c4a1f
|