get_history
获取贵金属历史行情(小时级 OHLCV,时间升序)。付费工具:每次调用计 1 次。数据自 2026-05-27 起可用,单次范围不超过 92 天。
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": {
"goldid": "<goldid>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goldid | Yes | 品种 ID(单个) | |
| end_date | Yes | 结束日期,格式 Y-m-d;与 start_date 跨度不超过 92 天 | |
| start_date | Yes | 开始日期,格式 Y-m-d,如 2026-10-01,不得早于 2026-05-27 |