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>
1.8 KiB
1.8 KiB
同花顺概念和行业指数
接口:ths_index 描述:获取同花顺板块指数。注:数据版权归属同花顺,如做商业用途,请主动联系同花顺,如需帮助请联系微信:waditu_a 权限:本接口需有6000积分,单次最大返回5000行数据,一次可提取全部数据,请勿循环提取。
输入参数
| 名称 | 类型 | 必选 | 描述 |
|---|---|---|---|
| ts_code | str | N | 指数代码 |
| exchange | str | N | 市场类型A-a股 HK-港股 US-美股 |
| type | str | N | 指数类型 N-概念指数 I-行业指数 R-地域指数 S-同花顺特色指数 ST-同花顺风格指数 TH-同花顺主题指数 BB-同花顺宽基指数 |
输出参数
| 名称 | 类型 | 默认显示 | 描述 |
|---|---|---|---|
| ts_code | str | Y | 代码 |
| name | str | Y | 名称 |
| count | int | Y | 成分个数 |
| exchange | str | Y | 交易所 |
| list_date | str | Y | 上市日期 |
| type | str | Y | N概念指数S特色指数 |
接口示例
pro = ts.pro_api()
df = pro.ths_index()
数据样例
ts_code name count exchange list_date type
0 885835.TI 参股银行 126 A 20190416 N
1 885472.TI 上海自贸区 51 A 20130813 N
2 885788.TI 网络直播 63 A 20180312 N
3 885881.TI 云办公 29 A 20200203 N
4 885785.TI 小米概念 91 A 20180306 N
.. ... ... ... ... ... ...
266 885566.TI 大飞机 58 A 20140519 N
267 885841.TI 草地贪夜蛾防治 18 A 20190517 N
268 885760.TI 装配式建筑 50 A 20170918 N
269 885909.TI 辅助生殖 15 A 20201023 N
270 885883.TI 医疗废物处理 25 A 20200207 N