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

1.6 KiB
Raw Blame History

国债长期利率平均值

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


国债实际长期利率平均值

接口:us_trltr描述:国债实际长期利率平均值限量:单次最大可获取2000行数据,可循环获取权限:用户积累120积分可以使用,积分越高频次越高。具体请参阅积分获取办法

输入参数

名称 类型 必选 描述
date str N 日期
start_date str N 开始日期
end_date str N 结束日期
fields str N 指定字段
输出参数
名称 类型 默认显示 描述
date str Y 日期
ltr_avg float Y 实际平均利率LT Real Average (10> Yrs)
接口调用

pro = ts.pro_api()

df = pro.us_trltr(start_date='20180101', end_date='20200327')


#获取指定字段
df = pro.us_trltr(start_date='20180101', end_date='20200327', fields='ltr_avg')

数据样例

      date ltr_avg
0     20200327   -0.02
1     20200326   -0.05
2     20200325    0.01
3     20200324   -0.04
4     20200323    0.04
...        ...     ...
1995  20120404    0.57
1996  20120403    0.58
1997  20120402    0.53
1998  20120330    0.57
1999  20120329    0.51