get_klines
Retrieve historical candlestick data for specified trading pairs and time intervals from Binance exchange to analyze market trends and price movements.
Instructions
获取K线历史数据
Input Schema
Name | Required | Description | Default |
---|---|---|---|
interval | Yes | 时间间隔 | |
limit | No | 数量限制,默认500 | |
symbol | Yes | 交易对符号,如 BTCUSDT |
Input Schema (JSON Schema)
{
"properties": {
"interval": {
"description": "时间间隔",
"enum": [
"1m",
"3m",
"5m",
"15m",
"30m",
"1h",
"2h",
"4h",
"6h",
"8h",
"12h",
"1d",
"3d",
"1w",
"1M"
],
"type": "string"
},
"limit": {
"default": 500,
"description": "数量限制,默认500",
"type": "number"
},
"symbol": {
"description": "交易对符号,如 BTCUSDT",
"type": "string"
}
},
"required": [
"symbol",
"interval"
],
"type": "object"
}