oclaw/runtime/skills/tushare-finance/reference/接口文档/电影日度票房.md
oliver d1bcc4debe 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>
2026-05-10 04:41:42 +08:00

126 lines
2.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 电影日度票房
**文档ID**: 115
**原始链接**: https://tushare.pro/document/2?doc_id=115
---
## 电影日度票房
接口:bo_daily描述:获取电影日度票房数据更新:当日更新上一日数据数据历史: 数据从2018年9月开始,更多历史数据正在补充数据权限:用户需要至少500积分才可以调取,具体请参阅积分获取办法
输入参数
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody><tr>
<td>date</td>
<td>str</td>
<td>Y</td>
<td>日期 (格式YYYYMMDD)</td>
</tr>
</tbody></table>
输出参数
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>默认显示</th>
<th>描述</th>
</tr>
</thead>
<tbody><tr>
<td>date</td>
<td>str</td>
<td>Y</td>
<td>日期</td>
</tr>
<tr>
<td>name</td>
<td>str</td>
<td>Y</td>
<td>影片名称</td>
</tr>
<tr>
<td>avg_price</td>
<td>float</td>
<td>Y</td>
<td>平均票价</td>
</tr>
<tr>
<td>day_amount</td>
<td>float</td>
<td>Y</td>
<td>当日票房(万)</td>
</tr>
<tr>
<td>total</td>
<td>float</td>
<td>Y</td>
<td>累计票房(万)</td>
</tr>
<tr>
<td>list_day</td>
<td>int</td>
<td>Y</td>
<td>上映天数</td>
</tr>
<tr>
<td>p_pc</td>
<td>int</td>
<td>Y</td>
<td>场均人次</td>
</tr>
<tr>
<td>wom_index</td>
<td>float</td>
<td>Y</td>
<td>口碑指数</td>
</tr>
<tr>
<td>up_ratio</td>
<td>float</td>
<td>Y</td>
<td>环比变化 (%)</td>
</tr>
<tr>
<td>rank</td>
<td>int</td>
<td>Y</td>
<td>排名</td>
</tr>
</tbody></table>
接口使用
```
pro = ts.pro_api()
#或者
#pro = ts.pro_api('your token')
df = pro.bo_daily(date='20181014')
```
数据示例
```
date name avg_price day_amount total list_day p_pc \
0 20181014 无双 37.0 4720.0 93611.0 15 16
1 20181014 找到你 32.0 1893.0 15196.0 10 14
2 20181014 影 36.0 1763.0 55370.0 15 11
3 20181014 嗝嗝老师 30.0 1173.0 2912.0 3 13
4 20181014 李茶的姑妈 35.0 864.0 57241.0 15 9
5 20181014 胖子行动队 34.0 597.0 23671.0 15 10
6 20181014 悲伤逆流成河 33.0 426.0 33522.0 24 9
7 20181014 阿凡提之奇缘历险 34.0 280.0 7245.0 14 10
8 20181014 玛雅蜜蜂历险记 31.0 277.0 579.0 3 8
9 20181014 超能泰坦 31.0 189.0 1197.0 3 2
```