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>
82 lines
3.0 KiB
Markdown
82 lines
3.0 KiB
Markdown
## 申万行业成分构成(分级)
|
||
----
|
||
|
||
接口:index_member_all
|
||
描述:按三级分类提取申万行业成分,可提供某个分类的所有成分,也可按股票代码提取所属分类,参数灵活
|
||
限量:单次最大2000行,总量不限制
|
||
权限:用户需2000积分可调取,积分获取方法请参阅[积分获取办法](https://tushare.pro/document/1?doc_id=13)
|
||
|
||
<br>
|
||
<br>
|
||
|
||
**输入参数**
|
||
|
||
名称 | 类型 | 必选 | 描述
|
||
---- | ----- | ---- | ----
|
||
l1_code | str | N | 一级行业代码
|
||
l2_code | str | N | 二级行业代码
|
||
l3_code | str | N | 三级行业代码
|
||
ts_code | str | N | 股票代码
|
||
is_new | str | N | 是否最新(默认为“Y是”)
|
||
|
||
|
||
<br>
|
||
<br>
|
||
|
||
**输出参数**
|
||
|
||
名称 | 类型 | 默认显示 | 描述
|
||
--- | ---- | ---- | ----
|
||
l1_code | str | Y | 一级行业代码
|
||
l1_name | str | Y | 一级行业名称
|
||
l2_code | str | Y | 二级行业代码
|
||
l2_name | str | Y | 二级行业名称
|
||
l3_code | str | Y | 三级行业代码
|
||
l3_name | str | Y | 三级行业名称
|
||
ts_code | str | Y | 成分股票代码
|
||
name | str | Y | 成分股票名称
|
||
in_date | str | Y | 纳入日期
|
||
out_date | str | Y | 剔除日期
|
||
is_new | str | Y | 是否最新Y是N否
|
||
|
||
<br>
|
||
<br>
|
||
|
||
|
||
**接口示例**
|
||
|
||
```python
|
||
|
||
#获取黄金分类的成份股
|
||
df = pro.index_member_all(l3_code='850531.SI')
|
||
|
||
#获取000001.SZ所属行业
|
||
df = pro.index_member_all(ts_code='000001.SZ')
|
||
|
||
```
|
||
|
||
|
||
<br>
|
||
<br>
|
||
|
||
**数据示例**
|
||
|
||
l1_code l1_name l2_code l2_name l3_code l3_name ts_code name in_date
|
||
0 801050.SI 有色金属 801053.SI 贵金属 850531.SI 黄金 000506.SZ *ST中润 20220729
|
||
1 801050.SI 有色金属 801053.SI 贵金属 850531.SI 黄金 001337.SZ 四川黄金 20230224
|
||
2 801050.SI 有色金属 801053.SI 贵金属 850531.SI 黄金 600988.SH 赤峰黄金 20040414
|
||
3 801050.SI 有色金属 801053.SI 贵金属 850531.SI 黄金 600489.SH 中金黄金 20030812
|
||
4 801050.SI 有色金属 801053.SI 贵金属 850531.SI 黄金 600547.SH 山东黄金 20030826
|
||
5 801050.SI 有色金属 801053.SI 贵金属 850531.SI 黄金 002155.SZ 湖南黄金 20070815
|
||
6 801050.SI 有色金属 801053.SI 贵金属 850531.SI 黄金 002237.SZ 恒邦股份 20080428
|
||
7 801050.SI 有色金属 801053.SI 贵金属 850531.SI 黄金 601069.SH 西部黄金 20150115
|
||
8 801050.SI 有色金属 801053.SI 贵金属 850531.SI 黄金 000975.SZ 银泰黄金 20190724
|
||
9 801050.SI 有色金属 801053.SI 贵金属 850531.SI 黄金 300139.SZ 晓程科技 20220729
|
||
10 801050.SI 有色金属 801053.SI 贵金属 850531.SI 黄金 600687.SH 退市刚泰(退市) 20130701
|
||
11 801050.SI 有色金属 801053.SI 贵金属 850531.SI 黄金 600807.SH 济南高新 20220729
|
||
12 801050.SI 有色金属 801053.SI 贵金属 850531.SI 黄金 600311.SH *ST荣华(退市) 20140102
|
||
|
||
|
||
|
||
|
||
|