get_kline
Retrieve historical candlestick data for stocks with configurable periods and bar counts. Supports day, week, and month intervals up to 640 bars.
Instructions
Get historical K-line (candlestick) data for a stock. Day/week/month periods, up to 640 bars.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Stock code, e.g. "600519" or "sh600519" | |
| days | No | Number of bars (20-640, default 120) | |
| period | No | K-line period | day |