Xpersona
S

Skills of A-share fund data released by ft.tech.

CLAWHUB · Unverified

基金数据技能集(market.ft.tech)。覆盖基金基本信息、净值历史、累计收益率、基金概览列表、支持基金标的列表。用户询问基金详情、基金净值、基金收益、基金列表时使用。

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s178tyza29hgx3h8nsvhcmdphs83h6af:ftshare-fund-data
  1. Install using `clawhub skill install s178tyza29hgx3h8nsvhcmdphs83h6af:ftshare-fund-data` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/shawn92/ftshare-fund-data before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-shawn92-ftshare-fund-data/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

10,657 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: FTShare-fund-data
description: 基金数据技能集(market.ft.tech)。覆盖基金基本信息、净值历史、累计收益率、基金概览列表、支持基金标的列表。用户询问基金详情、基金净值、基金收益、基金列表时使用。
---

# FT 基金数据 Skills

本 skill 是 `FTShare-fund-data` 的**统一路由入口**。

根据用户问题,从下方「能力总览」或「询问方式与子 skill 对应表」匹配对应子 skill,然后通过 `run.py` 执行并解析响应。

> 所有接口均以 `https://market.ft.tech` 为基础域名。

---

## 调用方式(唯一规则)

`run.py` 与本文件(`SKILL.md`)位于同一目录。执行时:

1. 取本文件的绝对路径,将末尾 `/SKILL.md` 替换为 `/run.py`,得到 `<RUN_PY>` 。
2. 调用:`python <RUN_PY> <子skill名> [参数...]`

```bash
# 示例(<RUN_PY> 为实际绝对路径)
python <RUN_PY> fund-basicinfo-single-fund --institution-code 000001
python <RUN_PY> fund-cal-return-single-fund-specific-period --institution-code 159619 --cal-type 1Y
python <RUN_PY> fund-nav-single-fund-paginated --institution-code 000001 --page 1 --page-size 50
python <RUN_PY> fund-overview-all-funds-paginated --page 1 --page-size 20
python <RUN_PY> fund-support-symbols-all-funds-paginated --page 1 --page-size 20
```

> `run.py` 内部通过 `__file__` 自定位,无论安装在何处都能正确找到各子 skill 的脚本。

---

## 基金 — 询问方式与子 skill 对应表

| 询问方式(用户常说的词) | 子 skill |
|------------------------|----------|
| **基金基本信息**、某只**基金详情**、**基金管理人/基金经理**、**基金类型/投资目标** | `fund-basicinfo-single-fund` |
| **基金累计收益率**、**近1年/近3个月收益**、**YTD 收益**、**基金收益曲线** | `fund-cal-return-single-fund-specific-period` |
| **基金净值**、**单位净值/累计净值**、**日增长率**、**基金净值历史** | `fund-nav-single-fund-paginated` |
| **基金概览**、**所有基金信息**、**基金列表概况** | `fund-overview-all-funds-paginated` |
| **支持的基金列表**、**基金代码清单**、**所有基金标的** | `fund-support-symbols-all-funds-paginated` |

---

## 能力总览

- **`fund-basicinfo-single-fund`**:查询指定基金基础信息(名称、管理人、经理、类型、投资目标等)。必填:`--institution-code`(6 位基金代码)。若用户仅给基金名称,先通过 `fund-support-symbols-all-funds-paginated` 或 `fund-overview-all-funds-paginated` 映射代码再查。
- **`fund-cal-return-single-fund-specific-period`**:查询指定基金在指定区间的累计收益率时间序列。必填:`--institution-code`、`--cal-type`(1M/3M/6M/1Y/3Y/5Y/YTD)。建议先完成名称到代码映射后再调用。
- **`fund-nav-single-fund-paginated`**:查询指定基金净值历史(分页)。必填:`--institution-code`;可选:`--page`、`--page-size`。建议先完成名称到代码映射后再调用。
- **`fund-overview-all-funds-paginated`**:查询所有基金概览信息(分页)。可选:`--page`、`--page-size`。
- **`fund-support-symbols-all-funds-paginated`**:查询所有支持基金的标的列表(分页)。可选:`--page`、`--page-size`。

---

## 使用流程

1. **记录本文件绝对路径**,将 `/SKILL.md` 替换为 `/run.py` 得到 `<RUN_PY>`。
2. **理解用户意图**,从「询问方式与子 skill 对应表」或「能力总览」匹配子 skill 名称。
3. **若用户给的是基金名称而非代码**:先调用 `fund-support-symbols-all-funds-paginated` 或 `fund-overview-all-funds-paginated` 获取候选,确定 6 位 `institution-code`。
4. (可选)读取 `sub-skills/<子skill名>/SKILL.md` 了解接口与参数。
5. **执行**:`python <RUN_PY> <子skill名> [参数...]`,获取 JSON 输出(详情/净值/收益统一使用 `--institution-code`)。
6. **解析并输出**:以表格或要点形式展示给用户;若候选不唯一,先让用户确认再查询指标。

sub-skills/fund-basicinfo-single-fund/SKILL.md

---
name: fund-basicinfo-single-fund
description: Get basic information of a specific fund by institution code. Use when user asks about fund details, 基金基本信息, 基金管理人, 基金经理, 基金类型, 投资目标.
---

# 查询指定基金基础信息

## 参数

| 参数 | 类型 | 必填 | 说明 | 示例 |
|------|------|------|------|------|
| `--institution-code` | string | 是 | 6 位数字基金代码 | `000001` |

## 用法

通过主目录 `run.py` 调用(必填 `--institution-code`):

```bash
python <RUN_PY> fund-basicinfo-single-fund --institution-code 000001
```

`<RUN_PY>` 为主 SKILL.md 同级的 `run.py` 绝对路径。脚本输出 JSON 对象,包含基金名称、管理人、经理、类型、投资理念/目标/范围、业绩基准等完整信息,按用户关注点展示。

## 注意

- `institution_code` 必须是 6 位数字
- 响应为对象,不是分页列表
- 若用户只给基金名称,建议先用 `fund-support-symbols-all-funds-paginated` 或 `fund-overview-all-funds-paginated` 查到对应 6 位 `institution-code` 再调用本接口。

sub-skills/fund-cal-return-single-fund-specific-period/SKILL.md

---
name: fund-cal-return-single-fund-specific-period
description: Get cumulative return time series for a specific fund over a given period. Use when user asks about 基金累计收益率, 近1年/近3个月收益, YTD收益, 基金收益曲线.
---

# 查询指定基金在指定区间的累计收益率

## 参数

| 参数 | 类型 | 必填 | 说明 | 示例 |
|------|------|------|------|------|
| `--institution-code` | string | 是 | 6 位数字基金代码 | `159619` |
| `--cal-type` | string | 是 | 区间类型:`1M` / `3M` / `6M` / `1Y` / `3Y` / `5Y` / `YTD` | `1Y` |

## 用法

通过主目录 `run.py` 调用(必填 `--institution-code`、`--cal-type`):

```bash
python <RUN_PY> fund-cal-return-single-fund-specific-period --institution-code 159619 --cal-type 1Y
```

`<RUN_PY>` 为主 SKILL.md 同级的 `run.py` 绝对路径。脚本输出 JSON 数组,每项含 `date`(YYYYMMDD 整型)和 `return`(小数形式累计收益率),按时间序列展示。

## 注意

- 响应为数组,不是分页结构
- `return` 为小数(如 0.0234 表示 2.34%),展示时可乘以 100 转为百分比
- 区间选项:`1M`(近1月)、`3M`(近3月)、`6M`(近6月)、`1Y`(近1年)、`3Y`(近3年)、`5Y`(近5年)、`YTD`(今年来)
- 若用户只给基金名称,建议先用 `fund-support-symbols-all-funds-paginated` 或 `fund-overview-all-funds-paginated` 查到对应 6 位 `institution-code` 再查询收益。

sub-skills/fund-nav-single-fund-paginated/SKILL.md

---
name: fund-nav-single-fund-paginated
description: Get paginated NAV history for a specific fund. Use when user asks about 基金净值, 单位净值, 累计净值, 日增长率, 基金净值历史.
---

# 查询指定基金的净值历史(分页)

## 参数

| 参数 | 类型 | 必填 | 说明 | 示例 |
|------|------|------|------|------|
| `--institution-code` | string | 是 | 6 位数字基金代码 | `000001` |
| `--page` | int | 否 | 页码,从 1 开始(默认 1) | `1` |
| `--page-size` | int | 否 | 每页记录数(默认 50) | `50` |

## 用法

通过主目录 `run.py` 调用(必填 `--institution-code`,可选 `--page`、`--page-size`):

```bash
python <RUN_PY> fund-nav-single-fund-paginated --institution-code 000001 --page 1 --page-size 50
```

`<RUN_PY>` 为主 SKILL.md 同级的 `run.py` 绝对路径。脚本输出带分页信息的 JSON,每项含日期(`end_date` YYYYMMDD)、单位净值(`unitnv`)、累计净值(`accum_unitnv`)、日增长率(`unitnv_grw`,%)、申购/赎回状态等字段,以表格展示。

## 注意

- `unitnv_grw`、`annurtn_7d` 单位为 %
- 需要全量历史时,循环请求直到 `page > total_pages`
- 若用户只给基金名称,建议先用 `fund-support-symbols-all-funds-paginated` 或 `fund-overview-all-funds-paginated` 查到对应 6 位 `institution-code` 再查询净值。

sub-skills/fund-overview-all-funds-paginated/SKILL.md

---
name: fund-overview-all-funds-paginated
description: Get paginated overview information for all funds. Use when user asks about 基金概览, 所有基金信息, fund overview list, 基金列表概况.
---

# 查询所有基金概览信息(分页)

## 参数

| 参数 | 类型 | 必填 | 说明 | 示例 |
|------|------|------|------|------|
| `--page` | int | 否 | 页码,从 1 开始(默认 1) | `1` |
| `--page-size` | int | 否 | 每页记录数,最大 1000(默认 20) | `20` |

## 用法

通过主目录 `run.py` 调用(可选 `--page`、`--page-size`):

```bash
python <RUN_PY> fund-overview-all-funds-paginated --page 1 --page-size 20
```

`<RUN_PY>` 为主 SKILL.md 同级的 `run.py` 绝对路径。脚本输出带分页信息的 JSON,每项含基金代码、基金名称、基金类型、规模等概览字段,以表格展示给用户。

## 注意

- 需要全量数据时,循环请求直到 `page > total_pages`
- `page-size` 最大不超过 1000

Sponsored

Ads related to Skills of A-share fund data released by ft.tech. and adjacent AI workflows.