Daily Stock Analysis v2.1
CLAWHUB · Unverified
LLM驱动的每日股票分析系统完整版 v2.1。支持A股/港股/美股智能分析、决策仪表盘、大盘复盘、板块分析、Agent问股、多渠道推送。提供技术面+基本面综合分析。触发词:股票分析、分析股票、每日分析、大盘复盘、板块分析、问股。 Skill: Daily Stock Analysis v2.1 Owner: same1317 Summary: LLM驱动的每日股票分析系统完整版 v2.1。支持A股/港股/美股智能分析、决策仪表盘、大盘复盘、板块分析、Agent问股、多渠道推送。提供技术面+基本面综合分析。触发词:股票分析、分析股票、每日分析、大盘复盘、板块分析、问股。 Tags: AI:2.1.0, finance:2.1.0, latest:2.1.0, quant:2.1.0, stock:2.1.0 Version history: v2.1.0 | 2026-03-29T06:32:56.027Z | user v2.1: Full version - Fundamental analysis, Market review, Sector analysis, Agent query, Multi-channel push, Concurrent
- 62
- Rank
- 84
- Safety
- 954
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 954 downloads reported by the source. Last updated 10/12/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 12, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 12, 2026
- Adoption signal
- 954 downloadsadoption · Oct 12, 2026
- Latest release
- 2.1.0release · Mar 29, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 2.1.0release
v2.1: Full version - Fundamental analysis, Market review, Sector analysis, Agent query, Multi-channel push, Concurrent analysis
Observed Mar 29, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s174g951b1kmmbaydqmadnkpmn83mbd5:stock-daily-analysis-v2- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-same1317-stock-daily-analysis-v2/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
18,473 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: stock-daily-analysis
description: LLM驱动的每日股票分析系统完整版 v2.1。支持A股/港股/美股智能分析、决策仪表盘、大盘复盘、板块分析、Agent问股、多渠道推送。提供技术面+基本面综合分析。触发词:股票分析、分析股票、每日分析、大盘复盘、板块分析、问股。
---
# Daily Stock Analysis v2.1 (完整集成版)
基于 LLM 的 A/H/美股智能分析 Skill,为 OpenClaw 提供全面的股票分析能力。
## 🎯 项目定位
本项目是 [ZhuLinsen/daily_stock_analysis](https://github.com/ZhuLinsen/daily_stock_analysis) 的 **OpenClaw Skill 完整集成版**。
### v2.1 更新内容
- ✅ 添加飞书卡片消息推送
- ✅ 添加并发批量分析 (`analyze_stocks_concurrent`)
- ✅ 添加 `daily_push()` 每日定时推送函数
- ✅ 添加 Markdown 报告格式生成
- ✅ 优化错误处理
### 功能对比
| 功能 | v1.x | v2.0 | v2.1 |
|------|------|------|------|
| 技术面分析 | ✅ | ✅ | ✅ |
| 基本面分析 | ❌ | ✅ | ✅ |
| 大盘复盘 | ❌ | ✅ | ✅ |
| 板块分析 | ❌ | ✅ | ✅ |
| Agent 问股 | ❌ | ✅ | ✅ |
| 多渠道推送 | ❌ | ⚙️ | ✅ |
| 并发分析 | ❌ | ❌ | ✅ |
| 飞书卡片 | ❌ | ❌ | ✅ |
## 🚀 快速开始
### 安装
```bash
# 依赖安装
pip3 install akshare pandas numpy requests openai yfinance
# 配置
cp config.example.json config.json
# 编辑 config.json 填入你的 API Key
```
### 基本使用
```python
from scripts.analyzer_v2 import (
analyze_stock, # 股票分析(含基本面)
analyze_stocks, # 批量分析(串行)
analyze_stocks_concurrent, # 批量分析(并发)
market_review, # 大盘复盘
sector_analysis, # 板块分析
agent_query, # Agent问股
push_report, # 推送报告
daily_push # 每日推送
)
# 分析单只股票
result = analyze_stock('600519')
# 并发批量分析 (推荐)
results = analyze_stocks_concurrent(['600519', '000858', '601318'], max_workers=5)
# 大盘复盘
cn_market = market_review('cn')
# 板块分析
sectors = sector_analysis()
# Agent问股
answer = agent_query("推荐新能源股票")
# 每日定时推送 (配合 Cron 使用)
daily_push()
```
### 命令行使用
```bash
# 分析股票
python -m scripts.analyzer_v2 analyze 600519 AAPL
# 并发分析 (更快)
python -m scripts.analyzer_v2 concurrent 600519 000858 601318
# 大盘复盘
python -m scripts.analyzer_v2 review cn
python -m scripts.analyzer_v2 review both
# 板块分析
python -m scripts.analyzer_v2 sector
# Agent 问股
python -m scripts.analyzer_v2 agent 推荐银行股
# 每日推送
python -m scripts.analyzer_v2 push
```
## 📊 功能特性
| 功能 | 状态 | 说明 |
|------|------|------|
| A股分析 | ✅ | 支持个股、ETF |
| 港股分析 | ✅ | 支持港股通标的 |
| 美股分析 | ✅ | 支持主流美股、指数 |
| 技术面分析 | ✅ | MA/MACD/RSI/乖离率/量能 |
| 基本面分析 | ✅ | 估值、机构持仓、资金流向 |
| AI 决策建议 | ✅ | DeepSeek/Gemini |
| 大盘复盘 | ✅ | A股/美股指数、涨跌统计 |
| 板块分析 | ✅ | 行业/概念板块涨跌榜 |
| Agent 问股 | ✅ | 策略问答、股票推荐 |
| 飞书推送 | ✅ | 卡片消息格式 |
| 企业微信 | ✅ | Markdown 格式 |
| Telegram | ✅ | Markdown 格式 |
| Discord | ✅ | 文本格式 |
| 邮件 | ✅ | SMTP 发送 |
## 🏗️ 项目结构
```
stock-daily-analysis/
├── SKILL.md # OpenClaw Skill 定义
├── README.md # 项目文档
├── LICENSE # MIT 许可证
├── config.example.json # 配置示例
├── config.json # 用户配置 (gitignore)
├── requirements.txt # Python 依赖
└── scripts/
├── analyzer_v2.py # 主入口 (v2.1)
├── analyzer.py # 主入口 (基础版)
├── data_fetcher.py # 数据获取
├── market_data_bridge.py # market-data skill 桥接
├── trend_analyzer.py # 技术分析引擎
├── ai_analyzer.py # AI 分析模块
├── fundamental.pREADME.md
# Daily Stock Analysis for OpenClaw
> 基于 LLM 的股票智能分析 Skill,为 OpenClaw 提供 A股/港股/美股 技术面分析和 AI 决策建议。
## 🎯 项目定位
本项目是 [ZhuLinsen/daily_stock_analysis](https://github.com/ZhuLinsen/daily_stock_analysis) 的 **OpenClaw Skill 适配版**。
与原版相比,本项目的特点:
- ✅ **OpenClaw 原生集成** - 直接作为 Skill 调用
- ✅ **模块化设计** - 可独立使用或与 market-data skill 配合
- ✅ **简化依赖** - 核心功能零配置即可运行
- ✅ **开源友好** - MIT 协议,欢迎贡献
## 🚀 快速开始
### 安装
```bash
cd ~/workspace/skills/
git clone https://github.com/yourusername/stock-daily-analysis.git
# 安装依赖
pip3 install akshare pandas numpy requests
```
### 配置
```bash
cp config.example.json config.json
# 编辑 config.json 填入你的 API Key
```
### 使用
```python
from scripts.analyzer import analyze_stock, analyze_stocks
# 分析单只股票
result = analyze_stock('600519')
print(result['ai_analysis']['operation_advice']) # 买入/持有/观望
# 分析多只股票
results = analyze_stocks(['600519', 'AAPL', '00700'])
```
## 📊 功能特性
| 功能 | 状态 | 说明 |
|------|------|------|
| A股分析 | ✅ | 支持个股、ETF |
| 港股分析 | ✅ | 支持港股通标的 |
| 美股分析 | ✅ | 基础行情获取 |
| 技术面分析 | ✅ | MA/MACD/RSI/乖离率 |
| AI 决策建议 | ✅ | DeepSeek/Gemini |
| 市场数据源集成 | ✅ | 可选 [market-data skill](https://github.com/chjm-ai/openclaw-market-data) |
## 🏗️ 项目结构
```
stock-daily-analysis/
├── SKILL.md # OpenClaw Skill 定义
├── README.md # 项目文档
├── LICENSE # MIT 许可证
├── config.example.json # 配置示例
├── config.json # 用户配置 (gitignore)
├── requirements.txt # Python 依赖
└── scripts/
├── analyzer.py # 主入口
├── data_fetcher.py # akshare 数据获取
├── market_data_bridge.py # market-data skill 桥接
├── trend_analyzer.py # 技术分析引擎
├── ai_analyzer.py # AI 分析模块
└── notifier.py # 报告输出
```
## 🔧 配置说明
### AI 模型配置
**DeepSeek (推荐,国内可用)**
```json
{
"ai": {
"provider": "openai",
"api_key": "sk-your-deepseek-key",
"base_url": "https://api.deepseek.com/v1",
"model": "deepseek-chat"
}
}
```
**Gemini (免费,需代理)**
```json
{
"ai": {
"provider": "gemini",
"api_key": "your-gemini-key",
"model": "gemini-3-flash-preview"
}
}
```
### 数据源配置
**方案1:使用 akshare (默认)**
```json
{
"data": {
"use_market_data_skill": false
}
}
```
**方案2:使用 market-data skill (推荐用于 ETF)**
```json
{
"data": {
"use_market_data_skill": true,
"market_data_skill_path": "../market-data"
}
}
```
## 🤝 与 market-data skill 集成
如果你的 OpenClaw 已安装 [market-data skill](https://github.com/chjm-ai/openclaw-market-data),本项目可自动调用其数据源:
```bash
workspace/skills/
├── market-data/ # 已安装
└── stock-daily-analysis/ # 本项目
```
配置 `use_market_data_skill: true` 后,ETF 数据将通过 market-data skill 获取,稳定性更好。
### 安装 market-data skill
```bash
cd ~/workspace/skills/
git clone https://github.com/chjm-ai/openclaw-market-data.git market-data
```
### 启用集成
```json
{
"data": {
"use_market_data_skill": true,
"market_data_skill_path": "../market-data"
}
}
```
## 📈 返回数据格式
```python
{
'code': '600519',
'name': '贵州茅台',
'technical_indicator_meta.json
{
"ownerId": "kn76tv0mmtdhgavrq7m0jbavmx83mdw6",
"slug": "stock-daily-analysis-v2",
"version": "2.1.0",
"publishedAt": 1774765976027
}OPEN_SOURCE_REVIEW.md
# 开源审查报告 - Daily Stock Analysis for OpenClaw
**审查日期**: 2025-02-04
**审查版本**: v1.0.0
**审查人**: Wesley Lam
---
## 📋 审查总结
| 类别 | 状态 | 备注 |
|------|------|------|
| 许可证 | ✅ 通过 | MIT 许可证 |
| 代码质量 | ✅ 通过 | 结构清晰,文档完善 |
| 安全性 | ⚠️ 注意 | API Key 已正确排除在版本控制外 |
| 依赖管理 | ✅ 通过 | requirements.txt 完整 |
| 文档 | ✅ 通过 | README、SKILL.md 齐全 |
| 开源合规 | ✅ 通过 | 正确引用原项目 |
---
## ✅ 通过项
### 1. 许可证 (License)
- **状态**: ✅ 通过
- **文件**: `LICENSE` (MIT License)
- **说明**: 使用 MIT 许可证,符合开源要求
- **建议**: 在 README 中添加许可证徽章
### 2. 代码结构
- **状态**: ✅ 通过
- **结构**:
```
stock-daily-analysis/
├── SKILL.md # OpenClaw Skill 定义 ✅
├── README.md # 项目文档 ✅
├── LICENSE # MIT 许可证 ✅
├── config.example.json # 配置模板 ✅
├── .gitignore # Git 忽略规则 ✅
├── requirements.txt # Python 依赖 ✅
└── scripts/
├── analyzer.py # 主入口 ✅
├── ai_analyzer.py # AI 分析模块 ✅
├── data_fetcher.py # 数据获取 ✅
├── trend_analyzer.py # 技术分析 ✅
├── notifier.py # 报告输出 ✅
└── market_data_bridge.py # market-data 集成 ✅
```
### 3. 文档完整性
- **状态**: ✅ 通过
- **README.md**: 包含安装、配置、使用说明
- **SKILL.md**: OpenClaw Skill 标准格式
- **代码注释**: 关键函数均有 docstring
### 4. 依赖管理
- **状态**: ✅ 通过
- **文件**: `requirements.txt`
- **依赖项**:
- akshare>=1.12.0
- pandas>=2.0.0
- numpy>=1.24.0
- requests>=2.31.0
- openai>=1.0.0
- python-dotenv>=1.0.0
### 5. 开源合规
- **状态**: ✅ 通过
- **原项目引用**: 正确引用 ZhuLinsen/daily_stock_analysis
- **修改说明**: 明确说明本项目是适配版
---
## ⚠️ 注意事项
### 1. API Key 安全
- **状态**: ⚠️ 注意
- **当前状态**:
- ✅ `config.json` 已添加到 `.gitignore`
- ✅ 提供 `config.example.json` 模板
- ✅ 模板中无真实 API Key
- **建议**: 在 README 中强调不要提交 config.json
### 2. 代码改进建议
#### 2.1 添加类型提示
当前部分函数缺少类型提示,建议补充:
```python
def analyze_stock(code: str, config: Optional[Dict] = None) -> Dict[str, Any]:
...
```
#### 2.2 添加错误重试机制
建议为网络请求添加指数退避重试:
```python
from tenacity import retry, stop_after_attempt, wait_exponential
@retry(stop=stop_after_attempt(3), wait=wait_exponential(multiplier=1, min=4, max=10))
def fetch_data(...):
...
```
#### 2.3 添加单元测试
建议添加测试目录:
```
tests/
├── __init__.py
├── test_data_fetcher.py
├── test_trend_analyzer.py
└── test_ai_analyzer.py
```
---
## 🚀 发布前检查清单
### 必须完成
- [x] LICENSE 文件
- [x] README.md 完整
- [x] .gitignore 正确配置
- [x] config.json 排除在版本控制外
- [x] requirements.txt 完整
- [x] 代码清理(已删除 daily_stock_analysis 子目录)
### 建议完成
- [ ] 添加 GitHub Actions CI
- [ ] 添加单元测试
- [ ] 添加类型检查(mypy)
- [ ] 添加代码格式化配置(black/flake8)
- [ ] 添加贡献指南(CONTRIBUTING.md)
- [ ] 添加变更日志(CHANGELOG.md)
---
## 📊 代码统计
```
语言 文件数 代码行 注释行 空行
Python 6 ~1800 ~400 ~300
Markdown 2 ~400 ~50 ~50
JSON 2 ~50 0 0
总计: ~3000 行
```
---
## 📝 发布建议
### 版本号
建议首次发布:**v1.0.0**
### 发布步骤
1. 创建 GitHub 仓库
2. 初始化 git 并推送
3. 创建 Release Tag
4. 发布到 ClawHub(可选)
### Git 提交建议
```bash
git init
git add .
git commit -m "Initial release: v1.0.0 - Daily stock analysis for OpenClaw
Featurskill-card.md
## Description: Daily Stock Analysis v2.1 is an LLM-driven stock analysis skill for A-share, Hong Kong, and U.S. equities, with technical and fundamental analysis, market and sector reviews, agent Q&A, and multi-channel report delivery. This skill is for research and development only. ## Publisher: [same1317](https://clawhub.ai/user/same1317) ### License/Terms of Use: MIT-0 ## Use Case: Developers and external users can use this skill to generate daily stock analysis, market reviews, sector summaries, and stock-strategy Q&A for A-share, Hong Kong, and U.S. market workflows. The artifact states it is for learning and research and does not provide investment advice. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Setup and update helpers can install or refresh mutable upstream code that was not part of the reviewed local package. Mitigation: Use the reviewed local package where possible; avoid setup or update helpers unless the upstream repository is pinned to a reviewed commit, and do not run them as root. Risk: Configuration can contain API keys, webhook URLs, chat identifiers, and email credentials used for outbound reports. Mitigation: Use least-privilege credentials, keep push delivery disabled until explicitly configured, and remove any backup environment files that contain secrets. Risk: AI analysis and pushed reports may disclose prompts, holdings, watchlists, or generated financial analysis to third-party services. Mitigation: Review configured AI providers and push channels before use, and treat generated reports as data shared outside the local workspace. Risk: Generated stock analysis may be incorrect, stale, or unsuitable for investment decisions. Mitigation: Use the output for learning and research only, verify market data independently, and do not treat generated analysis as financial advice. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/same1317/skills/stock-daily-analysis-v2) - [akshare data source](https://github.com/akfamily/akshare) - [OpenClaw market-data skill](https://github.com/chjm-ai/openclaw-market-data) ## Skill Output: **Output Type(s):** [text, markdown, code, shell commands, configuration, guidance] **Output Format:** [Markdown reports, JSON-like Python dictionaries, and command-line output] **Output Parameters:** [1D] **Other Properties Related to Output:** [May send generated reports through configured webhook or email channels when push delivery is enabled.] ## Skill Version(s): 2.1.0 (source: server release metadata) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-same1317-stock-daily-analysis-v2. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about Daily Stock Analysis v2.1. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-same1317-stock-daily-analysis-v2, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"label": "Vendor",
"value": "Clawhub",
"category": "vendor",
"href": "https://clawhub.ai/same1317/skills/stock-daily-analysis-v2",
"sourceUrl": "https://clawhub.ai/same1317/skills/stock-daily-analysis-v2",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-12T02:33:31.204Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "protocols",
"label": "Protocol compatibility",
"value": "OpenClaw",
"category": "compatibility",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-same1317-stock-daily-analysis-v2/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-same1317-stock-daily-analysis-v2/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-12T02:33:31.204Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "traction",
"label": "Adoption signal",
"value": "954 downloads",
"category": "adoption",
"href": "https://clawhub.ai/same1317/stock-daily-analysis-v2",
"sourceUrl": "https://clawhub.ai/same1317/stock-daily-analysis-v2",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-12T02:33:31.204Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "latest_release",
"label": "Latest release",
"value": "2.1.0",
"category": "release",
"href": "https://clawhub.ai/same1317/stock-daily-analysis-v2",
"sourceUrl": "https://clawhub.ai/same1317/stock-daily-analysis-v2",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-29T06:32:56.027Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "handshake_status",
"label": "Handshake status",
"value": "UNKNOWN",
"category": "security",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-same1317-stock-daily-analysis-v2/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-same1317-stock-daily-analysis-v2/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true,
"metadata": {}
}
],
"events": [
{
"eventType": "release",
"title": "Release 2.1.0",
"description": "v2.1: Full version - Fundamental analysis, Market review, Sector analysis, Agent query, Multi-channel push, Concurrent analysis",
"href": "https://clawhub.ai/same1317/stock-daily-analysis-v2",
"sourceUrl": "https://clawhub.ai/same1317/stock-daily-analysis-v2",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-29T06:32:56.027Z",
"isPublic": true,
"metadata": {}
}
]
}Record generated Nov 24, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-same1317-stock-daily-analysis-v2/run-check
