mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-20 02:23:17 +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 KiB
2 KiB
实时分钟
文档ID: 374 原始链接: https://tushare.pro/document/2?doc_id=374
A股实时分钟
接口:rt_min描述:获取全A股票实时分钟数据,包括1~60min限量:单次最大1000行数据,可以通过股票代码提取数据,支持逗号分隔的多个代码同时提取权限:正式权限请参阅权限说明
注:支持股票当日开盘以来的所有历史分钟数据提取,接口名:rt_min_daily(仅支持一个个股票提取,不同同时提取多个)
输入参数
| 名称 | 类型 | 必选 | 描述 |
|---|---|---|---|
| freq | str | Y | 1MIN,5MIN,15MIN,30MIN,60MIN (大写) |
| ts_code | str | Y | 支持单个和多个:600000.SH 或者 600000.SH,000001.SZ |
| freq | 说明 |
|---|---|
| 1MIN | 1分钟 |
| 5MIN | 5分钟 |
| 15MIN | 15分钟 |
| 30MIN | 30分钟 |
| 60MIN | 60分钟 |
| 名称 | 类型 | 默认显示 | 描述 |
|---|---|---|---|
| ts_code | str | Y | 股票代码 |
| time | None | Y | 交易时间 |
| open | float | Y | 开盘价 |
| close | float | Y | 收盘价 |
| high | float | Y | 最高价 |
| low | float | Y | 最低价 |
| vol | float | Y | 成交量(股) |
| amount | float | Y | 成交额(元) |
pro = ts.pro_api()
#获取浦发银行60000.SH的实时分钟数据
df = pro.rt_min(ts_code='600000.SH', freq='1MIN')