Files
board-monitor/README.md

70 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# A股板块盘后分析系统
自动获取东方财富板块数据,生成盘后分析报告并发送邮件。
## 功能特点
- 每个交易日17:00自动执行
- 获取行业板块和概念板块完整数据
- 生成分析总结邮件正文
- 详细数据CSV文件作为附件
- 发送到指定邮箱
## 邮件内容
### 正文(分析总结)
- 市场整体趋势判断
- 热门概念板块 TOP5
- 行业涨幅/跌幅 TOP5
- 主力资金大幅流入 TOP10
- 主力资金大幅流出 TOP10
### 附件(详细数据)
CSV文件包含
- 行业板块涨跌幅排行(完整)
- 行业板块资金流向排行(完整)
- 概念板块涨跌幅排行(完整)
- 概念板块资金流向排行(完整)
## 使用方法
### 测试API连接
```bash
python3 board_monitor.py test
```
### 获取板块数据
```bash
python3 board_monitor.py get industry --limit 20
python3 board_monitor.py get concept --limit 20
```
### 手动发送报告
```bash
python3 board_monitor.py report -v
# 发送到其他邮箱
python3 board_monitor.py report --to other@example.com
```
## 定时任务配置
每个交易日周一至周五17:00自动执行
```
0 17 * * 1-5 python3 board_monitor.py report
```
## 数据来源
东方财富HTTP API (http://push2.eastmoney.com)
## 版本历史
- v1.1.0 (2026-04-10) - 改为盘后报告模式,正文分析+附件详细数据
- v1.0.0 (2026-04-10) - 初始版本