
Stock Daily Analysis
Run LLM-assisted daily technical analysis and buy-signal scoring on A-share, Hong Kong, and US watchlist tickers from your coding agent.
Overview
stock-daily-analysis is an agent skill for the Operate phase that runs LLM-backed daily technical analysis and buy-signal scoring on A-share, HK, and US tickers.
Install
npx skills add https://github.com/chjm-ai/stock-daily-analysis-skill --skill stock-daily-analysisWhat is this skill?
- Covers A-shares, Hong Kong, and US symbols with batch analyze_stocks()
- Computes MA5/10/20, MACD, RSI, bias, trend status, and buy_signal score
- Returns AI operation_advice via DeepSeek, Gemini, or OpenAI-compatible APIs
- Optional integration with market-data skill for stabler ETF feeds
- Produces decision dashboards and market recap style outputs
- Technical stack includes MA5, MA10, and MA20 with MACD, RSI, and bias metrics
- Supports three markets: A-shares, Hong Kong, and US equities
Adoption & trust: 1.2k installs on skills.sh; 183 GitHub stars; 1/3 security scanners passed (skills.sh audits).
What problem does it solve?
You maintain a watchlist but lack a repeatable, agent-invokable pipeline that merges indicators, scores, and plain-language trade guidance each session.
Who is it for?
Indie builders who already use agent sessions for code and want the same loop for disciplined daily stock reviews with configurable LLM providers.
Skip if: Teams needing audited investment advice, compliance-ready research, or fully offline analysis without market APIs and secrets.
When should I use this skill?
股票分析、分析股票、每日分析、技术面分析, or when the user asks for daily stock technical analysis on a watchlist.
What do I get? / Deliverables
You get structured technical_indicator blocks plus ai_analysis with sentiment and operation_advice you can log, dashboard, or fold into a broader market-data workflow.
- Per-ticker technical_indicators and buy_signal score
- ai_analysis with sentiment_score and operation_advice
- Batch results from analyze_stocks for multiple codes
Recommended Skills
Journey fit
Canonical shelf is Operate because the skill supports recurring personal or side-project trading workflows after the product exists, not greenfield product discovery. Iterate fits ongoing watchlist review, dashboard refresh, and tuning configs/API keys rather than one-off launch or build tasks.
How it compares
Use instead of ad-hoc chart screenshots in chat when you want scripted indicators plus scored signals in one JSON-shaped result.
Common Questions / FAQ
Who is stock-daily-analysis for?
Solo and indie builders who trade or track A/H/US names alongside product work and want OpenClaw-style Python analysis callable from their agent.
When should I use stock-daily-analysis?
During Operate iterate cycles for daily watchlist passes, before rebalancing a side portfolio, or when building fintech experiments that need MA/MACD/RSI plus LLM narrative in the same run.
Is stock-daily-analysis safe to install?
It expects API keys and optional external data skills—review the Security Audits panel on this page and treat outputs as informational, not fiduciary advice.
SKILL.md
READMESKILL.md - Stock Daily Analysis
# Daily Stock Analysis for OpenClaw 基于 LLM 的 A/H/美股智能分析 Skill,提供技术面分析和 AI 决策建议。 ## 功能特性 1. **多市场支持** - A股、港股、美股 2. **技术面分析** - MA5/10/20、MACD、RSI、乖离率 3. **趋势交易** - 多头排列判断、买入信号评分 4. **AI 决策** - DeepSeek/Gemini/OpenAI 深度分析 5. **数据源集成** - 可选 market-data skill ## 快速使用 ```python from scripts.analyzer import analyze_stock, analyze_stocks # 单只分析 result = analyze_stock('600519') print(result['ai_analysis']['operation_advice']) # 批量分析 results = analyze_stocks(['600362', '601318', '159892']) ``` ## 配置 1. 复制配置模板: ```bash cp config.example.json config.json ``` 2. 填入 DeepSeek API Key: ```json { "ai": { "provider": "openai", "api_key": "sk-your-deepseek-key", "base_url": "https://api.deepseek.com/v1", "model": "deepseek-chat" } } ``` 3. (可选) 启用 market-data skill 数据源: ```json { "data": { "use_market_data_skill": true, "market_data_skill_path": "../market-data" } } ``` ## 返回数据 ```python { 'code': '600519', 'name': '贵州茅台', 'technical_indicators': { 'trend_status': '强势多头', 'ma5': 1500.0, 'ma10': 1480.0, 'ma20': 1450.0, 'bias_ma5': 2.5, 'macd_status': '金叉', 'rsi_status': '强势买入', 'buy_signal': '买入', 'signal_score': 75 }, 'ai_analysis': { 'sentiment_score': 75, 'operation_advice': '买入', 'confidence_level': '高', 'target_price': '1550', 'stop_loss': '1420' } } ``` ## 项目信息 - **开源协议**: MIT - **项目地址**: https://github.com/yourusername/stock-daily-analysis - **原项目**: https://github.com/ZhuLinsen/daily_stock_analysis --- ⚠️ **免责声明**: 本项目仅供学习研究,不构成投资建议。股市有风险,投资需谨慎。 MIT License Copyright (c) 2026 Wesley Lam Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # 开源审查报告 - 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. 文档完整性 - **状态**: ✅ 通过 - **REA