get_kline
Retrieve historical K-line candlestick data for stocks, with optional PE, PB, PS, and market cap metrics per candle. Specify symbol, period, count, and adjustment method to get the data needed for technical and valuation analysis.
Instructions
历史 K 线,可选带上每根 K 线的 PE / PB / PS / 市值。
Args: symbol: 股票代码 period: 周期,1m/5m/15m/30m/60m/120m/day/week/month/quarter/year count: 最近多少根 K 线,最多 500 adjust: 复权方式,before 前复权 / after 后复权 / normal 不复权 with_valuation: 为 true 时附带估值指标,适合做估值分位分析
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| adjust | No | before | |
| period | No | day | |
| symbol | Yes | ||
| with_valuation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |