Sources: extracted from two upstream archives (skill-repo, skills-main),
merged with the following policy:
- 15 broken symlinks (pointing to /Users/jameslee/.cc-switch/skills or
../../.agents/skills on a foreign machine) discarded
- 3 real name collisions with identical content (ai-pair, ifind-http-api,
zhipu-websearch) kept as one copy
- Functional overlaps deduped keeping the strongest variant:
- docx family: kept docx (official, full toolchain) + docx-cn
(GB/T 9704 Chinese official-document constants),
dropped docx_writer (no scripts, name collided with docx)
- humanizer family: kept humanizer-zh (6 zh reference docs),
dropped humanizer (en, redundant for CN workflow)
- Skills that only ran in a foreign environment removed:
ablemind-ops, app-publish, hlb-design-system, openclaw-adj-skill,
claude-driver
- alphapai excluded from this public repo because its SKILL.md hard-coded
live credentials
Result: 25 skills, 572 files, ~7.5 MB.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2.0 KiB
2.0 KiB
基金复权因子
接口:fund_adj 描述:获取基金复权因子,用于计算基金复权行情 限量:单次最大提取2000行记录,可循环提取,数据总量不限制 积分:用户积600积分可调取,超过5000积分以上频次相对较高。具体请参阅积分获取办法
复权行情实现参考:
后复权 = 当日最新价 × 当日复权因子 前复权 = 当日最新价 ÷ 最新复权因子
输入参数
| 名称 | 类型 | 必选 | 描述 |
|---|---|---|---|
| ts_code | str | N | TS基金代码(支持多只基金输入) |
| trade_date | str | N | 交易日期(格式:yyyymmdd,下同) |
| start_date | str | N | 开始日期 |
| end_date | str | N | 结束日期 |
| offset | str | N | 开始行数 |
| limit | str | N | 最大行数 |
输出参数
| 名称 | 类型 | 默认显示 | 描述 |
|---|---|---|---|
| ts_code | str | Y | ts基金代码 |
| trade_date | str | Y | 交易日期 |
| adj_factor | float | Y | 复权因子 |
接口使用
pro = ts.pro_api()
df = pro.fund_adj(ts_code='513100.SH', start_date='20190101', end_date='20190926')
数据示例
ts_code trade_date adj_factor
0 513100.SH 20190926 1.0
1 513100.SH 20190925 1.0
2 513100.SH 20190924 1.0
3 513100.SH 20190923 1.0
4 513100.SH 20190920 1.0
5 513100.SH 20190919 1.0
6 513100.SH 20190918 1.0
7 513100.SH 20190917 1.0
8 513100.SH 20190916 1.0
9 513100.SH 20190912 1.0
10 513100.SH 20190911 1.0
11 513100.SH 20190910 1.0
12 513100.SH 20190909 1.0
13 513100.SH 20190906 1.0
14 513100.SH 20190905 1.0
15 513100.SH 20190904 1.0
16 513100.SH 20190903 1.0
17 513100.SH 20190902 1.0
18 513100.SH 20190830 1.0
19 513100.SH 20190829 1.0
20 513100.SH 20190828 1.0