Skip to main content
Funding and open interest on a BTC chart

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.
Funding as a yearly rate, as bars, and open interest in USD, as a line in a pane of its own: the two share no scale.

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

Next step

See the next example, Breadth above VWAP.
Last modified on October 16, 2026