mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-20 16:10:46 +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
121
runtime/skills/tushare-finance/reference/接口文档/同花顺行业概念成分.md
Normal file
121
runtime/skills/tushare-finance/reference/接口文档/同花顺行业概念成分.md
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
# 同花顺行业概念成分
|
||||
|
||||
**文档ID**: 261
|
||||
**原始链接**: https://tushare.pro/document/2?doc_id=261
|
||||
|
||||
---
|
||||
|
||||
## 同花顺概念板块成分
|
||||
|
||||
接口:ths_member描述:获取同花顺概念板块成分列表注:数据版权归属同花顺,如做商业用途,请主动联系同花顺。限量:用户积累6000积分可调取,每分钟可调取200次,可按概念板块代码循环提取所有成分
|
||||
|
||||
输入参数
|
||||
|
||||
<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>板块指数代码</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>con_code</td>
|
||||
<td>str</td>
|
||||
<td>N</td>
|
||||
<td>股票代码</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>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>
|
||||
<tr>
|
||||
<td>weight</td>
|
||||
<td>float</td>
|
||||
<td>N</td>
|
||||
<td>权重(暂无)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>in_date</td>
|
||||
<td>str</td>
|
||||
<td>N</td>
|
||||
<td>纳入日期(暂无)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>out_date</td>
|
||||
<td>str</td>
|
||||
<td>N</td>
|
||||
<td>剔除日期(暂无)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>is_new</td>
|
||||
<td>str</td>
|
||||
<td>N</td>
|
||||
<td>是否最新Y是N否</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
接口示例
|
||||
|
||||
```
|
||||
pro = ts.pro_api()
|
||||
|
||||
df = pro.ths_member(ts_code='885800.TI')
|
||||
|
||||
```
|
||||
|
||||
数据样例
|
||||
|
||||
```
|
||||
ts_code con_code con_name
|
||||
0 885800.TI 000016.SZ 深康佳A
|
||||
1 885800.TI 000049.SZ 德赛电池
|
||||
2 885800.TI 002008.SZ 大族激光
|
||||
3 885800.TI 002036.SZ 联创电子
|
||||
4 885800.TI 002055.SZ 得润电子
|
||||
.. ... ... ...
|
||||
87 885800.TI 688127.SH 蓝特光学
|
||||
88 885800.TI 688157.SH 松井股份
|
||||
89 885800.TI 688286.SH 敏芯股份
|
||||
90 885800.TI 688312.SH 燕麦科技
|
||||
91 885800.TI 688386.SH 泛亚微透
|
||||
|
||||
[92 rows x 3 columns]
|
||||
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue