oclaw/runtime/skills/tushare-finance/reference/接口文档/港股实时日线.md
oliver d1bcc4debe feat: multimodal image clients, workspaces, Tushare skill, test fixes
- Replace monolithic image_message_client with HTTP/OCR/legacy modules; tighten OpenAI transport + tool schemas for multimodal downgrade to OCR specialist path.
- Add image/stock workspace prompts (META/SOUL/ROLE_SYSTEM); register experts; tweak specialist agent/direct loop/query_image_attachment.
- Add bundled runtime/skills/tushare-finance (references, api_client, SKILL metadata).
- Document OCR-related env vars; admin chat tweaks; README; weixin_install Ensure-OfficialPluginRuntimeDeps helper.
- Tests: multimodal downgrade + OCR coverage, strict tool pairing in attachment replay guard, workspace contract skips _internal/_system dirs, router/trace/prompt guards.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-10 04:41:42 +08:00

2.5 KiB
Raw Blame History

港股实时日线

文档ID: 383 原始链接: https://tushare.pro/document/2?doc_id=383


港股实时日线

接口:rt_hk_k描述:获取港股实时日k线行情,支持按股票代码及股票代码通配符一次性提取全部股票实时日k线行情限量:单次最大可提取5000条数据积分:本接口是单独开权限的数据,单独申请权限请参考权限列表

输入参数

名称 类型 必选 描述
ts_code str Y 支持通配符方式,e.g. 00001.HK、02*.HK
输出参数
名称 类型 默认显示 描述
ts_code str Y 股票代码
pre_close float Y 昨收价
close float Y 收盘价
high float Y 最高价
open float Y 开盘价
low float Y 最低价
vol float Y 成交量(股)
amount float Y 成交额(元)
接口示例

#获取特定股票实时日线
df = pro.rt_hk_k(ts_code='00001.HK')

#获取今日开盘以来部分港股实时日线
df = pro.rt_hk_k(ts_code='01*.HK')

数据示例

       ts_code  pre_close  close   high   open    low            vol       amount
0    01508.HK      1.040  1.030  1.050  1.040  1.030  14971000.0  15564320.00
1    01314.HK      0.210  0.211  0.211  0.210  0.210     40000.0      8420.00
2    01848.HK      3.940  3.910  3.950  3.940  3.890    300500.0   1176380.00
3    01150.HK      0.091  0.103  0.106  0.106  0.100     45000.0      4580.00
4    01875.HK      1.860  1.970  1.970  1.930  1.890    164000.0    316064.00
..        ...        ...    ...    ...    ...    ...         ...          ...
746  01653.HK      0.260  0.000  0.000  0.000  0.000         0.0         0.00
747  01729.HK      5.440  5.790  5.800  5.440  5.380   6778621.0  37845706.87
748  01608.HK      0.290  0.285  0.290  0.290  0.285    142000.0     41170.00
749  01247.HK      1.700  1.700  1.750  1.740  1.700    120400.0    206708.00
750  01878.HK      1.890  1.900  1.950  1.900  1.840    191100.0    362691.00