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

71 lines
2.4 KiB
Markdown
Raw Permalink 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.

## 当日集合竞价
----
接口stk_auction
描述获取当日个股和ETF的集合竞价成交情况每天9点25~29分之间可以获取当日的集合竞价成交数据
限量单次最大返回8000行数据可根据日期或代码循环获取历史
积分:本接口是单独开权限的数据,已经开通了股票分钟权限的用户可自动获得本接口权限,单独申请权限请参考[权限列表](https://tushare.pro/document/1?doc_id=290)。
<br>
<br>
**输入参数**
名称 | 类型 | 必选 | 描述
---- | ----- | ---- | ----
ts_code | str | N | 股票代码
trade_date | str | N | 交易日期YYYYMMDD格式下同)
start_date | str | N | 开始日期
end_date | str | N | 结束日期
<br>
<br>
**输出参数**
名称 | 类型 | 默认显示 | 描述
--- | ---- | ---- | ----
ts_code | str | Y | 股票代码
trade_date | str | Y | 数据日期
vol | int | Y | 成交量(股)
price | int | Y | 成交均价(元)
amount | float | Y | 成交金额(元)
pre_close | float | Y | 昨收价(元)
turnover_rate | float | Y | 换手率(%
volume_ratio | float | Y | 量比
float_share | float | Y | 流通股本(万股)
<br>
<br>
**接口示例**
```python
#获取2025年2月18日开盘集合竞价成交情况
df = pro.stk_auction(trade_date='20250218',fields='ts_code, trade_date,vol,price,amount,turnover_rate,volume_ratio')
```
<br>
<br>
**数据示例**
ts_code trade_date vol price amount turnover_rate volume_ratio
0 600071.SH 20250218 8700 23.240 202188.00 0.003090 0.150628
1 300053.SZ 20250218 53300 13.750 732875.00 0.008388 0.230996
2 159558.SZ 20250218 18700 1.211 22645.70 NaN NaN
3 600879.SH 20250218 195900 9.190 1800320.00 0.005938 0.373839
4 159707.SZ 20250218 160800 0.628 100982.00 NaN NaN
... ... ... ... ... ... ... ...
6507 300616.SZ 20250218 142700 14.370 2050600.00 0.091494 1.184760
6508 836957.BJ 20250218 300 12.310 3693.00 0.000702 0.012952
6509 123039.SZ 20250218 20 119.777 2395.54 NaN NaN
6510 603655.SH 20250218 1400 23.390 32746.00 0.001321 0.107119
6511 300949.SZ 20250218 25600 41.210 1054980.00 0.042667 0.830128