Skip to main content
Open interest footprint on a BTC footprint chart

BTC on 1-minute bars in the 0xArchive Terminal, 2026-10-17.

Open on a chart

Load it on BTC 1m in the terminal, then change its settings or open it in the script editor.
At each price, how much open interest the trades there built (blue, right) and unwound (amber, left). Stopped-out longs unwind open interest at the lows; new shorts build it just above them. The colours are neither buy nor sell, since either side can do both. The Net row under each bar is built less unwound. The chart has it built in: pick Open interest under Positions in the chart-type menu. Add it as a script to change it; yours is then a Script choice under Data. Stacked (the second tab above, under Shape in the chart-type menu) draws each price as one bar, as long as its total and split into the lanes’ colours, so the mix at a price reads at a glance.

How it works

Every fill on Hyperliquid, HIP-3 and Lighter carries oiDelta, its change in the venue’s open interest. A lane holds amounts above 0, so the script splits the signed value into two lanes. A fill whose change is 0 (one side opened while the other closed) moves neither.

Try changing

  • Change the stats to ['built', 'unwound'] to drop the Net row.
  • Read only the larger trades with trades({ minNotional: 50_000 }).

The script

open-interest-footprint.ts

Next step

See the next example, Makers opening footprint.
Last modified on October 17, 2026