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>
68 lines
1.9 KiB
Markdown
68 lines
1.9 KiB
Markdown
## 交易日历
|
||
----
|
||
|
||
接口:trade_cal,可以通过[**数据工具**](https://tushare.pro/webclient/)调试和查看数据。
|
||
描述:获取各大交易所交易日历数据,默认提取的是上交所
|
||
积分:需2000积分
|
||
|
||
**输入参数**
|
||
|
||
名称 | 类型 | 必选 | 描述
|
||
---- | ----- | ---- | ----
|
||
exchange | str | N | 交易所 SSE上交所,SZSE深交所,CFFEX 中金所,SHFE 上期所,CZCE 郑商所,DCE 大商所,INE 上能源
|
||
start_date | str | N | 开始日期 (格式:YYYYMMDD 下同)
|
||
end_date | str | N | 结束日期
|
||
is_open | str | N | 是否交易 '0'休市 '1'交易
|
||
|
||
**输出参数**
|
||
|
||
名称 | 类型 | 默认显示|描述
|
||
--- | ---- | ---- | ----
|
||
exchange | str | Y | 交易所 SSE上交所 SZSE深交所
|
||
cal_date | str | Y | 日历日期
|
||
is_open | str | Y | 是否交易 0休市 1交易
|
||
pretrade_date | str | Y | 上一个交易日
|
||
|
||
**接口示例**
|
||
|
||
```python
|
||
|
||
pro = ts.pro_api()
|
||
|
||
|
||
df = pro.trade_cal(exchange='', start_date='20180101', end_date='20181231')
|
||
|
||
```
|
||
|
||
或者
|
||
|
||
```python
|
||
|
||
df = pro.query('trade_cal', start_date='20180101', end_date='20181231')
|
||
|
||
```
|
||
|
||
**数据样例**
|
||
|
||
exchange cal_date is_open
|
||
0 SSE 20180101 0
|
||
1 SSE 20180102 1
|
||
2 SSE 20180103 1
|
||
3 SSE 20180104 1
|
||
4 SSE 20180105 1
|
||
5 SSE 20180106 0
|
||
6 SSE 20180107 0
|
||
7 SSE 20180108 1
|
||
8 SSE 20180109 1
|
||
9 SSE 20180110 1
|
||
10 SSE 20180111 1
|
||
11 SSE 20180112 1
|
||
12 SSE 20180113 0
|
||
13 SSE 20180114 0
|
||
14 SSE 20180115 1
|
||
15 SSE 20180116 1
|
||
16 SSE 20180117 1
|
||
17 SSE 20180118 1
|
||
18 SSE 20180119 1
|
||
19 SSE 20180120 0
|
||
20 SSE 20180121 0 |