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

3 KiB
Raw Blame History

柜台流通式债券最优报价

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


柜台流通式债券最优报价

接口:bc_bestotcqt描述:柜台流通式债券最优报价限量:单次最大2000,可多次提取,总量不限制积分:用户需要至少500积分可以试用调取,2000积分以上频次相对较高,积分越多权限越大,具体请参阅积分获取办法

输入参数

名称 类型 必选 描述
trade_date str N 报价日期(YYYYMMDD格式,下同)
start_date str N 开始日期
end_date str N 结束日期
ts_code str N TS代码
输出参数
名称 类型 默认显示 描述
trade_date str N 报价日期
ts_code str N 债券编码
name str N 债券简称
remain_maturity str N 剩余期限
bond_type str N 债券类型
best_buy_bank str N 最优报买价方
best_buy_yield float N 投资者最优买入价到期收益率(%)
best_buy_price float N 投资者最优买入全价
best_sell_bank str N 最优卖报价方
best_sell_yield float N 投资者最优卖出价到期收益率(%)
best_sell_price float N 投资者最优卖出全价
接口示例
pro = ts.pro_api(your token)
#获取柜台流通式债券最优报价
df = pro.bc_bestotcqt(ts_code='200013.BC',start_date='20240325',end_date='20240329',fields='trade_date,ts_code,name,remain_maturity,best_buy_bank,best_buy_yield,best_sell_bank,best_sell_yield')

数据示例

    trade_date ts_code name remain_maturity best_buy_bank best_buy_yield best_sell_bank best_sell_yield
0   20240325  200013.BC  20附息国债13     1年211天       建设银行         1.9041        工商银行          1.9227
1   20240326  200013.BC  20附息国债13     1年210天       工商银行         1.8813        工商银行          1.9133
2   20240327  200013.BC  20附息国债13     1年209天       工商银行         1.8718        工商银行          1.9039
3   20240328  200013.BC  20附息国债13     1年208天       工商银行         1.8623        建设银行          1.8921
4   20240329  200013.BC  20附息国债13     1年207天       工商银行         1.8528        交通银行          1.8464