Sub topic 11
Open interest and crowded positioning as a warning sign
This chapter assumes you know how perpetual futures, margin, liquidation prices and funding rates work, as covered in the earlier chapters. It also assumes you can read short Python programs. The goal is to learn what open interest measures, how to combine it with funding and price data, and where the signal misleads.
What open interest measures
Open interest (OI) is the total size of futures or perpetual contracts that are currently open and have not been closed or liquidated. It is a stock, like a balance. Volume is a flow, because it counts every trade during a period.
Every contract has one long side and one short side, so open interest counts each pair once. Long and short open interest are always equal. When someone says "the market is long-heavy", they do not mean the longs hold more contracts. They mean longs are paying funding, are using more leverage, or are positioned for the same price move.
Open interest changes in three ways:
| Trade | Effect on open interest |
|---|---|
| A new buyer and a new seller open a position | Increases |
| An existing holder closes against a new trader (one side leaves, one enters) | No change |
| Both the buyer and the seller are closing existing positions | Decreases |
Because of the second row, a busy day can leave open interest flat. Volume tells you how much traded. Open interest tells you how much leveraged exposure is still outstanding.
Units matter
Exchanges report open interest in different units: contracts, the base coin (for example BTC), or dollars. A dollar figure rises when the price rises, even if nobody opens a new position. To judge whether leverage is building, compare open interest in coin terms, or compare it to the market capitalization or to the exchange's reserves.
def oi_in_coin(oi_usd, price):
"""Convert dollar open interest to base-coin open interest."""
return oi_usd / price
# Price rises 10%, dollar OI rises 10%, but no new exposure was opened.
before = oi_in_coin(5_000_000_000, 50_000)
after = oi_in_coin(5_500_000_000, 55_000)
print(before, after) # 100000.0 100000.0Why crowding raises the risk of a cascade
The previous chapters showed that each leveraged position has a liquidation price. The more open interest sits near a price level, the more forced orders appear if the price reaches it. A crowded market is one where many traders hold the same direction with high leverage. In that case:
- Liquidation prices cluster close to each other, because traders enter at similar prices and use similar leverage.
- Few traders are on the other side willing to absorb the forced orders without moving the price.
- Each wave of forced selling (or buying) triggers the next cluster, which is the mechanism you simulated in the cascade chapter.
Open interest by itself does not say which side is crowded. You need a second variable. Funding is the most common one.
Reading open interest together with price and funding
Think of three signals: the price change, the open interest change, and the funding rate. Each combination suggests a different story.
| Price | Open interest | Likely interpretation |
|---|---|---|
| Up | Up | New leveraged longs are entering. The trend has fresh participation, and the long side may become crowded. |
| Up | Down | Shorts are closing (a short squeeze) or longs are taking profit. The move lacks new participation. |
| Down | Up | New shorts are entering, or longs are adding as the price falls. Check funding to tell which. |
| Down | Down | Longs are closing or being liquidated. Leverage is leaving the market. |
These readings are hypotheses, not facts. Open interest does not reveal who opened the new contracts. A hedge fund running a basis trade (long spot, short perpetual) adds open interest without taking a directional view, and that exposure is not at risk in the same way.
The funding rate adds the missing information. Recall that when the perpetual trades above spot, funding is positive and longs pay shorts. A persistently high positive funding rate together with rising open interest means that many traders are paying to hold longs. That is the classic crowded-long signature. Persistently negative funding with rising open interest suggests a crowded short side.
A simple crowding score
The function below turns the three signals into a rough score. It is a teaching tool, and its thresholds are arbitrary. Real analysis would use history from the specific market to choose them.
def crowding_signal(oi_change_pct, funding_rate_8h, price_change_pct,
oi_threshold=10.0, funding_threshold=0.0003):
"""Classify positioning from 24h open interest change, 8h funding and price change.
oi_change_pct: percent change in coin-denominated open interest.
funding_rate_8h: funding rate per 8 hours as a fraction (0.0003 = 0.03%).
price_change_pct: percent change in price over the same window.
"""
rising_oi = oi_change_pct >= oi_threshold
if rising_oi and funding_rate_8h >= funding_threshold:
return "crowded long"
if rising_oi and funding_rate_8h <= -funding_threshold:
return "crowded short"
if oi_change_pct <= -oi_threshold:
return "deleveraging"
return "no clear crowding"
samples = [
(15.0, 0.0006, 4.0),
(12.0, -0.0005, -3.0),
(-18.0, 0.0001, -9.0),
(2.0, 0.0001, 0.5),
]
for oi, fund, px in samples:
print(crowding_signal(oi, fund, px))The output is:
crowded long
crowded short
deleveraging
no clear crowdingA funding rate of 0.0003 per eight hours is about 0.03%, which annualizes to roughly 33% when simple interest is used (0.0003 × 3 × 365). That is expensive to pay for a long position, and it is one reason crowded trades tend to be unstable. Traders who hold the position pay a steady cost, so they have less patience with adverse moves.
Other positioning data
Several related measures help when used with open interest.
- Long/short account ratio. Some exchanges publish the share of accounts that are net long. It counts accounts, not size, so a large number of small retail traders can mask a few large opposite positions.
- Open interest to market capitalization. A higher ratio means the leveraged market is large compared with the spot market that would absorb the forced orders.
- Estimated liquidation heatmaps. Data providers estimate where liquidations cluster, using assumed leverage levels. These are models, not observed facts. Exchanges do not publish individual liquidation prices.
- Options skew and futures basis. A wide basis (futures priced well above spot) is another sign that traders pay a premium for leveraged long exposure.
How a crowded market unwinds
A crowded long market often ends in one of two ways.
- Gradual unwinding. The price drifts sideways or down slowly. Funding costs wear on holders, some close, and open interest falls without a spike in liquidations.
- A sharp flush. A small trigger, such as news, a large market sell order, or a drop that reaches the first liquidation cluster, starts forced selling. The price falls to the next cluster and open interest drops quickly.
A flush is often visible in the data afterward. Open interest drops sharply, liquidation volume spikes, and funding resets toward zero or turns negative. Traders sometimes treat that reset as a sign that the excess leverage has been cleared. That interpretation is also uncertain, because new leverage can build again quickly.
Gotchas and common errors
- Treating high open interest as bearish by itself. Open interest can rise for a long time during a healthy trend. The warning comes from open interest combined with extreme funding, high leverage, and a thin order book.
- Ignoring the basis trade. Some of the open interest is hedged. A cash-and-carry trade holds spot against a short perpetual. When the perpetual funding turns negative, those traders may close, which reduces open interest without a directional view.
- Mixing units. Dollar open interest rises with price. Compare coin-denominated figures when checking whether new exposure was added.
- Expecting timing. Crowded positioning can persist for weeks. Funding can stay high and the market can keep rising. The signal says the market is more fragile, not that it will fall at a given time.
- Forgetting the short side. The same logic applies in reverse. A crowded short market with negative funding is exposed to a short squeeze, where rising prices force shorts to buy back.
- Using stale data. Open interest updates by the minute during volatile periods. A daily snapshot misses the build-up and the flush.
A worked example
Suppose a perpetual market shows these readings over one day.
- Price rises from 100 to 108.
- Open interest in coin terms rises from 1,000,000 to 1,180,000, an increase of 18%.
- Funding rises from 0.01% to 0.06% per eight hours.
Calling crowding_signal(18.0, 0.0006, 8.0) returns "crowded long". A trader cannot tell from this alone that a flush is coming. The reading does support some practical choices: reduce leverage, widen the distance between the entry and the liquidation price, or avoid adding to the position at the extreme funding cost.
Exercise
A perpetual market's dollar open interest rises from 2 billion to 2.2 billion while the price rises from 40,000 to 44,000. Funding is 0.01% per eight hours. Does this show that traders are adding leveraged exposure? What would you check next?
Show answer
No. Dollar open interest rose 10%, and the price also rose 10%, so the coin-denominated open interest is unchanged (2,000,000,000 / 40,000 = 50,000 coins, and 2,200,000,000 / 44,000 = 50,000 coins). No new exposure was added. Funding of 0.01% is also near the neutral baseline, so there is no sign of a crowded side. Next, check open interest in coin terms over a longer period, funding on several exchanges, and the long/short ratio.
Exercise
Open interest rises 20% in coin terms while the price is flat, and funding is -0.05% per eight hours. Which side looks crowded, and which kind of price move is the market more exposed to?
Show answer
The short side looks crowded, because negative funding means shorts are paying longs while new contracts are being opened. The market is more exposed to a short squeeze: a rise in price would trigger short liquidations, and those forced buy orders would push the price higher. A basis trade could explain part of the open interest, so confirm with other data before drawing a conclusion.