Eastmoney concept boards
Skill FTShare-Lab/FTShare-skills/ftshare-market-data/sub-skills/eastmoney-concept-boards
查询东财概念板块列表。当用户需要查询东财概念板块基础信息与成分代码列表,返回全量板块,或了解东财概念板块列表时使用。From its SKILL.md
npx -y skills add FTShare-Lab/FTShare-skills --skill eastmoney-concept-boardsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- runs commandsInstructs the agent to run 1 command, including `python <RUN_PY> eastmoney-concept-boards`.
- fetches URLsInstructs the agent to fetch 1 URL, including /api/v1/market/data/eastmoney-concept-boards.
SKILL.md
1.6 KB, 485 tokens by cl100k_base, as published. Nobody here has run it
查询东财概念板块列表
接口说明
| 项目 | 说明 |
|---|---|
| 接口名称 | 查询东财概念板块列表 |
| 外部接口 | /api/v1/market/data/eastmoney-concept-boards |
| 请求方式 | GET |
| 适用场景 | 查询东财概念板块基础信息与成分代码列表,返回全量板块 |
请求参数
无需任何参数,接口返回全量概念板块列表。
执行方式
通过根目录的 run.py 调用(推荐):
python <RUN_PY> eastmoney-concept-boards
<RUN_PY>为主SKILL.md同级的run.py绝对路径,参见主 SKILL.md 的「调用方式」说明。
响应结构
返回值为概念板块数组(直接返回数组,非对象包装):
[
{
"code": "BK1024",
"name": "绿色电力",
"constituents": ["600089", "600905", "000591"]
}
]
字段说明(ConceptBoard)
| 字段名 | 类型 | 是否可为空 | 说明 |
|---|---|---|---|
code | String | 否 | 板块代码(BK 前缀) |
name | String | 否 | 板块名称 |
constituents | Array[String] | 否 | 成分标的代码列表 |
注意事项
- 接口直接返回数组,无分页包装结构
- 板块代码以
BK开头,可用于eastmoney-board-daily-ohlc和eastmoney-board-latest-ohlc查询K线 - 成分代码不含市场后缀(如
600089而非600089.SH)
What ships with it: 1 file
1.2 KB alongside SKILL.md, 1 of them executable
scripts/
- handler.pyruns1.2 KB