Get funding rate history
hl_get_funding_historyRetrieve historical hourly funding rates for a specified perpetual coin. Analyze carry and funding trends with cumulative and annualized metrics over a customizable time window.
Instructions
Historical hourly funding rates for a coin over a time window, with cumulative and average annualized funding. Use for carry analysis and funding trend. Defaults to the last 7 days if no window is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Perp coin symbol, e.g. 'BTC'. | |
| limit | No | ||
| offset | No | ||
| endTime | No | End time ms epoch (default now). | |
| startTime | No | Start time ms epoch (default: 7 days ago). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| count | Yes | ||
| avgApr | Yes | ||
| entries | Yes | ||
| avgHourly | Yes | ||
| cumulative | Yes | ||
| nextOffset | Yes |