cex_fx_get_fx_premium_index
Get premium index (mark price minus index price) history for a contract
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": {
"contract": "<contract>",
"settle": "<settle>"
},
"name": "cex_fx_get_fx_premium_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End timestamp in seconds, defaults to current time if not specified | |
| from | No | Start timestamp in seconds. Defaults to to - 100 * interval if not specified | |
| limit | No | Maximum number of data points to return. Mutually exclusive with from/to parameters | |
| settle | Yes | Settlement currency | |
| contract | Yes | Futures contract name | |
| interval | No | Time interval for data points | 5m |