Aperiodic IndicesPositioningNew
Open interest divided by a typical day of taker volume: how many days of trading the open positions add up to.
At 2.0, open positions add up to two days of taker volume: a book that would take days to unwind.
The higher it reads, the longer a rush for the exit takes to clear. Trade smaller where it’s high.
In days of trading, a small stock perp and Bitcoin compare directly, whatever their open interest in dollars.
How big are open positions next to a day of trading?
0.486days
Open positions add up to 11.7 hours of trading.
0.502days
19:45 UTC, 13 May
Open positions add up to 12.1 hours of trading. Higher means more open interest riding on each dollar that trades.
Bars by the size of open_interest_divergence, in five equal groups. Basis points.
In May, BTC's median move over the next hour was 1.2× larger after the fifth of bars where open interest broke furthest from price.
positioning.leverage_indexThe day of 5m bars up to the bar from 14:00 to 14:05 UTC on 14 May 2025, Binance BTC-USDT perpetual, from the free preview.
Step 1
Open interest is counted in contracts, so a price move alone doesn't change it. The mean is over the bars before this one.
Step 2
The build is the gap in units of its 7-day RMS, so one threshold reads on BTC and on a thin listing; the price build is the same score on the log mark price. β is a 7-day time-decayed fit of one on the other, both clipped at ±3, so a crash doesn't set it for the week after. What is left is positions moving beyond what price explains.
open_interest_divergence on each bar: above 0 positions are being added beyond what price explains, below 0 closed.
Step 3
The typical day is a 7-day time-decayed mean of daily taker notional, over the days before this bar's; the plain mean of the last seven days was $19.46B. Open positions came to 0.49 of a typical day's trading.
Step 4
The growth is 100 × (ln OI − its 3.5-day mean). Open interest was shrinking on this bar, so crowding is 0 however high funding is: no one is paying to pile in. Positive means longs pay to add, negative that shorts do.
Step 5
positioning.leverage_indexFor every perpetual on Binance, OKX and Hyperliquid, at every interval from 1 minute to 1 day, on exchange and receive timestamps.
In Prime and up, from $399/month billed yearly.
The example needs no key and returns the free sample: BTC-USDT on Binance, 5m bars, May 2025.
Or have your agent pull the last 30 days. Start in ClaudeClaude CodeCodexSee the prompt
# Install the Aperiodic CLI into ~/.local/bin
mkdir -p "$HOME/.local/bin"
curl -fsSL https://raw.githubusercontent.com/aperiodic-io/cli/main/install.sh | INSTALL_DIR="$HOME/.local/bin" bash
export PATH="$HOME/.local/bin:$PATH"
# Free preview — no API key required
aperiodic positioning --preview \
--exchange binance-futures \
--symbol perpetual-BTC-USDT:USDT \
--interval 5m \
--timestamp exchange \
--start-date 2025-05-01 \
--end-date 2025-05-31 \
--output-dir ./data && echo "Saved to $PWD/data"