K 线历史
market_klinesRetrieve candlestick (OHLCV) data for any Binance futures symbol and interval, with optional start and end time filters to analyze price movements within a specified period.
Instructions
获取指定交易对与周期的 K 线(含 OHLCV 与成交信息),支持时间范围过滤。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>",
"interval": "<interval>"
},
"name": "market_klines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| symbol | Yes | ||
| endTime | No | ||
| interval | Yes | ||
| startTime | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |