wmshare_history
Retrieves daily K-line history for a stock symbol using either recent bar count or paired begin/end dates, with optional adjustment and sample, count, or summary output for CN, HK, and US markets.
Instructions
取个股日 K:支持 n、前/后复权和 begin/end 区间;begin/end 必须成对。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "wmshare_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | 最近 K 线根数;与 begin/end 二选一 | |
| adj | No | 复权:qfq 前复权或 hfq 后复权 | |
| end | No | 日期,格式 YYYY-MM-DD | |
| begin | No | 日期,格式 YYYY-MM-DD | |
| market | No | 目标市场 cn/hk/us;缺省用 server 配置市场 | |
| output | No | sample 返回样例;count 只返回计数;summary 返回压缩摘要 | sample |
| symbol | Yes | 标的代码;先用 wmshare_symbols 解析 | |
| max_rows | No | 单次返回的最大行数,硬上限 200 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||