Finnhub 美股金融数据 CLI。实时报价、公司档案、新闻、分析师推荐、内部人交易、盈利日历、基本面财务、同行比较。Python 脚本封装,免费层 60 次/分钟。Use when: 查股价、查公司信息、看最新新闻、了解内部人是否在买卖、查看近期财报日期。NOT for: K线数据、目标价、情绪分析(需付费层)。
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install finnhub-pro或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install finnhub-pro⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/finnhub-pro/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: finnhub-pro description: "Finnhub 美股金融数据 CLI。实时报价、公司档案、新闻、分析师推荐、内部人交易、盈利日历、基本面财务、同行比较。Python 脚本封装,免费层 60 次/分钟。Use when: 查股价、查公司信息、看最新新闻、了解内部人是否在买卖、查看近期财报日期。NOT for: K线数据、目标价、情绪分析(需付费层)。" version: 1.0.0 ---
Python CLI 封装 Finnhub API,聚焦免费层实际可用的 10 个功能。
pip install finnhub-python
export FINNHUB_API_KEY="your-key-here"~/.openclaw/.env⚠️ 脚本不硬编码 Key,必须通过环境变量 FINNHUB_API_KEY 传入!
# 基础格式
FINNHUB_API_KEY="your-key" python3 scripts/finnhub_cli.py <command> [args] [--json] [--limit N]
# 推荐:设好环境变量后直接用
python3 scripts/finnhub_cli.py quote AAPL
python3 scripts/finnhub_cli.py quote AAPL
python3 scripts/finnhub_cli.py quote NVDA --json # 原始 JSON
python3 scripts/finnhub_cli.py profile AAPL
python3 scripts/finnhub_cli.py news NVDA
python3 scripts/finnhub_cli.py news AAPL --from 2026-02-01 --to 2026-02-21 --limit 5
python3 scripts/finnhub_cli.py recommend NVDA
python3 scripts/finnhub_cli.py insiders AAPL
python3 scripts/finnhub_cli.py insiders NVDA --from 2026-01-01 --to 2026-02-21
python3 scripts/finnhub_cli.py earnings # 所有股票
python3 scripts/finnhub_cli.py earnings NVDA # 指定股票
python3 scripts/finnhub_cli.py earnings --from 2026-02-21 --to 2026-03-07
python3 scripts/finnhub_cli.py financials AAPL
python3 scripts/finnhub_cli.py financials NVDA --json # 全部指标
python3 scripts/finnhub_cli.py market # 默认美国
python3 scripts/finnhub_cli.py market NYSE
python3 scripts/finnhub_cli.py peers AAPL
python3 scripts/finnhub_cli.py search "apple"
stock_candles)price_target)news_sentiment)finnhub-python(pip install finnhub-python)安装 Finnhub Pro 后,可以对 AI 说这些话来触发它
Help me get started with Finnhub Pro
Explains what Finnhub Pro does, walks through the setup, and runs a quick demo based on your current project
Use Finnhub Pro to finnhub US stock financial data CLI
Invokes Finnhub Pro with the right parameters and returns the result directly in the conversation
What can I do with Finnhub Pro in my finance & investment workflow?
Lists the top use cases for Finnhub Pro, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/finnhub-pro/ 目录(个人级,所有项目可用),或 .claude/skills/finnhub-pro/(项目级)。重启 AI 客户端后,用 /finnhub-pro 主动调用,或让 AI 根据上下文自动发现并使用。
Finnhub Pro 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Finnhub Pro 可免费安装使用。请查阅仓库了解许可证信息。
Finnhub 美股金融数据 CLI。实时报价、公司档案、新闻、分析师推荐、内部人交易、盈利日历、基本面财务、同行比较。Python 脚本封装,免费层 60 次/分钟。Use when: 查股价、查公司信息、看最新新闻、了解内部人是否在买卖、查看近期财报日期。NOT for: K线数据、目标价、情绪分析(需付费层)。
Finnhub Pro 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Finnhub Pro
Identifies repetitive steps in your workflow and sets up Finnhub Pro to handle them automatically