公共行情SQL刷新
market_data_refreshRefresh missing daily K-line data for Chinese stocks and indexes into market_data.db. Supports full-market, specific codes, indexes, or name/info updates via mode parameter.
Instructions
联网补齐个股/指数日 K 到公共 SQL market_data.db(唯一联网入口)。mode=full 刷指数+代码名称(轻量);mode=stock 补指定代码;mode=index 仅指数;mode=info 仅代码名称;mode=prime 全市场当日补齐(重活,仅收盘后低峰)。所有上层任务禁止直连 gtimg/Sina/akshare 现拉 K 线,需数据先查库,缺失再调本工具。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "market_data_refresh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | market_data.db 路径 | /app/data/market_data.db |
| days | No | 历史深度(交易日近似) | |
| mode | No | full/index/stock/info/prime | full |
| codes | No | stock 模式的代码列表,逗号分隔 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |