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

2.4 KiB
Raw Permalink Blame History

港股分钟行情


接口hk_mins 描述港股分钟数据支持1min/5min/15min/30min/60min行情提供Python SDK和 http Restful API两种方式 限量单次最大8000行数据可以通过股票代码和日期循环获取 权限120积分可以调取2次接口查看数据正式权限请参阅 权限说明



输入参数

名称 类型 必选 描述
ts_code str Y 股票代码e.g.00001.HK
freq str Y 分钟频度1min/5min/15min/30min/60min
start_date datetime N 开始日期 格式2023-03-13 09:00:00
end_date datetime N 结束时间 格式2023-03-13 19:00:00


freq参数说明

freq 说明
1min 1分钟
5min 5分钟
15min 15分钟
30min 30分钟
60min 60分钟


输出参数

名称 类型 默认显示 描述
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 成交金额


接口用法


pro = ts.pro_api()

df = pro.hk_mins(ts_code='00001.HK', freq='1min', start_date='2023-03-13 09:00:00', end_date='2023-03-13 19:00:00')



数据样例

  ts_code                trade_time  open  close   high    low       vol      amount
0    00001.HK  2023-03-13 16:10:00  48.80  48.75  48.80  48.75  375500.0  18305625.0
1    00001.HK  2023-03-13 16:00:00  48.80  48.80  48.85  48.75   12000.0    585575.0
2    00001.HK  2023-03-13 15:59:00  48.80  48.80  48.80  48.75   12500.0    609825.0
3    00001.HK  2023-03-13 15:58:00  48.85  48.80  48.85  48.75    9500.0    463725.0
4    00001.HK  2023-03-13 15:57:00  48.80  48.80  48.85  48.75   24000.0   1171450.0
..        ...                  ...    ...    ...    ...    ...       ...         ...
327  00001.HK  2023-03-13 09:34:00  47.40  47.35  47.45  47.35   17000.0    805975.0
328  00001.HK  2023-03-13 09:33:00  47.55  47.40  47.55  47.40   11000.0    521725.0
329  00001.HK  2023-03-13 09:32:00  47.60  47.55  47.70  47.50   52500.0   2497550.0
330  00001.HK  2023-03-13 09:31:00  47.30  47.60  47.60  47.30   44229.0   2097256.7
331  00001.HK  2023-03-13 09:30:00  47.30  47.30  47.30  47.30  469900.0  22298550.0