指数跟踪基金
SkillDev toolsLook up funds tracking an index by index code. Use when the user wants to find all funds tracking an index (e.g., 沪深 300), including both on-exchange ETFs and off-exchange feeder funds, or only on-exchange ETFs (scope=etf). Returns an array directly (not paginated).
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the 指数跟踪基金 skill
What this skill tells your AI
The instructions your AI receives, as published by ftshare-lab/ftshare-skill in ftshare-market-data/sub-skills/fund-index-tracking-funds/SKILL.md and read by ahel’s review.
接口说明
| 项目 | 说明 |
|---|---|
| 接口名称 | 指数跟踪基金 |
| 外部接口 | /api/v1/market/data/fund/index-fund |
| 请求方式 | GET |
请求参数
| 参数名 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
--index_code | string | 是 | 指数代码,支持裸码(如 000300)或带后缀(如 000300.SH) |
--scope | string | 否 | all 全市场(默认)/ etf 仅场内 ETF |
执行方式
通过根目录的 run.py 调用(推荐):
python <RUN_PY> fund-index-tracking-funds --index_code 000300 --scope etf
<RUN_PY>为主SKILL.md同级的run.py绝对路径。
响应结构
JSON 对象或数组,结构请参考 ftshare-doc 接口文档。
注意事项
- 必填参数必须提供。
- 响应以 JSON 格式输出至 stdout,诊断信息输出至 stderr。
Signals
- GitHub stars
- 64
- Forks
- 13
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
fund-index-tracking-funds- Source
- github.com/ftshare-lab/ftshare-skill