funding-apr
Calculate annualized and accumulated funding costs for a perpetual position over a specified symbol and time window.
Instructions
Per-period financing cost of a position, annualised and accumulated.
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>",
"start_ns": "<start_ns>",
"end_ns": "<end_ns>"
},
"name": "funding-apr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_ns | Yes | ||
| symbol | Yes | ||
| start_ns | Yes | ||
| asset_class | No | Which market answers. Inferred from the symbol's source when omitted. |