Desk note · 2026-11-06 · Refs: Hyperliquid docs (funding, margining, liquidations), dYdX software terms, CFTC releases. All position figures hypothetical.
Risk box. Perpetual futures are leveraged. A small adverse price move can liquidate the entire margin posted on a position, and in fast markets the loss can exceed what a simple calculation suggests because of fees, funding and slippage on liquidation. Funding can run against a position for long periods. Many on-chain perp venues restrict US persons in their own terms, and offering leveraged retail crypto derivatives to US persons outside CFTC registration has drawn enforcement. Nothing here is a recommendation to trade.
A perpetual future is a futures contract with no expiry. A dated future converges to the spot price at settlement because, on that date, it becomes the spot asset. A perpetual never reaches that date, so it needs another mechanism to stay near spot. That mechanism is the funding rate: a periodic payment between longs and shorts that makes it costly to hold whichever side is pushing the contract away from the index.
How funding works
When the perp trades above the spot index, longs pay shorts. When it trades below, shorts pay longs. The payment encourages traders to take the side that pulls the price back.
Hyperliquid’s funding docs give a concrete version of the formula used across much of the market:
- Funding Rate (F) = Average Premium Index (P) + clamp(interest rate − P, −0.0005, 0.0005)
- The formula yields an 8-hour rate; Hyperliquid pays it every hour at one-eighth of the computed rate.
- The interest component is fixed at 0.01% per 8 hours (0.00125% per hour).
- The premium is sampled every 5 seconds and averaged over the hour, based on how far impact bid and ask prices sit from the oracle price.
- Funding is capped at 0.5% per hour.
- Payment = position size × oracle price × funding rate. The oracle price, not the mark price, converts size into notional.
The clamp means that when the premium is small, funding collapses to the interest rate. When the premium is large, funding tracks the premium, adjusted by at most 0.05%.
Worked funding example
Hypothetical: a trader holds a long position of 500 TKN-PERP. The oracle price is $100, so notional is $50,000.
Case 1: perp at the index. The premium is zero, so F = 0 + clamp(0.01% − 0, ±0.05%) = 0.01% per 8 hours, or 0.00125% per hour.
- Hourly payment: 50,000 × 0.0000125 = $0.625, paid by the long to shorts
- Per day: $15.00
Case 2: perp at a sustained 0.20% premium. F = 0.20% + clamp(0.01% − 0.20%, ±0.05%) = 0.20% − 0.05% = 0.15% per 8 hours, or 0.01875% per hour.
- Hourly payment: 50,000 × 0.0001875 = $9.375
- Per day: $225.00
Case 3: perp at a 0.20% discount. F = −0.20% + clamp(0.01% + 0.20%, ±0.05%) = −0.15% per 8 hours. The sign flips, and shorts pay the long $9.375 an hour.
Funding is a transfer between traders, not a fee to the venue. Over long holding periods it can exceed trading fees by a wide margin, and it is why “basis” strategies (long spot, short perp) exist: they collect funding when it is positive and pay it when it turns negative. See yield farming for where that strategy shows up in DeFi.
Margin and liquidation
A trader posts margin (collateral) and opens a position larger than the margin. Leverage is notional divided by margin. The venue sets two thresholds:
- Initial margin: the minimum collateral to open a position, set by maximum leverage.
- Maintenance margin: the floor below which the position is liquidated.
Hyperliquid’s liquidation docs state that the maintenance margin is half of the initial margin at max leverage, which ranges by asset from 1.25% (for 40x max leverage assets) to 16.7% (for 3x max leverage assets). Its margining page explains that cross-margin positions share collateral across the account, while isolated positions are liquidated using only their own margin.
Worked liquidation example
Hypothetical, isolated margin, ignoring fees and funding:
- Long 500 TKN at $100, notional $50,000
- Margin posted: $5,000 (10x leverage)
- Asset’s maintenance margin: 2.5% of notional (as for an asset with 20x max leverage)
The position is liquidated when equity falls below 2.5% of current notional:
5,000 + 500 × (P − 100) < 0.025 × 500 × P
Solving gives P < about $92.31, a drop of roughly 7.7%. At that point the trader has lost about $3,850 of the $5,000 margin, and what remains is typically consumed by the liquidation process. At 20x on the same asset, the liquidation price sits only a little more than 2.5% below entry.
Two features make real outcomes worse than the arithmetic: liquidations cluster in fast markets, so execution can be poor; and funding paid while the position is open reduces equity, moving the liquidation price closer.
How on-chain perp venues differ
Most on-chain perp venues use one of two designs: an on-chain order book (often on an application-specific chain built for throughput) or a pool that acts as counterparty to traders, with liquidity providers taking the other side. Both depend on an oracle for the index price. Hyperliquid’s docs, for example, describe oracle prices computed by each validator as a weighted median of centralized exchange spot prices.
The risk stack adds the usual DeFi layers to the trading risk: smart contract risk in the margin and settlement code, oracle risk in the index, bridge risk for collateral brought in from other chains, and governance or validator-set risk for appchain venues. In pool-counterparty designs, LPs are short the traders’ net P&L. The DeFi risk checklist covers each.
US availability
Leveraged crypto derivatives offered to US retail traders fall under CFTC jurisdiction. In September 2023 the CFTC charged Opyn, ZeroEx and Deridex with illegally offering leveraged and margined retail commodity transactions in digital assets, and charged Opyn and Deridex with operating as an unregistered swap execution facility and futures commission merchant. The agency’s enforcement director said it would pursue those who “operate unregistered platforms that allow U.S. persons to trade digital asset derivatives.”
Many on-chain venues restrict US users in their own terms. dYdX’s software terms of use (last updated 2026-03-12) list persons who reside in, are located in or are incorporated in the United States, Canada or the United Kingdom as restricted persons for its perpetuals trading software. Other venues geoblock their front ends. These restrictions are stated here as facts about access, not as an obstacle to work around; circumventing a venue’s geographic restrictions breaches its terms and can put account access at risk.
In the US, crypto futures are listed on CFTC-registered exchanges. We couldn’t confirm, from the sources reviewed for this note, the specific contract terms of any US-listed perpetual-style product.