skills/tushare-data-1.0.5/references/数据接口/期货数据/实时分钟行情.md
wangyitong a65adcc2e5 Initial commit: merged, deduplicated, and vetted skill collection
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>
2026-07-13 14:47:12 +08:00

84 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 期货实时分钟行情
----
接口rt_fut_min
描述获取全市场期货合约实时分钟数据支持1min/5min/15min/30min/60min行情提供Python SDK、 http Restful API和websocket三种方式如果需要主力合约分钟请先通过主力[mapping](https://tushare.pro/document/2?doc_id=189)接口获取对应的合约代码后提取分钟。
限量每分钟可以请求500次支持多个合约同时提取
权限:需单独开权限,正式权限请参阅 <u>[权限说明](https://tushare.pro/document/1?doc_id=290) </u>
<br>
<br>
**rt_fut_min输入参数**
名称 | 类型 | 必选 | 描述
---- | ----- | ---- | ----
ts_code | str | Y | 股票代码e.g.CU2310.SHF支持多个合约逗号分隔
freq | str | Y | 分钟频度1MIN/5MIN/15MIN/30MIN/60MIN
<br>
<br>
<font color="red">同时提供当日开市以来所有历史分钟分钟快照回放接口名rt_fut_min_daily只支持一个个合约提取。</font>
**rt_fut_min_daily输入参数**
名称 | 类型 | 必选 | 描述
---- | ----- | ---- | ----
ts_code | str | Y | 股票代码e.g.CU2310.SHF仅支持一次一个合约的回放
freq | str | Y | 分钟频度1MIN/5MIN/15MIN/30MIN/60MIN
date_str | str | N | 回放日期格式YYYY-MM-DD默认为交易当日支持回溯一天
<br>
<br>
**freq参数说明**
freq | 说明
--- | ----
1MIN | 1分钟
5MIN | 5分钟
15MIN | 15分钟
30MIN | 30分钟
60MIN | 60分钟
<br>
<br>
**输出参数**
名称 | 类型 | 默认显示 | 描述
--- | ---- | ---- | ----
code | str | Y | 股票代码
freq | str | Y | 频度
time | str | Y | 交易时间
open | float | Y | 开盘价
close | float | Y | 收盘价
high | float | Y | 最高价
low | float | Y | 最低价
vol | int | Y | 成交量
amount | float | Y | 成交金额
oi | float | Y | 持仓量
<br>
<br>
**接口用法**
```python
pro = ts.pro_api()
#单个合约
df = pro.df = pro.rt_fut_min(ts_code='CU2501.SHF', freq='1MIN')
#多个合约
df = pro.df = pro.rt_fut_min(ts_code='CU2501.SHF,CU2502.SHF', freq='1MIN')
```
<br>