By chjm-ai
Automate daily stock market analysis for A/HK/US markets using technical indicators (MA, MACD, RSI, bias) and AI-powered scoring to generate buy signals and trend assessments, integrating with market-data skills for ETF data.
基于 LLM 的股票智能分析 Skill,为 OpenClaw 提供 A股/港股/美股 技术面分析和 AI 决策建议。
本项目是 ZhuLinsen/daily_stock_analysis 的 OpenClaw Skill 适配版。
与原版相比,本项目的特点:
cd ~/workspace/skills/
git clone https://github.com/yourusername/stock-daily-analysis.git
# 安装依赖
pip3 install akshare pandas numpy requests
cp config.example.json config.json
# 编辑 config.json 填入你的 API Key
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 |
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 # 报告输出
DeepSeek (推荐,国内可用)
{
"ai": {
"provider": "openai",
"api_key": "sk-your-deepseek-key",
"base_url": "https://api.deepseek.com/v1",
"model": "deepseek-chat"
}
}
Gemini (免费,需代理)
{
"ai": {
"provider": "gemini",
"api_key": "your-gemini-key",
"model": "gemini-3-flash-preview"
}
}
方案1:使用 akshare (默认)
{
"data": {
"use_market_data_skill": false
}
}
方案2:使用 market-data skill (推荐用于 ETF)
{
"data": {
"use_market_data_skill": true,
"market_data_skill_path": "../market-data"
}
}
如果你的 OpenClaw 已安装 market-data skill,本项目可自动调用其数据源:
workspace/skills/
├── market-data/ # 已安装
└── stock-daily-analysis/ # 本项目
配置 use_market_data_skill: true 后,ETF 数据将通过 market-data skill 获取,稳定性更好。
cd ~/workspace/skills/
git clone https://github.com/chjm-ai/openclaw-market-data.git market-data
{
"data": {
"use_market_data_skill": true,
"market_data_skill_path": "../market-data"
}
}
{
'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,
'signal_reasons': [...],
'risk_factors': [...]
},
'ai_analysis': {
'sentiment_score': 75,
'trend_prediction': '强势多头',
'operation_advice': '买入',
'confidence_level': '高',
'analysis_summary': '多头排列 | MACD金叉 | 量能配合',
'target_price': '1550',
'stop_loss': '1420'
}
}
欢迎提交 Issue 和 PR!
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)本项目仅供学习研究使用,不构成任何投资建议。股市有风险,投资需谨慎。
MIT License - 详见 LICENSE 文件
Made with ❤️ for OpenClaw
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub chjm-ai/stock-daily-analysis-skillAgent skill for real-time stock monitoring and market alerts. Tracks equities and notifies on price movements or thresholds.
OpenClaw stock skill leveraging Akshare for real-time stock data retrieval and analysis.
Trading skill that analyzes US stock fundamentals, technicals, and valuations to support investment research and decision-making.
Specialized skill for quantitative trading analysis on TradingView. Enables AI agents to create and analyze trading strategies and indicators.
A股/港股/美股个股深度分析引擎 · 22维数据 × 51位大佬量化评委 × 17种机构级分析方法 · 杀猪盘检测 · Bloomberg风格HTML报告 | A-share / HK / US stock deep-analysis with first-class Chinese-market coverage — 22 data dims × 51-investor jury × 17 institutional methods · trap detection · Bloomberg-style HTML report
Institutional-grade equity research tool generating professional buy/sell recommendations with fundamental analysis, technical indicators, and risk assessment for investment decisions.
AI skill for aggregating and analyzing financial news and market intelligence from AlphaEar feeds to inform investment decisions.