Deribit Historical Candles
deribit_get_historical_candlesRetrieve historical candlestick and volume data for any Deribit instrument by providing contract name, resolution, and millisecond start/end timestamps.
Instructions
查询指定合约的历史 K 线和成交量。时间戳单位为毫秒。
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": {
"instrument_name": "<instrument_name>",
"resolution": "<resolution>",
"start_timestamp": "<start_timestamp>",
"end_timestamp": "<end_timestamp>"
},
"name": "deribit_get_historical_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resolution | Yes | K 线周期,数字为分钟数,1D 为日线 | |
| end_timestamp | Yes | 毫秒 UNIX 时间戳 | |
| instrument_name | Yes | 合约名,例如 BTC-PERPETUAL、BTC-27JUN25-100000-C | |
| start_timestamp | Yes | 毫秒 UNIX 时间戳 |