derivatives.funding_apr_matrix
Use this tool to evaluate a spot+perpetual carry trade: annualizes the current perpetual funding rate into an APR, flags which side (SHORT or LONG perp) currently collects funding, and computes how many days of that funding income it takes to recoup an assumed round-trip trading cost. Pure calculation on top of funding_rate data - no extra upstream call. Do not use for the raw current funding rate alone (use derivatives.funding_rate) or for spot price data. Paid in USDC on Base.
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>"
},
"name": "derivatives.funding_apr_matrix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Ticker symbol, e.g. BTC, ETH, or BTCUSDT. | |
| assumed_round_trip_cost_pct | No | Combined entry+exit trading fee percentage across both the spot and perpetual legs. Defaults to 0.2. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | No | ||
| symbol | Yes | ||
| data_source | Yes | ||
| generated_at | Yes | ||
| breakeven_days | No | ||
| periods_per_year | No | ||
| annualized_rate_pct | No | ||
| funding_collector_side | No | ||
| funding_interval_hours | No | ||
| funding_rate_percentage | No | ||
| daily_funding_income_pct | No | ||
| assumed_round_trip_cost_pct | Yes |