📦 Stock Analysis — 股票加密分析
v6.2.0使用 Yahoo Finance 数据分析股票和加密货币,支持投资组合管理、监控列表与提醒、股息分析、8维股票评分、热门趋势检测和传闻/早期信号检测。
210· 4.4万·491 当前·521 累计
安全扫描
OpenClaw
可疑
high confidence该技能大部分符合股票分析工具,但存在多处不一致和风险指令(Cookie 提取/授予终端完全磁盘访问权限、未声明的环境变量以及未解释的 'uv' 依赖),用户应在安装或运行前审查。
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv6.2.02026/1/14
🔮 Rumor Scanner: M&A rumors, insider activity, Twitter whispers, impact scoring
● 可疑
安装命令
点击复制官方npx clawhub@latest install stock-analysis
🇨🇳 镜像加速npx clawhub@latest install stock-analysis --registry https://cn.longxiaskill.com
技能文档
使用 reportify-cli 命令分析个股和进行金融研究。对于复杂的多步骤研究,委派给 Reportify Agent。
快捷方式(如已配置):$search = reportify-cli search、$stock = reportify-cli stock、$quant = reportify-cli quant、$agent = reportify-cli agent
安装:pip3 install reportify-cli
API 密钥:在 https://reportify.cn/skills 获取密钥,然后设置:
export REPORTIFY_API_KEY="your_api_key"
代码格式
| 模块 | 格式 | 示例 |
|---|---|---|
stock / quant | 纯代码 | AAPL、600519、00700 |
search 代码 | 市场:代码 | US:AAPL、SH:600519、HK:00700 |
CLI 工具
公司数据(reportify-cli stock)
overview— 公司概况、业务摘要、高管信息income_statement— 收入、利润趋势(年度/季度)balance_sheet— 资产、负债结构cashflow_statement— 现金流生成、资本支出revenue_breakdown— 按业务/地区收入拆分shareholders— 主要股东
市场数据
reportify-cli stock quote— 日线价格、成交量、市值、PE、PSreportify-cli stock index_quote— 指数价格历史reportify-cli quant minute— 实时盘中价格(使用start_datetime/end_datetime配合HH:MM:SS)reportify-cli quant ohlcv— 日线 OHLCV K线
技术分析(reportify-cli quant)
compute_indicators— RSI、MACD、KDJ、BOLL、ATR 等compute_factors— PE、PB、ROE、ROA 等
文档研究(reportify-cli search)
reports— 研究报告(需要query)news— 财经新闻(需要query)conference_calls— 财报电话会议记录(需要symbols,可选query)earnings_pack— 财报资料包(需要symbols,可选query)filings— 公司公告(需要query+symbols)webpages— 网页搜索(优先于内置 web_search)
工作流
1. 公司概览
"介绍一下 AAPL"
→ reportify-cli stock overview --input '{"symbols": "AAPL"}'
→ reportify-cli stock quote --input '{"symbol": "AAPL"}'
→ reportify-cli search earnings_pack --input '{"symbols": ["US:AAPL"], "num": 1}'
2. 投资分析
"TSLA 值得买吗?"
→ reportify-cli stock overview + stock quote(基本面 + 估值)
→ reportify-cli stock income_statement(收入和利润趋势)
→ reportify-cli quant compute_indicators --input '{"symbols": ["TSLA"], "formula": "RSI(14)"}'
→ reportify-cli search reports --input '{"query": "Tesla", "symbols": ["US:TSLA"]}'
→ reportify-cli search conference_calls --input '{"symbols": ["US:TSLA"], "num": 1}'
3. 财务深度分析
"分析 MSFT 的财务状况"
→ reportify-cli stock income_statement --input '{"symbol": "MSFT", "period": "annual", "limit": 4}'
→ reportify-cli stock balance_sheet --input '{"symbol": "MSFT", "period": "annual"}'
→ reportify-cli stock cashflow_statement --input '{"symbol": "MSFT"}'
→ reportify-cli stock revenue_breakdown --input '{"symbol": "MSFT", "limit": 4}'
→ reportify-cli quant compute_factors --input '{"symbols": ["MSFT"], "formula": "PE_TTM()"}'
4. 财报回顾
"AAPL 财报回顾"
→ reportify-cli search earnings_pack --input '{"symbols": ["US:AAPL"], "num": 1}'
→ reportify-cli search conference_calls --input '{"symbols": ["US:AAPL"], "num": 1}'
→ reportify-cli stock income_statement --input '{"symbol": "AAPL", "period": "quarterly", "limit": 4}'
→ reportify-cli search news --input '{"query": "Apple earnings", "symbols": ["US:AAPL"]}'
5. 多股对比
"对比 AAPL vs MSFT vs GOOGL"
→ 每只股票执行 reportify-cli stock overview
→ 每只股票执行 reportify-cli stock quote(并排估值对比)
→ reportify-cli quant compute_factors --input '{"symbols": ["AAPL","MSFT","GOOGL"], "formula": "PE_TTM()"}'
→ 呈现对比表格
6. 新闻与情绪
"NVIDIA 最新新闻"
→ reportify-cli search news --input '{"query": "NVIDIA", "symbols": ["US:NVDA"], "num": 10}'
→ reportify-cli search socials --input '{"query": "NVIDIA AI", "num": 5}'
→ reportify-cli stock quote --input '{"symbol": "NVDA"}'(市场反应上下文)
深度研究模式(通过 Agent)
对于单个 CLI 命令无法处理的复杂任务,委派给 Reportify Agent:
何时委派:
- 跨季度对比:"2025 Q1-Q4 中 AWS 资本开支指引如何变化?"
- 多源综合:"鲍威尔在1月29日 FOMC 中对货币政策说了什么?"
- 跨季度管理层评论提取
- 需要文档检索 + 分析 + 结构化输出的研究
工作流:
# 步骤 1:创建对话
RESULT=$(reportify-cli agent create_conversation --input "{\"conversation_type\": \"bot_chat\", \"title\": \"用户的问题\"}")
CONV_ID=$(echo "$RESULT" | python3 -c "import sys,json; print(json.load(sys.stdin)['id'])")
TASK_URL=$(echo "$RESULT" | python3 -c "import sys,json; print(json.load(sys.stdin).get('url',''))")# 步骤 2:发送任务 — 关键:逐字传递用户的原始问题
CHAT_RESULT=$(reportify-cli agent chat --input "{\"conversation_id\": ${CONV_ID}, \"message\": \"用户的原始问题\", \"background\": true}")
# 步骤 3:用 TASK_URL 通知用户
深度研究示例:
- "2025Q3财报电话会里,台积电对CoWos的相关讨论是什么"
- "在2025Q1-Q4电话会中,亚马逊管理层对 AWS 资本开支的态度分别是什么?"
- "鲍威尔在2026年1月29日FOMC新闻发布会中对未来货币政策的描述"
- "在2025Q4电话会中,Meta管理层对AI推理算力需求的表述"
最佳实践
- 从概览开始 —
reportify-cli stock overview+stock quote获取上下文 - 组合来源 — 财务报表 + 指标 + 文档获取完整图景
- 正确的代码格式 —
stock/quant:纯代码;search:市场:代码 - 交叉验证 — 将财报电话会中的声明与实际财务数据对比
- 委派复杂性 — 单个 CLI 命令能处理 → 使用 CLI;多步骤 → 使用 Agent
参考
详细 API 参数见 references/api_reference.md。
数据来源:ClawHub ↗ · 中文优化:龙虾技能库