get_kline
Retrieve historical kline data for any trading pair, including open, high, low, close prices, volume, and turnover, with customizable intervals and categories.
Instructions
Get kline/candlestick data.
Args: symbol: The trading pair, e.g., BTCUSDT. interval: Kline interval: 1,3,5,15,30,60,120,240,360,720,D,M,W (default: 60). category: Product type: spot, linear, inverse (default: spot). limit: Number of records (default: 100, max: 1000).
Returns: List of kline data [startTime, openPrice, highPrice, lowPrice, closePrice, volume, turnover].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| interval | No | 60 | |
| category | No | spot | |
| limit | No |