Skip to main content

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.

For insider trading data and company news sentiment, add a free Finnhub API key:

  1. Go to finnhub.io and create a free account (no credit card needed)
  2. Copy your API key from the dashboard
  3. Create a .env file 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

Metadata

Release files for ai-hedge-fund 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-hedge-fund 0.1.1
File Size Uploaded Provenance Actions
ai_hedge_fund-0.1.1.tar.gz 122.9 kB Without provenance Details for ai_hedge_fund-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-hedge-fund 0.1.1
File Interpreter ABI Platform Actions
ai_hedge_fund-0.1.1-py3-none-any.whl Python 3 none any Details for ai_hedge_fund-0.1.1-py3-none-any.whl

Total release size: 279.0 kB

Release files / ai_hedge_fund-0.1.1.tar.gz

Download URL ai_hedge_fund-0.1.1.tar.gz
Size 122.9 kB
Tags Source
SHA-256 checksum
How to use checksums
29e572083cafd57e3971f292a50bb1f5973bff738ea3513ac5a4dbf28e1d81bf
BLAKE2b-256 checksum
How to use checksums
848c2e0d0b4d6dc95deefb351340f49ea7a488abb085de6c03f71b7d59326483
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / ai_hedge_fund-0.1.1-py3-none-any.whl

Download URL ai_hedge_fund-0.1.1-py3-none-any.whl
Size 156.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fd8ff28a5147358512f30cc561b46646ee8364b0d44ac291d4fd1de4db1074c
BLAKE2b-256 checksum
How to use checksums
66bea35a96b18f4c296c66bc6fbcd15357ac16d73adf41f025cb4041591c4a1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for ai-hedge-fund 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page