Sub topic 3
Perpetual Futures: The Main Venue for Crypto Leverage
This chapter assumes you understand spot buying and selling, long and short positions, percentages, and basic Python. It focuses on how perpetual futures work as a trading venue. Liquidation calculations and risk controls are covered in later chapters.
What a perpetual future is
A perpetual futures contract is an agreement whose value follows an underlying asset, such as BTC or ETH, without requiring you to own that asset. A trader can open a long position to benefit from a price increase or a short position to benefit from a price decrease.
A normal futures contract has an expiry date. At expiry, the contract is settled or rolled into another contract. A perpetual contract, often called a perpetual or perp, has no expiry date. The exchange keeps the contract close to the spot market by transferring periodic payments between longs and shorts. These payments are called funding.
The trader deposits margin, which is collateral for the position. Leverage determines the position size relative to that margin:
\[ \text{leverage} = \frac{\text{position value}}{\text{margin}} \]
For example, $1,000 of margin supports a $10,000 position at 10x leverage. The trader has exposure to the full $10,000, even though only $1,000 was deposited.
How a perpetual position works
Suppose you open a 10x long BTC perpetual position with $1,000 of margin. The position value is $10,000. If BTC rises by 5%, the position gains about $500 before fees and funding. That is a 50% return on your margin.
If BTC falls by 5%, the position loses about $500. The same price exposure that creates a large gain can therefore remove half of the trader's margin.
def margin_return(leverage, price_move):
"""Approximate return on margin, ignoring fees and funding."""
return leverage * price_move
for move in (0.05, -0.05):
print(f"{move:+.0%} price move: {margin_return(10, move):+.0%} on margin")The contract's quantity, entry price, collateral, and margin rules determine the exact profit and loss. Fees, funding, price indexes, and position tiers also matter.
The contract's main components
| Component | Meaning | Why it matters |
|---|---|---|
| Underlying asset | Asset the contract tracks | Determines the economic exposure |
| Position value | Notional value of the contract | Determines gains, losses, and fees |
| Margin | Collateral posted by the trader | Absorbs losses |
| Leverage | Position value divided by margin | Amplifies percentage gains and losses |
| Funding rate | Periodic payment between traders | Changes the cost of holding the position |
| Mark price | Exchange reference price for risk checks | Helps determine unrealized profit and liquidation |
A perpetual exchange usually records the position in the contract's settlement asset, such as USDT, USDC, or the cryptocurrency itself. A linear contract settled in a stablecoin is easier to reason about because a $1 price change has a predictable dollar effect per contract.
Why the contract stays near spot
The exchange uses a price index built from one or more spot markets. It compares the perpetual's market price with that index and calculates a funding rate.
When the perpetual trades above spot, longs commonly pay shorts. That payment gives traders an incentive to open short positions and helps pull the perpetual price toward spot. When the perpetual trades below spot, shorts commonly pay longs.
Funding is not guaranteed to be positive or paid at one fixed interval. The exchange's formula, rate limits, and settlement schedule control it. A position can lose money from funding even when its price direction is correct.
Why traders use perpetuals
Perpetuals combine several features:
- Long and short exposure on the same market.
- Leverage without borrowing the asset directly.
- Continuous trading without expiry.
- Margin-based capital efficiency.
- Hedging, such as shorting a perp against spot holdings.
These features also create concentrated risk. A small price movement can consume a large share of the margin. The exchange therefore monitors the position continuously and can close it when the account no longer meets its maintenance requirements.
Exercise
You deposit $2,000 and open a 5x long perpetual position. Ignoring fees and funding, what approximate gain or loss does a 4% price move create on your margin?
Show answer
The position value is $10,000. A 4% move creates about $400 of profit or loss, which is 20% of the $2,000 margin. A rise gives a gain; a fall gives a loss.