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

83 lines
2.8 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.

## 港股通每日成交统计
----
接口ggt_daily
描述获取港股通每日成交信息数据从2014年开始
限量单次最大1000总量数据不限制
积分用户积2000积分可调取5000积分以上频次相对较高请自行提高积分具体请参阅[积分获取办法](https://tushare.pro/document/1?doc_id=13)
<br>
<br>
**输入参数**
名称 | 类型 | 必选 | 描述
---- | ----- | ---- | ----
trade_date | str | N | 交易日期 格式YYYYMMDD下同。支持单日和多日输入
start_date | str | N | 开始日期
end_date | str | N | 结束日期
<br>
<br>
**输出参数**
名称 | 类型 | 默认显示 | 描述
--- | ---- | ---- | ----
trade_date | str | Y | 交易日期
buy_amount | float | Y | 买入成交金额(亿元)
buy_volume | float | Y | 买入成交笔数(万笔)
sell_amount | float | Y | 卖出成交金额(亿元)
sell_volume | float | Y | 卖出成交笔数(万笔)
<br>
<br>
**接口示例**
```python
pro = ts.pro_api()
#获取单日全部统计
df = pro.ggt_daily(trade_date='20190625')
#获取多日统计信息
df = pro.ggt_daily(trade_date='20190925,20180924,20170925')
#获取时间段统计信息
df = pro.ggt_daily(start_date='20180925', end_date='20190925)
```
<br>
<br>
**数据示例**
trade_date buy_amount buy_volume sell_amount sell_volume
0 20190925 31.22 5.54 27.07 4.55
1 20190924 37.69 5.53 39.14 6.13
2 20190923 26.69 4.43 31.50 5.01
3 20190920 35.62 6.16 33.41 5.49
4 20190919 31.80 5.83 29.34 5.24
5 20190918 26.58 5.27 28.93 6.14
6 20190917 29.92 5.76 32.70 6.30
7 20190916 44.19 7.78 50.91 8.97
8 20190910 30.79 6.04 32.89 5.99
9 20190909 35.48 7.01 34.05 6.44
10 20190906 39.46 6.98 29.47 6.07
11 20190905 57.00 10.46 37.84 7.31
12 20190904 49.68 8.43 43.17 6.17
13 20190903 33.44 6.46 23.18 4.73
14 20190902 43.02 6.91 28.06 5.64
15 20190830 35.94 6.51 26.58 6.10
16 20190829 39.11 6.89 24.95 4.60
17 20190828 39.04 7.46 27.54 5.09
18 20190827 44.36 9.44 23.12 4.84
19 20190826 55.89 9.23 22.58 4.40
20 20190823 33.91 6.28 18.83 4.66
21 20190822 38.21 7.38 19.00 4.38
22 20190821 35.38 6.42 20.39 3.77