mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-20 15:00: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
91
runtime/skills/tushare-finance/reference/接口文档/券商月度金股.md
Normal file
91
runtime/skills/tushare-finance/reference/接口文档/券商月度金股.md
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
# 券商月度金股
|
||||
|
||||
**文档ID**: 267
|
||||
**原始链接**: https://tushare.pro/document/2?doc_id=267
|
||||
|
||||
---
|
||||
|
||||
## 券商每月荐股
|
||||
|
||||
接口:broker_recommend描述:获取券商月度金股,一般1日~3日内更新当月数据限量:单次最大1000行数据,可循环提取积分:积分达到6000即可调用,具体请参阅积分获取办法
|
||||
|
||||
输入参数
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>名称</th>
|
||||
<th>类型</th>
|
||||
<th>必选</th>
|
||||
<th>描述</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr>
|
||||
<td>month</td>
|
||||
<td>str</td>
|
||||
<td>Y</td>
|
||||
<td>月度(YYYYMM)</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
输出参数
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>名称</th>
|
||||
<th>类型</th>
|
||||
<th>默认显示</th>
|
||||
<th>描述</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr>
|
||||
<td>month</td>
|
||||
<td>str</td>
|
||||
<td>Y</td>
|
||||
<td>月度</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>broker</td>
|
||||
<td>str</td>
|
||||
<td>Y</td>
|
||||
<td>券商</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ts_code</td>
|
||||
<td>str</td>
|
||||
<td>Y</td>
|
||||
<td>股票代码</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>name</td>
|
||||
<td>str</td>
|
||||
<td>Y</td>
|
||||
<td>股票简称</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
接口示例
|
||||
|
||||
```
|
||||
|
||||
#获取查询月份券商金股
|
||||
df = pro.broker_recommend(month='202106')
|
||||
|
||||
```
|
||||
|
||||
数据示例
|
||||
|
||||
```
|
||||
month broker ts_code name
|
||||
0 202106 东兴证券 000066.SZ 中国长城
|
||||
1 202106 东兴证券 000708.SZ 中信特钢
|
||||
2 202106 东兴证券 002304.SZ 洋河股份
|
||||
3 202106 东兴证券 003816.SZ 中国广核
|
||||
4 202106 东兴证券 300196.SZ 长海股份
|
||||
.. ... ... ... ...
|
||||
263 202106 长城证券 600096.SH 云天化
|
||||
264 202106 长城证券 600809.SH 山西汾酒
|
||||
265 202106 长城证券 603596.SH 伯特利
|
||||
266 202106 长城证券 603885.SH 吉祥航空
|
||||
267 202106 长城证券 605068.SH 明新旭腾
|
||||
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue