fund-classification-single-fund
查询基金在多套分类标准下的分类。当用户需要查询基金按证监会/晨星/银河证券等标准的分类,可按 classify_std 过滤时使用。
来源信息
- 仓库
- FTShare-Lab/FTShare-skill
- 最近来源活动
- 2026年9月16日 12:43
- 检测到的 SKILL.md 语言
- 中文
- 星标
- 65
- 分支
- 13
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
3 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- fund-classification-single-fund
- description
- 查询基金在多套分类标准下的分类。当用户需要查询基金按证监会/晨星/银河证券等标准的分类,可按 classify_std 过滤时使用。
# 基金分类
## 接口说明
| 项目 | 说明 |
|----------|-------------------------------------------------------------------|
| 接口名称 | 基金分类 |
| 外部接口 | `/api/v1/market/data/fund/fund-classification` |
| 请求方式 | GET |
## 请求参数
| 参数名 | 类型 | 是否必填 | 描述 |
|--------|------|----------|------|
| `--fund_code` | string | 是 | 基金代码(trade_code 形式,如 000001 或 000001.OF) |
| `--classify_std` | string | 否 | 分类标准:证监会基金分类/晨星基金分类/银河证券分类2017版,缺省全部 |
## 执行方式
通过根目录的 `run.py` 调用(推荐):
```bash
python <RUN_PY> fund-classification-single-fund --fund_code 000001 --classify_std 晨星基金分类
```
> `<RUN_PY>` 为主 `SKILL.md` 同级的 `run.py` 绝对路径。
## 响应结构
JSON 对象或数组,结构请参考 [ftshare-doc](../..) 接口文档。
## 注意事项
- 必填参数必须提供。
- 响应以 JSON 格式输出至 stdout,诊断信息输出至 stderr。
在 GitHub 查看