Skip to content
Back to search

stock-daily-analysis

LLM驱动的每日股票分析系统。支持A股/港股/美股自选股智能分析,生成决策仪表盘和大盘复盘报告。提供技术面分析(均线、MACD、RSI、乖离率)、趋势判断、买入信号评分。可与market-data skill集成获取更稳定的ETF数据。触发词:股票分析、分析股票、每日分析、技术面分析。

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/chjm-ai-stock-daily-analysis-skill/badge.svg)](/listings/chjm-ai-stock-daily-analysis-skill)

HTML

<a href="/listings/chjm-ai-stock-daily-analysis-skill"><img src="/api/listings/chjm-ai-stock-daily-analysis-skill/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

cd ~/workspace/skills/
git clone https://github.com/yourusername/stock-daily-analysis.git

# 安装依赖
pip3 install akshare pandas numpy requests

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

SKILL.md · Manifest · 93 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. ---
  2. name: stock-daily-analysis
  3. description: LLM驱动的每日股票分析系统。支持A股/港股/美股自选股智能分析,生成决策仪表盘和大盘复盘报告。提供技术面分析(均线、MACD、RSI、乖离率)、趋势判断、买入信号评分。可与market-data skill集成获取更稳定的ETF数据。触发词:股票分析、分析股票、每日分析、技术面分析。
  4. ---
  5. # Daily Stock Analysis for OpenClaw
  6. 基于 LLM 的 A/H/美股智能分析 Skill,提供技术面分析和 AI 决策建议。
  7. ## 功能特性
  8. 1. **多市场支持** - A股、港股、美股
  9. 2. **技术面分析** - MA5/10/20、MACD、RSI、乖离率
  10. 3. **趋势交易** - 多头排列判断、买入信号评分
  11. 4. **AI 决策** - DeepSeek/Gemini/OpenAI 深度分析
  12. 5. **数据源集成** - 可选 market-data skill
  13. ## 快速使用
  14. ```python
  15. from scripts.analyzer import analyze_stock, analyze_stocks
  16. # 单只分析
  17. result = analyze_stock('600519')
  18. print(result['ai_analysis']['operation_advice'])
  19. # 批量分析
  20. results = analyze_stocks(['600362', '601318', '159892'])
  21. ```
  22. ## 配置
  23. 1. 复制配置模板:
  24. ```bash
  25. cp config.example.json config.json
  26. ```
  27. 2. 填入 DeepSeek API Key:
  28. ```json
  29. {
  30. "ai": {
  31. "provider": "openai",
  32. "api_key": "sk-your-deepseek-key",
  33. "base_url": "https://api.deepseek.com/v1",
  34. "model": "deepseek-chat"
  35. }
  36. }
  37. ```
  38. 3. (可选) 启用 market-data skill 数据源:
  39. ```json
  40. {
  41. "data": {
  42. "use_market_data_skill": true,
  43. "market_data_skill_path": "../market-data"
  44. }
  45. }
  46. ```
  47. ## 返回数据
  48. ```python
  49. {
  50. 'code': '600519',
  51. 'name': '贵州茅台',
  52. 'technical_indicators': {
  53. 'trend_status': '强势多头',
  54. 'ma5': 1500.0, 'ma10': 1480.0, 'ma20': 1450.0,
  55. 'bias_ma5': 2.5,
  56. 'macd_status': '金叉',
  57. 'rsi_status': '强势买入',
  58. 'buy_signal': '买入',
  59. 'signal_score': 75
  60. },
  61. 'ai_analysis': {
  62. 'sentiment_score': 75,
  63. 'operation_advice': '买入',
  64. 'confidence_level': '高',
  65. 'target_price': '1550',
  66. 'stop_loss': '1420'
  67. }
  68. }
  69. ```
  70. ## 项目信息
  71. - **开源协议**: MIT
  72. - **项目地址**: https://github.com/yourusername/stock-daily-analysis
  73. - **原项目**: https://github.com/ZhuLinsen/daily_stock_analysis
  74. ---
  75. ⚠️ **免责声明**: 本项目仅供学习研究,不构成投资建议。股市有风险,投资需谨慎。
README.md · README · 220 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Daily Stock Analysis for OpenClaw
  2. > 基于 LLM 的股票智能分析 Skill,为 OpenClaw 提供 A股/港股/美股 技术面分析和 AI 决策建议。
  3. ## 🎯 项目定位
  4. 本项目是 [ZhuLinsen/daily_stock_analysis](https://github.com/ZhuLinsen/daily_stock_analysis) 的 **OpenClaw Skill 适配版**。
  5. 与原版相比,本项目的特点:
  6. - ✅ **OpenClaw 原生集成** - 直接作为 Skill 调用
  7. - ✅ **模块化设计** - 可独立使用或与 market-data skill 配合
  8. - ✅ **简化依赖** - 核心功能零配置即可运行
  9. - ✅ **开源友好** - MIT 协议,欢迎贡献
  10. ## 🚀 快速开始
  11. ### 安装
  12. ```bash
  13. cd ~/workspace/skills/
  14. git clone https://github.com/yourusername/stock-daily-analysis.git
  15. # 安装依赖
  16. pip3 install akshare pandas numpy requests
  17. ```
  18. ### 配置
  19. ```bash
  20. cp config.example.json config.json
  21. # 编辑 config.json 填入你的 API Key
  22. ```
  23. ### 使用
  24. ```python
  25. from scripts.analyzer import analyze_stock, analyze_stocks
  26. # 分析单只股票
  27. result = analyze_stock('600519')
  28. print(result['ai_analysis']['operation_advice']) # 买入/持有/观望
  29. # 分析多只股票
  30. results = analyze_stocks(['600519', 'AAPL', '00700'])
  31. ```
  32. ## 📊 功能特性
  33. | 功能 | 状态 | 说明 |
  34. |------|------|------|
  35. | A股分析 | ✅ | 支持个股、ETF |
  36. | 港股分析 | ✅ | 支持港股通标的 |
  37. | 美股分析 | ✅ | 基础行情获取 |
  38. | 技术面分析 | ✅ | MA/MACD/RSI/乖离率 |
  39. | AI 决策建议 | ✅ | DeepSeek/Gemini |
  40. | 市场数据源集成 | ✅ | 可选 [market-data skill](https://github.com/chjm-ai/openclaw-market-data) |
  41. ## 🏗️ 项目结构
  42. ```
  43. stock-daily-analysis/
  44. ├── SKILL.md # OpenClaw Skill 定义
  45. ├── README.md # 项目文档
  46. ├── LICENSE # MIT 许可证
  47. ├── config.example.json # 配置示例
  48. ├── config.json # 用户配置 (gitignore)
  49. ├── requirements.txt # Python 依赖
  50. └── scripts/
  51. ├── analyzer.py # 主入口
  52. ├── data_fetcher.py # akshare 数据获取
  53. ├── market_data_bridge.py # market-data skill 桥接
  54. ├── trend_analyzer.py # 技术分析引擎
  55. ├── ai_analyzer.py # AI 分析模块
  56. └── notifier.py # 报告输出
  57. ```
  58. ## 🔧 配置说明
  59. ### AI 模型配置
  60. **DeepSeek (推荐,国内可用)**
  61. ```json
  62. {
  63. "ai": {
  64. "provider": "openai",
  65. "api_key": "sk-your-deepseek-key",
  66. "base_url": "https://api.deepseek.com/v1",
  67. "model": "deepseek-chat"
  68. }
  69. }
  70. ```
  71. **Gemini (免费,需代理)**
  72. ```json
  73. {
  74. "ai": {
  75. "provider": "gemini",
  76. "api_key": "your-gemini-key",
  77. "model": "gemini-3-flash-preview"
  78. }
  79. }
  80. ```
  81. ### 数据源配置
  82. **方案1:使用 akshare (默认)**
  83. ```json
  84. {
  85. "data": {
  86. "use_market_data_skill": false
  87. }
  88. }
  89. ```
  90. **方案2:使用 market-data skill (推荐用于 ETF)**
  91. ```json
  92. {
  93. "data": {
  94. "use_market_data_skill": true,
  95. "market_data_skill_path": "../market-data"
  96. }
  97. }
  98. ```
  99. ## 🤝 与 market-data skill 集成
  100. 如果你的 OpenClaw 已安装 [market-data skill](https://github.com/chjm-ai/openclaw-market-data),本项目可自动调用其数据源:
  101. ```bash
  102. workspace/skills/
  103. ├── market-data/ # 已安装
  104. └── stock-daily-analysis/ # 本项目
  105. ```
  106. 配置 `use_market_data_skill: true` 后,ETF 数据将通过 market-data skill 获取,稳定性更好。
  107. ### 安装 market-data skill
  108. ```bash
  109. cd ~/workspace/skills/
  110. git clone https://github.com/chjm-ai/openclaw-market-data.git market-data
  111. ```
  112. ### 启用集成
  113. ```json
  114. {
  115. "data": {
  116. "use_market_data_skill": true,
  117. "market_data_skill_path": "../market-data"
  118. }
  119. }
  120. ```
  121. ## 📈 返回数据格式
  122. ```python
  123. {
  124. 'code': '600519',
  125. 'name': '贵州茅台',
  126. 'technical_indicators': {
  127. 'trend_status': '强势多头',
  128. 'ma5': 1500.0,
  129. 'ma10': 1480.0,
  130. 'ma20': 1450.0,
  131. 'bias_ma5': 2.5,
  132. 'macd_status': '金叉',
  133. 'rsi_status': '强势买入',
  134. 'buy_signal': '买入',
  135. 'signal_score': 75,
  136. 'signal_reasons': [...],
  137. 'risk_factors': [...]
  138. },
  139. 'ai_analysis': {
  140. 'sentiment_score': 75,
  141. 'trend_prediction': '强势多头',
  142. 'operation_advice': '买入',
  143. 'confidence_level': '高',
  144. 'analysis_summary': '多头排列 | MACD金叉 | 量能配合',
  145. 'target_price': '1550',
  146. 'stop_loss': '1420'
  147. }
  148. }
  149. ```
  150. ## 🛠️ 开发计划
  151. - [ ] 支持更多数据源 (Tushare, Baostock)
  152. - [ ] 添加板块分析功能
  153. - [ ] 支持自定义策略回测
  154. - [ ] WebUI 管理界面
  155. - [ ] 支持更多推送渠道
  156. ## 🤝 贡献指南
  157. 欢迎提交 Issue 和 PR!
  158. 1. Fork 本项目
  159. 2. 创建特性分支 (`git checkout -b feature/AmazingFeature`)
  160. 3. 提交更改 (`git commit -m 'Add some AmazingFeature'`)
  161. 4. 推送分支 (`git push origin feature/AmazingFeature`)
  162. 5. 创建 Pull Request
  163. ## ⚠️ 免责声明
  164. 本项目仅供学习研究使用,不构成任何投资建议。股市有风险,投资需谨慎。
  165. ## 📄 许可证
  166. MIT License - 详见 [LICENSE](LICENSE) 文件
  167. ## 🙏 致谢
  168. - 数据来源:[akshare](https://github.com/akfamily/akshare)
  169. - 灵感来源:[ZhuLinsen/daily_stock_analysis](https://github.com/ZhuLinsen/daily_stock_analysis)
  170. - 平台支持:[OpenClaw](https://openclaw.ai)
  171. ---
  172. **Made with ❤️ for OpenClaw**

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.