funding_divergence
Rank markets by how far their funding has diverged from a benchmark (default ETH) over a trailing window. metric=rate compares mean daily funding; metric=cum_funding_spread compares funding accumulated over the window. Returns the most diverged in each direction. Markets with no funding reading are excluded from both lists. Descriptive only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coins | No | Restrict to these markets. | |
| scope | No | `crypto` (the default), `hip3`, or `all`. | |
| top_n | No | Markets per ranked list, 1..50. Defaults to 10. | |
| metric | No | `rate` (the default) ranks each market's mean daily funding minus the benchmark's; `cum_funding_spread` ranks funding accumulated over the window, high minus low, minus the benchmark's. | |
| benchmark | No | The market whose funding is the yardstick. Defaults to ETH. | |
| window_days | No | Length of the trailing window in days, 1..365. Defaults to 7. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | ||
| notes | Yes | ||
| scope | Yes | ||
| metric | Yes | ||
| source | Yes | ||
| benchmark | Yes | ||
| truncated | Yes | ||
| coin_count | Yes | How many markets had a funding reading in the window; markets without one are excluded from both lists and from this count. | |
| window_days | Yes | ||
| top_negative | Yes | The largest divergences toward the benchmark's opposite, most extreme first. | |
| top_positive | Yes | The largest divergences away from the benchmark, most extreme first. | |
| benchmark_value | Yes | The benchmark's own value for the metric. |