K线工具集
quote_klineRetrieves historical candlestick data, price trends, return histories, and snapshot history for stocks, indices, and bonds across HK, US, CN, and JP markets, with date and limit controls.
Instructions
K 线、历史走势与收益率走势;get_jp_kline 仅支持 JP,get_kline 使用截止日期 date 和返回根数 limit。 适用市场:HK、US、CN、JP。 不适用市场:KR。 债券能力:market=GLOBAL。
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": {
"endpoint": "<endpoint>"
},
"name": "quote_kline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | 该 endpoint 的业务参数。将 market、symbol 等字段直接放在此对象内,不要嵌套 params。 | |
| endpoint | Yes | 枚举值含义:get_jp_kline: 查询日股截至指定日期或时间的最近 K 线,支持单只与批量证券,默认每只返回 20 根。;get_kline: 查询股票、指数、债券的历史K线/走势;使用截止日期 date 和返回根数 limit。;get_snapshot_history: 查询证券历史快照数据。 |