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>
73 lines
2.3 KiB
Markdown
73 lines
2.3 KiB
Markdown
## 申万行业日线行情
|
||
----
|
||
|
||
接口:sw_daily
|
||
描述:获取申万行业日线行情(默认是申万2021版行情)
|
||
限量:单次最大4000行数据,可通过指数代码和日期参数循环提取,5000积分可调取
|
||
|
||
|
||
**输入参数**
|
||
|
||
名称 | 类型 | 必选 | 描述
|
||
---- | ----- | ---- | ----
|
||
ts_code | str | N | 行业代码
|
||
trade_date | str | N | 交易日期
|
||
start_date | str | N | 开始日期
|
||
end_date | str | N | 结束日期
|
||
|
||
<br>
|
||
<br>
|
||
|
||
|
||
**输出参数**
|
||
|
||
名称 | 类型 | 默认显示 | 描述
|
||
--- | ---- | ---- | ----
|
||
ts_code | str | Y | 指数代码
|
||
trade_date | str | Y | 交易日期
|
||
name | str | Y | 指数名称
|
||
open | float | Y | 开盘点位
|
||
low | float | Y | 最低点位
|
||
high | float | Y | 最高点位
|
||
close | float | Y | 收盘点位
|
||
change | float | Y | 涨跌点位
|
||
pct_change | float | Y | 涨跌幅
|
||
vol | float | Y | 成交量(万股)
|
||
amount | float | Y | 成交额(万元)
|
||
pe | float | Y | 市盈率
|
||
pb | float | Y | 市净率
|
||
float_mv | float | Y | 流通市值(万元)
|
||
total_mv | float | Y | 总市值(万元)
|
||
|
||
|
||
<br>
|
||
<br>
|
||
|
||
**接口示例**
|
||
|
||
```python
|
||
|
||
pro = ts.pro_api('your token')
|
||
|
||
#获取20230705当日所有申万行业指数的ts_code,name,open,close,vol,pe,pb数据
|
||
df = pro.sw_daily(trade_date='20230705', fields='ts_code,name,open,close,vol,pe,pb')
|
||
|
||
```
|
||
|
||
<br>
|
||
<br>
|
||
|
||
**数据示例**
|
||
|
||
ts_code name open close vol pe pb
|
||
0 801001.SI 申万50 2972.86 2946.53 275984.00 13.99 1.91
|
||
1 801002.SI 申万中小 6963.37 6896.69 1540720.00 21.19 2.47
|
||
2 801003.SI 申万A指 3793.91 3769.63 6294567.00 16.56 1.78
|
||
3 801005.SI 申万创业 2841.32 2815.48 1220719.00 35.90 3.72
|
||
4 801010.SI 农林牧渔 2986.75 2946.60 83532.00 28.32 2.66
|
||
.. ... ... ... ... ... ... ...
|
||
434 859811.SI 生活用纸 1438.09 1418.16 2542.00 23.25 2.32
|
||
435 859821.SI 化妆品制造及其他 2674.85 2674.57 2069.00 40.63 2.33
|
||
436 859822.SI 品牌化妆品 12094.45 11877.03 2809.00 44.55 5.52
|
||
437 859852.SI 培训教育 780.30 770.10 20889.00 106.12 5.73
|
||
438 859951.SI 电视广播Ⅲ 1121.00 1122.06 24413.00 51.46 1.05 |