A future that never expires
A dated future settles on a fixed day, and its price converges to spot as that day comes. A perpetual future has no settlement day, so something else has to keep it near spot: the funding rate. Every few hours (every 8 hours on most venues, every hour on Hyperliquid) the side that is pushing the contract away from spot pays the other side.
When the perpetual trades above spot, funding is positive and longs pay shorts; when it trades below, funding is negative and shorts pay longs. That payment makes it costly to hold the crowded side for long, which pulls the price back toward the index.
Leverage, margin and liquidation
Perpetuals are traded on margin: a position of $100,000 can be opened with $10,000 of collateral at 10x leverage. If the price moves against the position until the collateral no longer covers the maintenance margin, the venue closes it. That forced close is a liquidation, and the price where it happens is the liquidation price.
Because many traders use similar leverage and open near the same prices, liquidation prices cluster. When price reaches a cluster, forced selling or buying can push it further, which is what a liquidation heatmap tries to show.
Mark price, index price and open interest
Venues value positions at a mark price, built from an index of spot prices on several exchanges, so a single trade cannot trigger liquidations. Open interest is the value of all positions still open. Perpetuals are the largest crypto derivatives market, and on BTC and ETH they trade more volume than spot.