Aperiodic
Metrics
MarketsLive
DocsPricing
Get the data

Aperiodic Indices·PositioningNew

Aperiodic OI Divergence Index

The part of the open interest move that price doesn’t explain. Large readings come with squeezes and forced unwinds.

Get it through the APIAll indices

Use it to

  • Catch squeezes as they happen+

    Beyond ±2, positions moved far more than the price move explains: the mark of squeezes and forced unwinds.

  • Add what price can’t tell you+

    The part of open interest that tracks price is taken out, so what’s left adds to a model rather than repeating it.

  • Watch a basket for stress+

    Several perps diverging at once points to positioning stress across the market, not one coin’s news.

Are positions moving more than price explains?

−0.89σ

Within ±1 (−0.89): positions are moving about as much as price explains.

explained by price
this day8 May squeeze
−5 · Closing beyond priceOpening beyond price · +5
BTC-USDT perp · Binance · 14:00 UTC, 14 May 2025
Built from our open interest and price metrics
A day of BTCHow it worksWhat we foundHow it’s builtGet itPositioning

A day of BTC

BTC-USDT perp · Binance, five-minute bars on 14 May 2025, from the free preview: the live feed doesn’t carry OI Divergence yet: it needs a week of history. Drag to move.
BTC-USDT perp · Binance · priceOI Divergence
14:0518:0000:00 · 14 May06:0014:00
15:30 UTC, 13 May · +1.43 σ

How it works

PriceOpen interest
14:0518:0000:00 · 14 May06:0014:00
priceopen interestpositions moving beyond what price explainsdrag the day

+1.43usual swings

15:30 UTC, 13 May · open interest +0.39% in the hour

+1.43: positions are opening beyond what price explains.

  1. Step 1Start from the open interest build: log open interest in contracts against its 12-hour time-decayed mean, in units of its 7-day root mean square.
  2. Step 2Remove what the same build on mark price explains, with a 7-day time-decayed beta.
  3. Step 3Scale what’s left by its own 7-day root mean square.

What we found

Whether BTC moved more after open interest broke from price, BTC on Binance, May 2025.
Median BTC move over the next hour
18.1
19.0
18.1
19.4
21.4
Smallest2nd3rd4thLargest

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.

Family
Positioning
Unit
Usual swings (σ)
Column
positioning.open_interest_divergence
Intervals
Every interval, 1 minute to 1 day
Venues
Binance, OKX, Hyperliquid

How it’s built

The 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.

  1. Step 1

    Open interest against its 12-hour level

    gap=ln OI 11.3029 − 12h mean 11.3132=−0.0103

    Open interest is counted in contracts, so a price move alone doesn't change it. The mean is over the bars before this one.

    11.33511.302
    14:05, 13 May14:00, 14 May
    ln open interest (contracts)12-hour time-decayed mean
  2. Step 2

    Take out what price explains

    open_interest_divergence=(build − β × price build) ÷ its 7-day RMS=−0.893

    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.

    +1.4−1.0
    14:05, 13 May14:00, 14 May

    open_interest_divergence on each bar: above 0 positions are being added beyond what price explains, below 0 closed.

  3. Step 3

    Against a day's trading

    leverage_index=OI $8.41B ÷ typical day $17.33B=0.486

    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.

  4. Step 4

    Funding paid to add positions

    crowding=1e4 × day's funding 0.0079% × max(0, OI growth)=0.000

    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.

  5. Step 5

    The bar

    open_interest_divergence
    −0.8932
    leverage_index
    0.4857
    crowding
    0.0000

Get the OI Divergence Index

In the APIpositioning.open_interest_divergence

For 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.

Get it with PrimeSee the dataset

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 Claude · Claude Code · Codex · See 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"

Also in Positioning

How crowded is the trade?
Aperiodic Leverage IndexHow big are open positions next to a day of trading?Aperiodic Crowding IndexAre traders paying to pile in?The Positioning indicesAll 3 side by side, and the other two families.
Aperiodic

Built from hundreds of terabytes of raw data and distilled into point-in-time metrics you can pull as parquet files. Plus the raw trades, quotes and derivatives data behind them.

Data
  • Metrics library
  • Order Flow
  • L1 & L2
  • Derivatives
  • Raw Data
  • Data Catalog
  • Free data
  • Pricing
Use Cases
  • Improve your backtest
  • Find new alpha
  • Execute smarter
Indices
  • All indices
  • Flow indices
  • Pressure Index
  • Conviction Index
  • Positioning indices
  • OI Divergence Index
  • Leverage Index
  • Crowding Index
  • Liquidity indices
  • Cost Index
  • Depth Index
  • Impact Index
Tokenized markets
  • All real-world assets
  • Commodity perps
  • Tokenized stock perps
  • Stock index perps
  • Tokenized ETF perps
  • Pre-IPO perps
  • FX perps
  • Hyperliquid HIP-3
Live markets
  • Live markets dashboard
  • Every perp, A–Z
  • Real-world asset board
  • Global Liquidity
  • Unusual activity
  • Live funding rates
Developers
  • Docs
  • API Docs
  • MCP Server
  • For AI Agents
  • Pre-flight
  • Notebooks
  • Integrations
  • Atlas Security Master
  • TParquet
  • llms.txt
Learn
  • Markets from First Principles
  • Microstructure Guide
  • Replays
  • Architecture
  • Research Blog
  • FAQ
Company
  • Team
  • Contact
  • Book a call
  • Changelog
  • Roadmap
Compare
  • All vendors
  • Pricing compared
  • vs. Tardis
  • vs. CoinGlass
  • vs. Kaiko
  • vs. Amberdata
  • vs. Crypto Lake
  • vs. Laevitas
  • vs. Coinalyze
Exchange data
  • Binance archive
  • Hyperliquid data
  • Binance OI history API
  • OKX history APIs

© Copyright 2026 Aperiodic. All Rights Reserved.

Aperiodic Limited · Registered in Ireland · Company No. 815273 ·
136 Capel Street, Dublin D01 T2C9, Ireland
Terms of ServicePrivacy PolicyLicensingSLA