mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-20 19:33:39 +08:00
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>
This commit is contained in:
parent
6307ade480
commit
d1bcc4debe
266 changed files with 57024 additions and 839 deletions
98
runtime/skills/tushare-finance/reference/接口文档/通达信板块成分.md
Normal file
98
runtime/skills/tushare-finance/reference/接口文档/通达信板块成分.md
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
# 通达信板块成分
|
||||
|
||||
**文档ID**: 377
|
||||
**原始链接**: https://tushare.pro/document/2?doc_id=377
|
||||
|
||||
---
|
||||
|
||||
## 通达信板块成分
|
||||
|
||||
接口:tdx_member描述:获取通达信各板块成分股信息限量:单次最大3000条数据,可以根据日期和板块代码循环提取权限:用户积累6000积分可调取,具体请参阅积分获取办法
|
||||
|
||||
输入参数
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>名称</th>
|
||||
<th>类型</th>
|
||||
<th>必选</th>
|
||||
<th>描述</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr>
|
||||
<td>ts_code</td>
|
||||
<td>str</td>
|
||||
<td>N</td>
|
||||
<td>板块代码:xxxxxx.TDX</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>trade_date</td>
|
||||
<td>str</td>
|
||||
<td>N</td>
|
||||
<td>交易日期:格式YYYYMMDD</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
输出参数
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>名称</th>
|
||||
<th>类型</th>
|
||||
<th>默认显示</th>
|
||||
<th>描述</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr>
|
||||
<td>ts_code</td>
|
||||
<td>str</td>
|
||||
<td>Y</td>
|
||||
<td>板块代码</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>trade_date</td>
|
||||
<td>str</td>
|
||||
<td>Y</td>
|
||||
<td>交易日期</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>con_code</td>
|
||||
<td>str</td>
|
||||
<td>Y</td>
|
||||
<td>成分股票代码</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>con_name</td>
|
||||
<td>str</td>
|
||||
<td>Y</td>
|
||||
<td>成分股票名称</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
接口示例
|
||||
|
||||
```
|
||||
|
||||
#获取通达信板块2025年5月13日的航运概念板块成分股
|
||||
df = pro.tdx_member(trade_date='20250513', ts_code='880728.TDX')
|
||||
|
||||
|
||||
```
|
||||
|
||||
数据示例
|
||||
|
||||
```
|
||||
ts_code trade_date con_code con_name
|
||||
0 880728.TDX 20250513 000039.SZ 中集集团
|
||||
1 880728.TDX 20250513 000088.SZ 盐 田 港
|
||||
2 880728.TDX 20250513 000507.SZ 珠海港
|
||||
3 880728.TDX 20250513 000520.SZ 凤凰航运
|
||||
4 880728.TDX 20250513 000582.SZ 北部湾港
|
||||
.. ... ... ... ...
|
||||
59 880728.TDX 20250513 603869.SH ST智知
|
||||
60 880728.TDX 20250513 603967.SH 中创物流
|
||||
61 880728.TDX 20250513 605090.SH 九丰能源
|
||||
62 880728.TDX 20250513 833171.BJ 国航远洋
|
||||
63 880728.TDX 20250513 872351.BJ 华光源海
|
||||
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue