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: 332 原始链接: https://tushare.pro/document/2?doc_id=332


转融券交易汇总

接口:slb_sec描述:转融通转融券交易汇总限量:单次最大可以提取5000行数据,可循环获取所有历史积分:2000积分每分钟请求200次,5000积分500次请求

输入参数

名称 类型 必选 描述
trade_date str N 交易日期(YYYYMMDD格式,下同)
ts_code str N 股票代码
start_date str N 开始日期
end_date str N 结束日期
输出参数
名称 类型 默认显示 描述
trade_date str Y 交易日期(YYYYMMDD)
ts_code str Y 股票代码
name str Y 股票名称
ope_inv float Y 期初余量(万股)
lent_qnt float Y 转融券融出数量(万股)
cls_inv float Y 期末余量(万股)
end_bal float Y 期末余额(万元)
接口示例

pro = ts.pro_api()

df = pro.slb_sec(trade_date='20240620')


数据示例

        trade_date   ts_code   name  ope_inv lent_qnt  cls_inv   end_bal
0      20240620  000001.SZ   平安银行   186.97     1.43   188.40   2004.70
1      20240620  000002.SZ    万科A  3456.26     3.18  3376.80  24346.73
2      20240620  000006.SZ   深振业A    17.08     None    17.08     64.56
3      20240620  000008.SZ   神州高铁    17.07     None    17.07     33.97
4      20240620  000009.SZ   中国宝安   315.61     0.66   310.56   2822.99
...         ...        ...    ...      ...      ...      ...       ...
2249   20240620  688798.SH  XD艾为电    65.35     1.32    63.40   3727.91
2250   20240620  688800.SH    瑞可达     6.49     None     6.36    191.18
2251   20240620  688819.SH   天能股份   108.34     1.05   108.44   2717.34
2252   20240620  688981.SH   中芯国际   303.00    22.45   315.30  15386.64
2253   20240620  689009.SH   九号公司   259.35     5.72   253.62  10583.56