mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-19 23:50:46 +08:00
- 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>
2.1 KiB
2.1 KiB
基金规模
文档ID: 207 原始链接: https://tushare.pro/document/2?doc_id=207
基金规模数据
接口:fund_share,可以通过数据工具调试和查看数据。描述:获取基金规模数据,包含上海和深圳ETF基金限量:单次最大提取2000行数据积分:用户需要至少2000积分可以调取,5000积分以上频次较高,具体请参阅积分获取办法
输入参数
| 名称 | 类型 | 必选 | 描述 |
|---|---|---|---|
| ts_code | str | N | TS基金代码 |
| trade_date | str | N | 交易日期 |
| start_date | str | N | 开始日期 |
| end_date | str | N | 结束日期 |
| market | str | N | 市场代码(SH上交所 ,SZ深交所) |
| 名称 | 类型 | 默认显示 | 描述 |
|---|---|---|---|
| ts_code | str | Y | 基金代码,支持多只基金同时提取,用逗号分隔 |
| trade_date | str | Y | 交易(变动)日期,格式YYYYMMDD |
| fd_share | float | Y | 基金份额(万) |
#初始接口
pro = ts.pro_api()
#单只基金
df = pro.fund_share(ts_code='150018.SZ')
#多只基金
df = pro.fund_share(ts_code='150018.SZ,150008.SZ')
数据示例
ts_code trade_date fd_share
0 150018.SZ 20200214 206733.2898
1 150018.SZ 20200213 209274.0911
2 150018.SZ 20200212 211859.8666
3 150018.SZ 20200211 215224.2959
4 150018.SZ 20200210 216739.3881
... ... ... ...
1995 150018.SZ 20111129 319525.0658
1996 150018.SZ 20111128 317324.2829
1997 150018.SZ 20111125 317324.2131
1998 150018.SZ 20111124 316113.2233
1999 150018.SZ 20111123 314305.3576