Perpetual Futures 101: What Every Trader Must Understand Before Touching Leverage
Quant Trading Academy Module 2, Part 4
Perpetual futures are the dominant instrument in crypto trading. They are what Quant's signals are built around, and they are what you are executing on Hyperliquid. Most traders use them without fully understanding how they work and that gap in knowledge has a way of expressing itself at the worst possible moments.
This isn't a theoretical exercise. Every concept in this post has a direct, practical consequence for how you manage positions. Some of them determine whether you get liquidated unexpectedly. Some of them represent a cost that silently erodes profitable trades. Understanding the mechanics doesn't make you a better analyst it makes you a more competent operator of the instrument you're using.
How Perps Differ From Spot and Dated Futures
To understand perpetual futures, it helps to understand what they replaced and why.
Spot trading is the simplest form: you buy an asset and you own it. If you buy $1,000 of BTC on a spot market, you hold $1,000 of BTC. You can hold it indefinitely, transfer it, use it elsewhere. There is no leverage built in, no expiry, and no funding mechanism. The price you pay is the market price at that moment.
Dated futures (also called traditional futures) are contracts to buy or sell an asset at a predetermined price on a specific future date. In traditional finance, commodity futures work this way a contract to deliver oil at a set price in three months. In crypto, quarterly futures exist on several exchanges. Because these contracts have an expiry date, their price naturally converges toward the spot price as expiry approaches. Traders who want continuous exposure have to "roll" their position closing the expiring contract and opening a new one which introduces friction and cost.
Perpetual futures solve the expiry problem by having no settlement date. You can hold a perp position for a day or a year without ever rolling it. But this creates an immediate mechanical question: if there's no expiry forcing convergence, what stops the perpetual price from drifting indefinitely away from the underlying spot price?
The answer is the funding rate mechanism the defining feature of perpetuals, and the one most traders underestimate.
The Funding Rate Mechanism
The funding rate is the system that keeps the perpetual futures price anchored to the spot price. It works by transferring payments periodically between traders on the long side and traders on the short side of the market, depending on the relationship between the perp price and the spot price.
The logic is simple:
When the perp price is trading above spot meaning longs are dominant and bullish sentiment is elevated longs pay shorts. This creates a disincentive to hold long positions and an incentive to short, which pushes the perp price back toward spot.
When the perp price is trading below spot meaning shorts are dominant shorts pay longs. This creates the opposite incentive, pulling the perp price back up.
The funding rate is typically expressed as a percentage and applied to your position size not your margin. On most major exchanges, funding settles every eight hours. On Hyperliquid, where Quant setups execute, funding settles hourly. This is worth knowing because it means funding accrues and depletes faster a strongly positive funding rate will cost you more over a given day on Hyperliquid than the same rate would on an eight-hour settlement exchange.
When funding helps you:
If you are short during a period of strongly positive funding (longs paying shorts), you receive a payment every hour simply for holding your position. In markets where longs are crowded and the perp trades at a sustained premium to spot, being short is subsidised by the market structure. Many traders specifically seek out these conditions to fade overextended moves while collecting funding.
Similarly, if you are long during strongly negative funding (shorts paying longs), you are being paid to hold your position. This sometimes occurs during sharp downturns where short sellers are piling in and can be a signal of an overextended move in either direction.
When funding destroys you:
If you are long during sustained strongly positive funding, you are paying a recurring cost on top of any unrealised losses. A position that looks marginally profitable at the price level can be silently eroded by cumulative funding payments over days or weeks. Funding rates during euphoric bull markets can reach extreme levels annualised rates of 100% or higher are not unusual in peak conditions making the cost of holding longs significant even over short periods.
The practical implication: before entering any position, check the current funding rate and consider what it costs (or yields) you over your intended holding period. A Quant setup that's +EV on price action may have its expected value altered by funding conditions if you intend to hold it for more than a few hours. This is particularly relevant for lower win-rate, higher reward setups that may require patience to play out.
Mark Price vs. Last Price And Why Liquidations Happen at Unexpected Levels
This is the concept that surprises traders most often, and understanding it can prevent one of the most frustrating experiences in leveraged trading: being liquidated on a trade that "should" have been fine.
Last price is exactly what it sounds like the most recent transaction price on the perpetual futures market. It's what you see on the chart. It's what fills your orders.
Mark price is a calculated price derived from the underlying spot market across multiple major exchanges, adjusted by a decaying funding premium. On Hyperliquid, the mark price is based on the oracle price a median of spot prices from major reference exchanges rather than the price on Hyperliquid's own order book.
Here is the critical point: liquidations are triggered based on mark price, not last price.
This is intentional and, in principle, protective it prevents exchange operators or large traders from deliberately spiking the price on a thin order book to trigger liquidations that wouldn't otherwise occur. By anchoring liquidations to a broader market reference, the system is more robust against manipulation.
But it creates a situation that confuses underprepared traders: the last price on your chart can be at a level where your position looks healthy, while the mark price has diverged enough to trigger your liquidation.
When does mark price diverge from last price? Most commonly during:
High volatility, rapid moves: When price is moving quickly, the futures market can temporarily overshoot the spot reference, or vice versa. The mark price smooths this, but the smoothing means it may lag or diverge briefly.
Low liquidity conditions: Thin order books mean individual large trades move the last price significantly without the broader spot market moving equivalently. The mark price doesn't follow these thin-book spikes, which can work in your favour (the spike doesn't liquidate you) or against it (the mark price hasn't moved to reflect genuine price discovery).
The practical implication: your liquidation price is calculated from your margin relative to mark price, not last price. The liquidation level shown on your exchange is calculated correctly but if you're mentally tracking your position against the chart price only, you can be caught out by even small divergences. Know where your liquidation is, know it's based on mark price, and size accordingly with enough buffer that temporary mark price divergence doesn't cost you a position.
Insurance Funds and Socialised Losses
When a position is liquidated, the ideal outcome for the exchange is to close that position at a price that fully covers the trader's debt. In practice, during fast-moving markets, this doesn't always happen. A position may be too large to close quickly, or the market may move through the liquidation level before the engine can act.
When this occurs and there's a deficit the liquidated position left debt that the trader's margin cannot cover that deficit has to come from somewhere. This is where the insurance fund comes in.
The insurance fund is a pool of capital, built from liquidations where the exchange closes positions at a better price than the bankruptcy price (recovering a surplus), that acts as a buffer against deficit liquidations. If your position is liquidated but the engine manages to close it at a price that covers your debt with margin to spare, that surplus goes into the fund. If someone else's liquidation results in a loss, the fund absorbs it.
This system works well in normal conditions. The fund grows steadily from small liquidation surpluses and rarely needs to absorb large deficits.
Where it breaks down: Auto-Deleveraging (ADL)
If the insurance fund is depleted typically during extreme, fast-moving market conditions where large positions are liquidated at significant deficits exchanges have a backstop mechanism called auto-deleveraging (ADL). Also referred to as socialised losses in some contexts.
ADL means that profitable positions on the opposite side of the market are automatically and partially closed, without the trader's consent, to cover the deficit from the failed liquidation. If you are short and heavily in profit during a crash, and a large leveraged long is liquidated with a deficit large enough to exhaust the insurance fund, ADL may close part of your profitable short to cover the loss.
This is the mechanism most traders are unaware of until it happens to them. It is not theft it is a structural feature of leveraged markets with finite backstops. But it means that in extreme market conditions, your profitable position may be partially closed at the prevailing mark price regardless of your intentions.
The practical implications:
Insurance fund size matters when choosing where to trade. A larger, more established insurance fund provides a greater buffer before ADL is triggered. Hyperliquid maintains a publicly visible insurance fund its size is worth being aware of.
ADL risk is highest during extreme, directional, high-leverage events. Black swan moves sudden exchange failures, major protocol exploits, unexpected macro events are the conditions most likely to trigger it. This is one of the structural reasons why holding very large leveraged positions through high-risk macro events is imprudent even when your directional view is correct.
You cannot eliminate ADL risk, but you can be aware of it. Traders who understand that this mechanism exists approach extreme market conditions with more humility about position sizing. The market can take your profit from a correct call through ADL not because you were wrong, but because someone else's leveraged position failed catastrophically.
Putting It Together: What This Means for Your Quant Setups
Each of these mechanics has direct bearing on how you execute:
Funding is a cost or yield that accrues over the life of your position. For setups you intend to hold for hours or days, check the funding rate before entry. A setup may remain +EV despite a moderate funding cost but you should know the full picture.
Mark price divergence means you should never set your position size such that a small, temporary price anomaly can liquidate you. Build a buffer between current mark price and your liquidation level that accounts for realistic short-term volatility, not just the expected trade range.
Insurance funds and ADL are structural features of the exchange, not of your trading strategy. You cannot control them. What you can control is avoiding the conditions most likely to expose you to their effects excessive leverage, outsized positions, and holding through extreme macro events without awareness of your structural risk.
Perpetual futures are a powerful instrument. They offer leverage, continuous exposure, and through the funding mechanism sometimes pay you to hold a position. They also come with mechanics that punish the unprepared in ways that spot trading simply doesn't. Understanding them is not optional. It is the floor of competence required to use leverage responsibly.
Key Takeaways
Perps have no expiry. The funding rate mechanism keeps their price anchored to spot by transferring payments between longs and shorts depending on market skew.
Funding works for you or against you. Check it before entering any position you intend to hold beyond a few hours. On Hyperliquid, funding settles hourly it accrues faster than on most other exchanges.
Liquidations are triggered by mark price, not last price. Mark price is derived from spot oracle references, not your chart. Divergence between the two is possible and can trigger unexpected liquidations.
Insurance funds absorb deficit liquidations. When they run out, ADL (auto-deleveraging) closes profitable positions on the opposite side to cover the shortfall. This is a real risk during extreme market events, regardless of your position's direction.
None of this changes the quality of a Quant signal. But all of it changes the context in which you execute it. The signal tells you where the edge is. Understanding the instrument tells you how not to get eliminated before the edge has a chance to play out.
