
BTC on 1-hour bars in the 0xArchive Terminal, 2026-10-15.
Open on a chart
Load it on BTC 1h in the terminal, then change its settings or open it in the script editor.
How it works
derivatives() is a sample stream: read in a handler, it gives the last 5-minute sample before the bar closed. funding is the rate for one hour, as a fraction, so the yearly percent is that times 24 × 365 × 100. For per-bar open interest with high and low, see openInterest().
The script
funding-oi.ts