get_kline
Retrieve historical K-line data for A-share stocks, including daily, weekly, monthly, and intraday periods, to support trend analysis, backtesting, and technical indicator calculations.
Instructions
获取个股K线数据(日/周/月/分钟级)。Historical K-line data — daily, weekly, monthly, or intraday (5/15/30/60 min). 用于趋势分析、回测、技术指标计算。
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": {
"code": "<code>"
},
"name": "get_kline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 6位股票代码 | |
| period | No | daily | |
| limit | No |