get_klines
Retrieve historical candlestick (K-line) data for any trading symbol with configurable time interval and number of bars, enabling price trend analysis and trading decisions.
Instructions
获取历史 K 线数据(REST 请求)。
Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE interval: K 线周期,可选 1m/5m/15m/30m/1h/4h/1d 等 limit: 返回条数,默认 100
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| symbol | Yes | ||
| interval | No | 1h |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |