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>
86 lines
2.5 KiB
Markdown
86 lines
2.5 KiB
Markdown
## 股票历史分钟行情
|
||
----
|
||
|
||
接口:stk_mins
|
||
描述:获取A股分钟数据,支持1min/5min/15min/30min/60min行情,提供Python SDK和 http Restful API两种方式
|
||
限量:单次最大8000行数据,可以通过股票代码和时间循环获取,本接口可以提供超过10年历史分钟数据
|
||
权限:需单独开权限,正式权限请参阅 <u>[权限说明](https://tushare.pro/document/1?doc_id=290) </u>
|
||
|
||
<br>
|
||
<br>
|
||
|
||
**输入参数**
|
||
|
||
名称 | 类型 | 必选 | 描述
|
||
---- | ----- | ---- | ----
|
||
ts_code | str | Y | 股票代码,e.g. 600000.SH
|
||
freq | str | Y | 分钟频度(1min/5min/15min/30min/60min)
|
||
start_date | datetime | N | 开始日期 格式:2023-08-25 09:00:00
|
||
end_date | datetime | N | 结束时间 格式:2023-08-25 19:00:00
|
||
|
||
<br>
|
||
<br>
|
||
|
||
|
||
**freq参数说明**
|
||
|
||
freq | 说明
|
||
--- | ----
|
||
1min | 1分钟
|
||
5min | 5分钟
|
||
15min | 15分钟
|
||
30min | 30分钟
|
||
60min | 60分钟
|
||
|
||
<br>
|
||
<br>
|
||
|
||
**输出参数**
|
||
|
||
名称 | 类型 | 默认显示 | 描述
|
||
--- | ---- | ---- | ----
|
||
ts_code | str | Y | 股票代码
|
||
trade_time | str | Y | 交易时间
|
||
open | float | Y | 开盘价
|
||
close | float | Y | 收盘价
|
||
high | float | Y | 最高价
|
||
low | float | Y | 最低价
|
||
vol | int | Y | 成交量
|
||
amount | float | Y | 成交金额
|
||
|
||
<br>
|
||
<br>
|
||
|
||
**接口用法**
|
||
|
||
```python
|
||
|
||
pro = ts.pro_api()
|
||
|
||
#获取浦发银行60000.SH的历史分钟数据
|
||
df = pro.stk_mins(ts_code='600000.SH', freq='1min', start_date='2023-08-25 09:00:00', end_date='2023-08-25 19:00:00')
|
||
|
||
```
|
||
|
||
<br>
|
||
<br>
|
||
|
||
|
||
**数据样例**
|
||
|
||
|
||
ts_code trade_time close open high low vol amount
|
||
0 600000.SH 2023-08-25 15:00:00 7.05 7.05 7.05 7.05 235500.0 1660275.0
|
||
1 600000.SH 2023-08-25 14:59:00 7.05 7.05 7.05 7.05 0.0 0.0
|
||
2 600000.SH 2023-08-25 14:58:00 7.05 7.05 7.05 7.05 0.0 0.0
|
||
3 600000.SH 2023-08-25 14:57:00 7.05 7.06 7.06 7.05 51800.0 365491.0
|
||
4 600000.SH 2023-08-25 14:56:00 7.05 7.05 7.06 7.04 92700.0 653831.0
|
||
.. ... ... ... ... ... ... ... ...
|
||
236 600000.SH 2023-08-25 09:34:00 7.01 7.02 7.02 7.00 120500.0 845311.0
|
||
237 600000.SH 2023-08-25 09:33:00 7.01 7.01 7.02 7.00 126000.0 883188.0
|
||
238 600000.SH 2023-08-25 09:32:00 7.01 7.02 7.02 6.99 236699.0 1659260.0
|
||
239 600000.SH 2023-08-25 09:31:00 7.02 6.99 7.02 6.97 807500.0 5649956.0
|
||
240 600000.SH 2023-08-25 09:30:00 6.99 6.99 6.99 6.99 103700.0 724863.0
|
||
|
||
|