get_kline
Fetch Chinese stock K-line data by stock code, including daily, weekly, monthly, and minute charts, with configurable period and record count for charting or technical analysis.
Instructions
获取K线数据(日K/周K/月K/分钟线)
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": {
"stockCode": "<stockCode>"
},
"name": "get_kline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | 获取数量(默认100) | |
| period | No | 周期: 101=日K, 102=周K, 103=月K, 1=1分钟, 5=5分钟, 15=15分钟, 30=30分钟, 60=60分钟 | 101 |
| stockCode | Yes | 股票代码 |