← 返回 Skills 市场
tanjinlimkelvin-dot

AI Hedge Fund

作者 tanjinlimkelvin-dot · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ⚠ suspicious
200
总下载
0
收藏
2
当前安装
3
版本数
在 OpenClaw 中安装
/install ai-hedge-fund
功能描述
Run an AI-powered hedge fund simulation with 16+ legendary investor agents. Each agent analyzes stocks from their unique investment philosophy. Auto-detects...
使用说明 (SKILL.md)

AI Hedge Fund Skill

Multi-agent investment analysis using legendary investor personas.

Project: https://github.com/virattt/ai-hedge-fund

Setup (first time)

# Clone project
git clone https://github.com/virattt/ai-hedge-fund /data/workspace/ai-hedge-fund

# Install
pip install -e /data/workspace/ai-hedge-fund --break-system-packages --quiet
pip install yfinance --break-system-packages --quiet

Run

Via skill script (auto-detects model):

python3 /data/workspace/skills/skills/ai-hedge-fund/scripts/run.py \
  --tickers NVDA \
  --analysts-all \
  --show-reasoning

Or direct CLI:

cd /data/workspace/ai-hedge-fund
python3 src/main.py \
  --tickers NVDA \
  --start-date 2026-01-01 \
  --end-date 2026-04-12 \
  --model "minimax/minimax-m2.5:free" \
  --analysts-all \
  --show-reasoning

Model Auto-Detection

Not hardcoded. The run.py script auto-detects from:

  1. $OPENCLAW_LLM_MODEL environment variable
  2. OpenClaw config (/root/.openclaw/openclaw.json)
  3. Default: minimax/minimax-m2.5:free

You can also specify manually via --model flag.

Available Models

Any model from src/llm/api_models.json, e.g.:

  • minimax/minimax-m2.5:free (default, free)
  • qwen/qwen3.6-plus:free (free)
  • gpt-4.1 (OpenAI)
  • claude-sonnet-4-6 (Anthropic)

All 16+ Agents

Agent Philosophy
Warren Buffett Wonderful business at fair price
Charlie Munger Only wonderful businesses
Ben Graham Margin of safety
Michael Burry Contrarian deep value
Cathie Wood Innovation & disruption
Bill Ackman Activist investor
Peter Lynch Ten-baggers
Phil Fisher Scuttlebutt
Stanley Druckenmiller Macro asymmetric
Nassim Taleb Antifragility
Mohnish Pabrai Dhandho
Rakesh Jhunjhunwala Big Bull
Aswath Damodaran Valuation
+ Quant agents Fundamentals, Technical, Valuation, Sentiment

Output

Each agent outputs: signal (bullish/bearish/neutral), confidence %, reasoning. Portfolio Manager aggregates into final BUY/SELL/HOLD.

Data Source

yfinance (free, no API key needed)

安全使用建议
This skill performs what it claims (multi-agent stock analysis) but has worrisome implementation details. Before using it: 1) Inspect the upstream repository (https://github.com/virattt/ai-hedge-fund) — review its setup.py/pyproject and src/main.py for network calls, secrets handling, or arbitrary shell execution. 2) Avoid blindly running the provided pip install -e; clone in an isolated environment or container and run there. 3) Prefer supplying --model manually instead of relying on the skill's autodetect (the code reads /root/.openclaw/openclaw.json which can expose host agent configuration). 4) If you must install, run tests and a static code audit on the repository first. 5) If you lack the ability to audit the upstream code, treat this skill as potentially risky and do not run it on systems that hold secrets or production credentials.
能力评估
Purpose & Capability
The name/description (AI-powered hedge fund simulation) aligns with the included code and instructions (runs a multi-agent analysis using an external repo). However there are mismatches: SKILL.md claims model autodetection checks $OPENCLAW_LLM_MODEL and a default fallback, but the provided run.py only reads /root/.openclaw/openclaw.json and will exit if that file is missing. Some runtime paths in SKILL.md (e.g., /data/workspace/skills/skills/...) don't match the repository layout, suggesting sloppy/inconsistent documentation.
Instruction Scope
SKILL.md tells the agent/user to git clone an external GitHub repository into /data/workspace and pip install it editable (pip install -e), then run the project's main script. Those steps will write third-party code to disk and run it. The run.py also reads /root/.openclaw/openclaw.json (host agent config) to detect the model, which goes beyond the skill's core task of stock analysis and accesses host configuration. The instructions also claim behavior (env var check and default model) that the code does not implement.
Install Mechanism
There is no registry install spec, but SKILL.md directs cloning from a public GitHub repo and performing pip install -e, which executes arbitrary setup/install hooks from upstream code. Installing unreviewed third-party code via pip from a repo is a moderate-to-high risk action and should be audited before running.
Credentials
The skill declares no required env vars, but run.py reads /root/.openclaw/openclaw.json to obtain the 'primary' model. Reading a root-level OpenClaw config is disproportionate because it may expose other agents' configuration (and potentially sensitive fields) beyond what's needed for a single simulation. SKILL.md's claim to also consult $OPENCLAW_LLM_MODEL is not reflected in the code, increasing confusion about what the skill will access.
Persistence & Privilege
The skill is not forced-always and does not request persistent platform privileges. It does, however, instruct cloning code into /data/workspace and pip installing it (local persistence of third-party code). The only direct sensitive host access is reading /root/.openclaw/openclaw.json; the skill does not modify other skills or global agent settings in the provided files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ai-hedge-fund
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ai-hedge-fund 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
Model auto-detected from OpenClaw session primary model, no fallback default unless manually specified
v1.1.0
Added run.py script for model auto-detection, no hardcoded model. Based on github.com/virattt/ai-hedge-fund
v1.0.0
Initial release: 16+ investor agents (Buffett, Munger, Burry, etc.), yfinance data, OpenRouter free models. Based on github.com/virattt/ai-hedge-fund
元数据
Slug ai-hedge-fund
版本 1.2.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 3
常见问题

AI Hedge Fund 是什么?

Run an AI-powered hedge fund simulation with 16+ legendary investor agents. Each agent analyzes stocks from their unique investment philosophy. Auto-detects... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 200 次。

如何安装 AI Hedge Fund?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ai-hedge-fund」即可一键安装,无需额外配置。

AI Hedge Fund 是免费的吗?

是的,AI Hedge Fund 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

AI Hedge Fund 支持哪些平台?

AI Hedge Fund 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 AI Hedge Fund?

由 tanjinlimkelvin-dot(@tanjinlimkelvin-dot)开发并维护,当前版本 v1.2.0。

💬 留言讨论