fund-cal-return-single-fund-specific-period SKILL.md skillA

fund-cal-return-single-fund-specific-period from ftshare-lab/ftshare-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ftshare-lab/ftshare-skill/fund-cal-return-single-fund-specific-period@git:20260907.c8cb9b0

Pins git:20260907.c8cb9b0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
ftshare-lab/ftshare-skill
Path
ftshare-market-data/sub-skills/fund-cal-return-single-fund-specific-period/SKILL.md
Versions recorded
2
Latest version
git:20260907.c8cb9b0, committed Sep 7, 2026
First version recorded
Jul 3, 2026
Size
1,447 bytes
Repository stars
64
License
MIT

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

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

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

## 参数

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

## 用法

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

```bash
python <RUN_PY> fund-cal-return-single-fund-specific-period --fund-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 位 `fund-code` 再查询收益。

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ftshare-lab/ftshare-skill/fund-cal-return-single-fund-specific-period@sha256:f7ef077b046136f9

The line at the top of this page pins the label git:20260907.c8cb9b0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wf3s3dkz37ytbddj.svg)](https://markdownregistry.com/a/art_wf3s3dkz37ytbddj)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Jul 3, 2026 and Sep 7, 2026, about one every 66 days.

versioncommittedcommitsizeaudit
git:20260907.c8cb9b0 latest2026-09-07 c8cb9b0 1,447 BA view · diff
git:20260703.d074f752026-07-03 d074f75 1,475 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1447 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ftshare-lab/ftshare-skill · 64 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wf3s3dkz37ytbddj
GET https://markdownregistry.com/api/v1/resolve?ref=ftshare-lab/ftshare-skill/fund-cal-return-single-fund-specific-period
GET https://markdownregistry.com/api/v1/blob/f7ef077b046136f9de13e9a3d5e87072832424a36580e13969b2fea9c8cb5bb4

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from ftshare-lab/ftshare-skill

ftshare-market-data SKILL.md skill
ftshare-lab/ftshare-skill · ftshare-market-data/SKILL.md · FTShare 市场数据技能集。根据用户对股票、ETF、指数、基金、可转债、期货、港股、美股、资金流、财务数据或宏观数据的查询意图,匹配并执行对应子 skill。
git:20261013.31d4ed0 · audit A · 64 stars
10jqk-board-list SKILL.md skill
ftshare-lab/ftshare-skill · ftshare-market-data/sub-skills/10jqk-board-list/SKILL.md · Get all THS board list (同花顺板块列表). Use when user asks about 同花顺板块列表、概念板块、行业板块、地域板块、证监会板块、有哪些板块.
git:20260903.6431274 · audit A · 64 stars
sub-skills SKILL.md skill
ftshare-lab/ftshare-skill · ftshare-market-data/sub-skills/SKILL.md · 查询股票列表。接口:GET /api/v1/market/data/stock-list。所有请求必须设置 FTSHARE_API_KEY。
git:20260903.8f74c9b · audit A · 64 stars
abnormal-trading-details SKILL.md skill
ftshare-lab/ftshare-skill · ftshare-market-data/sub-skills/abnormal-trading-details/SKILL.md · 查询龙虎榜明细。接口:GET /api/v1/market/data/abnormal-trading-details。所有请求必须设置 FTSHARE_API_KEY。
git:20261019.4cf5e5e · audit A · 64 stars
abnormal-trading-overview SKILL.md skill
ftshare-lab/ftshare-skill · ftshare-market-data/sub-skills/abnormal-trading-overview/SKILL.md · 查询龙虎榜总览。接口:GET /api/v1/market/data/abnormal-trading-overview。所有请求必须设置 FTSHARE_API_KEY。
git:20261019.4cf5e5e · audit A · 64 stars
ashare-code-change-timeline SKILL.md skill
ftshare-lab/ftshare-skill · ftshare-market-data/sub-skills/ashare-code-change-timeline/SKILL.md · 查询 A 股代码变更时间线(全量)。Use when user asks about A 股代码变更时间线、换码事件全量列表、代码迁移对照表、新旧代码启用区间、全市场换码记录。
git:20261013.31d4ed0 · audit A · 64 stars
ashare-code-change SKILL.md skill
ftshare-lab/ftshare-skill · ftshare-market-data/sub-skills/ashare-code-change/SKILL.md · 查询 A 股代码变更历史。Use when user asks about 股票代码变更、改名换码、代码迁移或北交所升板代码历史。
git:20260904.d0f3421 · audit A · 64 stars
ashare-interactions SKILL.md skill
ftshare-lab/ftshare-skill · ftshare-market-data/sub-skills/ashare-interactions/SKILL.md · 查询e互动。接口:GET /api/v2/market/data/ashare-interactions。所有请求必须设置 FTSHARE_API_KEY。
git:20260903.6431274 · audit A · 64 stars
ashare-news-sentiment-factors SKILL.md skill
ftshare-lab/ftshare-skill · ftshare-market-data/sub-skills/ashare-news-sentiment-factors/SKILL.md · 查询指定 A 股的新闻情绪因子。必填 --trade-code;可选 --start-date、--end-date、--page、--page-size。接口:GET…
git:20260903.6431274 · audit A · 64 stars
ashare-rating-factor-snapshot SKILL.md skill
ftshare-lab/ftshare-skill · ftshare-market-data/sub-skills/ashare-rating-factor-snapshot/SKILL.md · 查询指定 A 股的 Top-K 相关公司。用户询问股票相关性、相关公司排名或相关性评分时使用。
git:20260903.8f74c9b · audit A · 64 stars
ashare-status-change SKILL.md skill
ftshare-lab/ftshare-skill · ftshare-market-data/sub-skills/ashare-status-change/SKILL.md · 查询 A 股状态变更记录。Use when user asks about 上市、退市、暂停上市或股票状态变更。
git:20260922.34b56f4 · audit A · 64 stars
auction-results SKILL.md skill
ftshare-lab/ftshare-skill · ftshare-market-data/sub-skills/auction-results/SKILL.md · 查询集合竞价结果。接口:GET /api/v2/market/data/auction-results。所有请求必须设置 FTSHARE_API_KEY。
git:20260922.34b56f4 · audit A · 64 stars

Every file in ftshare-lab/ftshare-skill

Browse by kind, by grade A, or by owner.