Deribit Perpetual Funding
deribit_get_fundingQuery cumulative funding rates and historical funding data for perpetual contracts across a specified time range, optionally returning chart data for a given length.
Instructions
查询永续合约在指定时间范围内的累计资金费率和资金费历史;给 length 时额外返回该长度的资金费走势图数据。时间戳单位为毫秒。
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>",
"start_timestamp": "<start_timestamp>",
"end_timestamp": "<end_timestamp>"
},
"name": "deribit_get_funding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | 资金费走势图长度。该接口按固定长度取最近数据,不受上面的时间范围影响 | |
| end_timestamp | Yes | 毫秒 UNIX 时间戳 | |
| instrument_name | Yes | 永续合约名,例如 BTC-PERPETUAL | |
| start_timestamp | Yes | 毫秒 UNIX 时间戳 |