Funding Rate Model
The funding rate model transforms raw exchange funding rates into annualized metrics suitable for analysis.
Annualization
Perpetual futures funding rates are typically settled every 8 hours. To compare opportunities on an annual basis, we annualize:
For standard 8-hour intervals:
The annualized funding APR is:
Where is the per-interval funding rate (e.g., 0.0012 for 0.12%).
Example
Given:
- (0.12% per interval)
- hours
Then:
This is the headline funding APR before any reality adjustments.
Per-Interval Rate
For simulation purposes, we can derive the per-interval rate from APR:
Market Data Requirements
Funding Yield OS requires the following inputs:
| Data Point | Source | Frequency |
|---|---|---|
| Funding rate | Exchange API | Each funding interval |
| Funding interval | Exchange documentation | Static |
| Mark price | Exchange API | Continuous |
| Index price | Exchange API | Continuous |
| Open interest | Exchange API | Hourly |
Supported Exchanges
| Exchange | Interval | |
|---|---|---|
| Binance | 8 hours | 1095 |
| Bybit | 8 hours | 1095 |
| OKX | 8 hours | 1095 |
Missing Data Policy
- Missing raw inputs are not silently converted to zero
- If a metric cannot be computed safely, it returns
null - Fallback defaults are only used when explicitly defined
Specification Status
This model follows the formal mathematical specification maintained internally. Key properties:
- Deterministic — Same inputs always produce same outputs
- Exchange-independent — Consistent annualization across venues
- Auditable — Every calculation is reproducible from raw data