eastmoney-all-board-daily-ohlc
Solid分页查询东方财富全部板块历史日线 OHLC(板块代码/名称/市场/日期/开高低收/成交量/成交额/振幅/涨跌幅/涨跌额/换手率)。用户提到「东财全板块日线」「全部板块 OHLC」「eastmoney all board daily ohlc」时使用。结果按板块代码、日期排序,分页返回;起止日期同时给定时跨度不得超过 3 个自然日,page_size 最大 200,支持 --all 翻页。
AI & Automation 63 stars
13 forks Updated today MIT
Install
Quality Score: 85/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 查询东方财富全板块日线 OHLC
## 接口说明
| 项目 | 说明 |
|------|------|
| 接口名称 | 查询东方财富全板块日线 OHLC |
| 外部接口 | GET /api/v1/market/data/eastmoney-all-board-daily-ohlc |
| 请求方式 | GET |
| 适用场景 | 获取东方财富全部板块的历史日线 OHLC,结果按板块代码、日期排序并分页返回 |
## 请求参数
| 参数名 | 类型 | 是否必填 | 描述 | 取值示例 | 备注 |
|--------|------|----------|------|----------|------|
| start_date | string | 否 | 起始日期(含) | `20251127` | YYYY-MM-DD 或 YYYYMMDD |
| end_date | string | 否 | 截止日期(含) | `2025-11-28` | YYYY-MM-DD 或 YYYYMMDD |
| page | uint | 否 | 页码 | `1` | 从 1 开始,默认 1;传 0 时按 1 处理 |
| page_size | uint | 否 | 每页数量 | `50` | 默认 50;传 0 时按 1 处理,最大 200 |
> `start_date` 与 `end_date` 同时给出时,结束日期与开始日期相差不得超过 3 个自然日。
## 执行方式
```bash
# 取一页
python <RUN_PY> eastmoney-all-board-daily-ohlc --start_date 2025-11-27 --end_date 2025-11-28 --page 1 --page_size 1
# 翻全量
python <RUN_PY> eastmoney-all-board-daily-ohlc --all
```
`<RUN_PY>` 为主 SKILL.md 同级的 `run.py` 绝对路径。
## 响应结构
外层 `code/message/data`,分页数据位于 `data.records`。
```json
{
"code": 200,
"message": "success",
"data": {
"pageNum": 1, "pageSize": 1, "total": 3, "pages": 3,
"records": [
{
"板块代码": "BK1024",
"板块名称": "绿色电力",
"市场": "90",
"日期": "2025-11-27",
"开盘": "1001.53",
"收盘": "1037.67",
"最高": "1041.82",
"最低": "1001.53",
"成交量": "52669555",
"成交额": "43012845568.00",
"振幅": "4.03",
"涨跌幅": "3.77",
"涨跌额": "37.67",
"换手率": "1.03"
}
]
}
}
```
### data 字段
| 字段 | 类型 | 说明 |
|...
Details
- Author
- FTShare-Lab
- Repository
- FTShare-Lab/FTShare-skill
- Created
- 2 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
eastmoney-board-daily-ohlc
查询东财单板块历史 OHLC。当用户需要查询指定东财板块历史 OHLC 数据,支持日期范围过滤与分页,或了解东财单板块历史 OHLC时使用。
63 Updated today
FTShare-Lab AI & Automation Solid
eastmoney-us-stock-daily-ohlc
查询东财美股历史日 K 线。当用户需要查询东财美股历史日 K 线;有日期范围时按 3 天窗口分批请求,无日期范围时全量拉取,或了解东财美股历史 OHLC、东财美股历史日 K 线时使用。
63 Updated today
FTShare-Lab AI & Automation Solid
eastmoney-futures-strange
查询东方财富期货龙虎榜面板(成交量/持仓量多空排名等)。用户提到「东财期货龙虎榜」「期货龙虎榜面板」「期货会员排名」「eastmoney futures strange」时使用。按交易所/品种/合约/交易日返回完整面板数组,不分页。
63 Updated today
FTShare-Lab