get_kline
Retrieve historical candlestick price data for stocks with configurable intervals, date ranges, and adjustment types.
Instructions
Get K-line / candlestick / historical price (K线/蜡烛图/历史走势).
ktype: 1m,3m,5m,15m,30m,60m,1d,1w,1M,1Q,1Y. rehab: none/forward/backward
(forward=前复权 default). With start+end (YYYY-MM-DD) pulls historical K-line
across the range; otherwise the latest num bars. US intraday session not
exposed in v1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| num | No | ||
| code | Yes | ||
| ktype | No | 1d | |
| rehab | No | forward | |
| start | No |