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

74 lines
2.7 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.

## 沪深股通十大成交股
----
接口hsgt_top10
描述获取沪股通、深股通每日前十大成交详细数据每天18~20点之间完成当日更新
**输入参数**
名称 | 类型 | 必选 | 描述
---- | ----- | ---- | ----
ts_code | str | N | 股票代码(二选一)
trade_date | str | N | 交易日期(二选一)
start_date | str | N | 开始日期
end_date | str | N | 结束日期
market_type | str | N | 市场类型1沪市 3深市
**输出参数**
名称 | 类型 | 描述
--- | ---- | ----
trade_date | str | 交易日期
ts_code | str | 股票代码
name | str | 股票名称
close | float | 收盘价
change | float | 涨跌额
rank | int | 资金排名
market_type | str | 市场类型1沪市 3深市
amount | float | 成交金额(元)
net_amount | float | 净成交金额(元)
buy | float | 买入金额(元)
sell | float | 卖出金额(元)
**接口用法**
```python
pro = ts.pro_api()
pro.hsgt_top10(trade_date='20180725', market_type='1')
```
或者
```python
pro.query('hsgt_top10', ts_code='600519.SH', start_date='20180701', end_date='20180725')
```
**数据样例**
trade_date ts_code name close change rank market_type \
0 20180725 600009.SH 上海机场 62.69 2.0677 9 1
1 20180725 600019.SH 宝钢股份 8.62 0.9368 7 1
2 20180725 600036.SH 招商银行 28.22 1.6937 10 1
3 20180725 600276.SH 恒瑞医药 71.89 1.2393 5 1
4 20180725 600519.SH 贵州茅台 743.81 -0.2133 2 1
5 20180725 600585.SH 海螺水泥 38.23 -0.4427 3 1
6 20180725 600690.SH 青岛海尔 18.09 0.0000 8 1
7 20180725 600887.SH 伊利股份 27.54 -1.7131 6 1
8 20180725 601318.SH 中国平安 62.16 0.6803 1 1
9 20180725 601888.SH 中国国旅 74.19 5.5184 4 1
amount net_amount buy sell
0 240958518.0 31199144.0 136078831.0 104879687.0
1 245582396.0 81732606.0 163657501.0 81924895.0
2 240655550.0 142328622.0 191492086.0 49163464.0
3 329472455.0 -71519443.0 128976506.0 200495949.0
4 508590993.0 226149667.0 367370330.0 141220663.0
5 357946144.0 51215890.0 204581017.0 153365127.0
6 243840019.0 -55595149.0 94122435.0 149717584.0
7 296552611.0 -40273759.0 128139426.0 168413185.0
8 534002916.0 287838388.0 410920652.0 123082264.0
9 342115066.0 -63262966.0 139426050.0 202689016.0