# Open Interest

A Breadth, Sentiment & External Data concept (Crypto-native) in the LuxAlgo Library, with 3 indicator implementations.

## What is Open Interest?

Open interest is the total number of derivative contracts (futures, options, perpetual swaps) currently open: entered into and not yet closed, settled, or liquidated. Every contract has one long and one short, so OI counts outstanding positions, not traders or trades. It rises only when a new buyer and a new seller both open, falls when both sides close, and stays flat when an existing position simply changes hands. That makes it fundamentally different from volume: volume measures turnover within a period, while open interest measures the standing stock of exposure that remains after the period ends.

The classic futures reading pairs the direction of price with the direction of OI. Price up with OI up suggests new longs are driving the move, fresh money confirming the trend. Price up with OI down suggests short covering, a rally powered by exits that tends to run out of fuel. Price down with OI up marks aggressive new shorts, and price down with OI down marks long liquidation. In crypto perpetuals, OI combined with the [funding rate](https://www.luxalgo.com/library/concept/funding-rate/) shows how crowded and how expensive positioning is, and sudden OI flushes are the footprint of [liquidation clusters](https://www.luxalgo.com/library/concept/liquidation-clusters/) being cleared.

## How to read Open Interest

Open interest plots as a series under price, in contracts, coin terms, or notional dollars; the information comes from pairing its changes with price changes.

1. Plot OI for the instrument you trade and check the unit. For crypto perps, aggregated OI across exchanges gives the fuller picture, while per-exchange OI shows where positioning concentrates. Notional (dollar) OI rises with price even when contract counts do not, so know which you are reading.
2. Classify each price swing with the matrix: rising OI in the direction of the move means new positioning is driving it, while falling OI means the move is powered by position exit, either covering or liquidation.
3. Mark extremes and abrupt changes: record OI built into a level means crowding, and a vertical OI drop paired with a long wick is a forced-liquidation flush rather than voluntary selling.
4. Cross-check the crowd's direction with funding and [cumulative volume delta](https://www.luxalgo.com/library/concept/cumulative-volume-delta/) before deciding which side is trapped.

## How it's calculated

The total number of derivative contracts currently open, meaning created but not yet offset by an opposite trade, delivered, or exercised.

```
OI_t = OI_(t-1) + Q_open - Q_close
ΔOI_t = OI_t - OI_(t-1)
Per matched trade: both sides opening new positions adds the traded quantity to OI, both sides closing existing positions subtracts it, and one side opening while the other closes leaves OI unchanged.
Every open contract pairs one long with one short, so OI_t equals total open long contracts and also equals total open short contracts.

  OI_t: open interest at the end of period t, in contracts
  OI_(t-1): open interest at the end of the prior period
  Q_open: total quantity from trades during t in which buyer and seller both opened new positions
  Q_close: total quantity from trades during t in which buyer and seller both closed existing positions
  ΔOI_t: net change in open interest over period t
  t: reporting period (traditional futures venues publish once daily after settlement)
```

Open interest is tallied by the exchange or clearinghouse from position records; it cannot be derived from price or volume alone.

Volume counts every contract traded, while OI nets out position transfers, so a heavy-volume session can leave OI flat.

Futures OI is a contract count; crypto venues often quote it in notional terms (contracts × contract size × price) and update it continuously.

## How traders use it

- As trend confirmation: a breakout accompanied by rising OI and supportive funding has new commitment behind it, while the same breakout on falling OI is more likely a covering pop.
- As OI-price divergence: price grinding to new highs while OI bleeds off warns that the advance is running on exits rather than fresh demand; the same logic applies inverted at lows.
- As squeeze fuel: a large OI build with stretched funding identifies a crowded side, and the eventual unwind tends to be fast because closing is forced rather than chosen.
- As positioning context in options and dated futures: OI by strike feeds analyses like [option strike walls](https://www.luxalgo.com/library/concept/option-strike-walls/), and OI migration around expiry explains mechanical flows that have nothing to do with opinion.

## Open Interest vs related concepts

- **Volume Delta** (https://www.luxalgo.com/library/concept/volume-delta/): Delta measures which side is hitting the tape within a period, the aggressor flow. Open interest measures how many positions remain open afterward. Big delta with flat OI is churn between existing players, not new exposure.
- **Funding Rate** (https://www.luxalgo.com/library/concept/funding-rate/): Funding is the price of holding a perpetual position, a skew measure; OI is the size of positioning. Crowding reads best when both align: heavy OI plus persistently one-sided funding.
- **COT Analysis** (https://www.luxalgo.com/library/concept/cot-analysis/): COT reports break weekly futures open interest down by trader category (commercials, large speculators), answering who holds the exposure. Raw open interest only says how much exists.

## FAQ

### What does rising open interest mean?

By itself, only that new positions are being opened on both sides. Meaning comes from pairing it with price: rising OI on a rally implies new longs are in control, rising OI on a decline implies new shorts are pressing. It is a participation gauge, not a directional signal on its own.

### How is open interest different from volume?

Volume counts contracts traded during a period, including positions opened and closed within it. Open interest counts contracts still outstanding at a point in time. A day can print huge volume with unchanged OI (positions changing hands) or modest volume with a large OI shift (steady one-way building of exposure).

### Why does open interest suddenly collapse in crypto?

Usually a liquidation cascade: a fast move forces leveraged positions to be closed by the exchange, and each forced order pushes price into the next tier of liquidations. The signature is a vertical OI drop, a long wick, and a funding reset. Voluntary de-risking shows up as a slower, steadier OI decline.

## Implementations in the Library

- Open Interest Chart (LuxAlgo): https://www.luxalgo.com/library/indicator/open-interest-chart/
- Open Interest Inflows & Outflows (LuxAlgo): https://www.luxalgo.com/library/indicator/open-interest-inflows-outflows/
- Liquidation Estimates (Real-Time) (LuxAlgo): https://www.luxalgo.com/library/indicator/liquidation-estimates-real-time/

## Related concepts

- Liquidation Clusters: https://www.luxalgo.com/library/concept/liquidation-clusters/
- On-chain Valuation Suite: https://www.luxalgo.com/library/concept/on-chain-valuation-suite/
- Crypto Cycle Models: https://www.luxalgo.com/library/concept/crypto-cycle-models/
- Exchange & Stablecoin Flows: https://www.luxalgo.com/library/concept/exchange-and-stablecoin-flows/
- Power-law Growth Curves: https://www.luxalgo.com/library/concept/power-law-growth-curves/
- Whale-wallet Tracking: https://www.luxalgo.com/library/concept/whale-wallet-tracking/
- Funding Rate: https://www.luxalgo.com/library/concept/funding-rate/
- Futures Basis: https://www.luxalgo.com/library/concept/futures-basis/
- Long/short Account Ratio: https://www.luxalgo.com/library/concept/long-short-account-ratio/
- NVT Ratio: https://www.luxalgo.com/library/concept/nvt-ratio/

---

Source: https://www.luxalgo.com/library/concept/open-interest/ (LuxAlgo Library, the encyclopedia of trading & technical analysis). Free to use with attribution: https://www.luxalgo.com/library/license/