kline
Retrieve candlestick (OHLCV) data for stocks in A-share, Hong Kong, and US markets. Input a symbol in CODE.MARKET format and optional period from 1 month to 1 year.
Instructions
Get K-line (candlestick/OHLCV) data for a stock.
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": "kline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Time period - 1mo, 3mo, 6mo, 1y (default: 3mo) | 3mo |
| symbol | Yes | Stock symbol in CODE.MARKET format (e.g. 600519.SH, 0700.HK) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |