Skip to content
Finance Lessons
🎢

DeFi Derivatives & Perpetuals

A perpetual future has no expiry, yet it tracks spot to the cent. The glue is a funding payment traders make to each other every few hours — and once you see that mechanism, the whole multi-hundred-billion-dollar perp machine snaps into focus.

How derivatives moved on-chain and why perpetual futures came to dominate crypto trading. The funding-rate mechanism that anchors a never-expiring contract to spot, leverage and the liquidation engines that enforce it, insurance funds and auto-deleveraging, the three perp-DEX architectures (order book, vAMM, oracle/pool), on-chain options and power perps, and the cash-and-carry basis trade that turns the funding premium into market-neutral yield.

Spot trading swaps one asset for another, here and now. Derivatives are contracts whose value is derived from something else — a price, a rate, an index — and they let you take a position far larger than your cash, bet on direction without owning the asset, and hedge risk you already hold. In traditional finance, derivatives notional dwarfs the spot market. On-chain, the same gravity took hold, and one instrument ran away with the crowd: the perpetual future.

This course builds the on-chain derivatives machine from the ground up:

This sits at the top of the ladder, where the DeFi branch meets the derivatives branch. It assumes you already know how an AMM walks a constant-product curve, how a classic future and its basis work, and what an option’s payoff and the Greeks mean. By the end, a “perp” stops being a casino chip and becomes a precise, fundable, hedgeable instrument you can price, risk-manage, and arbitrage.

In this topic

  1. 1 What a Perpetual Future Is A futures contract with no expiry date — the instrument that ate crypto trading. Why it exists, how it differs from a dated future, the index-vs-mark price split, and the convergence puzzle that the funding rate exists to solve. 11 min
  2. 2 The Funding Rate Mechanism The thermostat that keeps a never-expiring perp glued to spot. The exact funding formula — interest plus a clamped premium component — who pays whom, worked payment arithmetic, the eight-hour cadence, and reading funding as a crowd-positioning signal. 13 min
  3. 3 Leverage & Liquidation Engines How a small margin controls a large notional, the exact liquidation price that follows from initial and maintenance margin, isolated vs cross margin, and the keeper-driven liquidation engines — with the partial-vs-full and bankruptcy-price mechanics worked in full. 14 min
  4. 4 Insurance Funds & Auto-Deleveraging What backstops a perp when a liquidation closes below bankruptcy. How the insurance fund absorbs bad debt and grows from liquidation surpluses, why it can still run dry, and how auto-deleveraging (ADL) socializes the remaining loss onto the most-profitable opposing traders — with the ranking and worked numbers. 12 min
  5. 5 Perp DEX Designs The three architectures that answer 'where does the perp price come from?': on-chain central limit order books, virtual AMMs (vAMMs), and oracle/pool-based designs. Their counterparty models, liquidity sources, oracle dependence, and the decentralization-vs-capital-efficiency-vs-oracle-risk trade-offs, with real examples. 13 min
  6. 6 On-Chain Options & Power Perps Adding curvature to DeFi: how options bring convex, non-linear payoffs on-chain, the AMM and vault designs that make them, and the exotic 'everlasting' power perpetuals that package pure convexity (gamma) into a never-expiring contract anchored by funding. 14 min
  7. 7 Basis Trades & Cash-and-Carry Turning the funding premium into market-neutral yield. What the basis is, the cash-and-carry trade (long spot, short perp) worked end to end, why it is delta-neutral, the annualized-yield arithmetic, and the real risks — funding flips, liquidation of the short leg, and execution — that make it less risk-free than it looks. 14 min
  8. 8 DeFi Derivatives & Perpetuals — Final Exam The graded final exam for DeFi Derivatives & Perpetuals: what a perp is, the funding-rate mechanism, leverage and liquidation engines, insurance funds and ADL, perp-DEX designs, on-chain options and power perps, and the cash-and-carry basis trade. 16 min

Mark course as finished

Done with every lesson? Lock it in — your progress is saved on this device.