360 Secure SkillHub
360 安全技能中心

AI Hedge Fund

基于外部 ai-hedge-fund 项目,用 16 个以上投资大师风格智能体分析指定股票,各智能体给出信号、置信度与推理,组合经理汇总为买入/卖出/持有建议。行情数据通过 yfinance 免费获取,模型从宿主会话自动检测,需先克隆仓库并安装依赖。

tanjinlimkelvin-dot
tanjinlimkelvin-dot
热度 65.44
最近更新 2026-05-11 17:42:20
分类:数据依赖:代码执行 / 第三方 API / 内部调用大模型 / 读写文件应用场景:财务 / 市场分析 / 报告撰写 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ai-hedge-fund
Metadata
name
ai-hedge-fund
description
Run an AI-powered hedge fund simulation with 16+ legendary investor agents. Each agent analyzes stocks from their unique investment philosophy. Auto-detects model from current OpenClaw session, no hardcoding. Uses yfinance for free financial data. Based on github.com/virattt/ai-hedge-fund.

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)