Skip to content
Back to skills

Fund Risk Level Single Fund

ASecurity

查询基金风险等级。当用户需要查询基金风险等级(低/中低/中/中高/高,对应适当性 R1-R5)及其变更历史,可按 history=true 返回全部历史或仅当前有效时使用。直接返回数组(非分页)。

  • 65 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentspythonbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add FTShare-Lab/FTShare-skill --skill fund-risk-level-single-fund --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fund Risk Level Single Fund?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fund Risk Level Single Fund
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ftshare-lab-fund-risk-level-single-fund/badge)](https://www.skillsdirectory.com/skills/ftshare-lab-fund-risk-level-single-fund)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fund-risk-level-single-fund
description: "查询基金风险等级。当用户需要查询基金风险等级(低/中低/中/中高/高,对应适当性 R1-R5)及其变更历史,可按 history=true 返回全部历史或仅当前有效时使用。直接返回数组(非分页)。"
---

# 基金风险等级

接口:`GET /api/v1/market/data/fund/fund-risk-level`。

## 接口说明

| 项目     | 说明                                                              |
|----------|-------------------------------------------------------------------|
| 接口名称 | 基金风险等级                                                   |
| 外部接口 | `/api/v1/market/data/fund/fund-risk-level`                                  |
| 请求方式 | GET                                                                |

## 请求参数

| 参数名 | 类型 | 是否必填 | 描述 |
|--------|------|----------|------|
| `--fund_code` | string | 是 | 基金代码(如 000001 或 000001.OF) |
| `--history` | flag | 否 | 返回全部变更历史(缺省仅当前有效) |

## 执行方式

通过根目录的 `run.py` 调用(推荐):

```bash
python <RUN_PY> fund-risk-level-single-fund --fund_code 000001 --history
```

> `<RUN_PY>` 为主 `SKILL.md` 同级的 `run.py` 绝对路径。

## 响应结构

JSON 对象或数组,结构见 [《基金风险等级》](https://market.ft.tech/gateway/doc/pages/ws3whvws.md)。

## 注意事项

- 必填参数必须提供。
- 响应以 JSON 格式输出至 stdout,诊断信息输出至 stderr。

Files in this skill

  • SKILL.md1.4 KB
  • scripts/handler.py1.8 KB
  • scripts/test_handler.py1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.