Skip to content
Finance Lessons

DeFi Derivatives & Perpetuals

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 Updated Jun 8, 2026

One idea has shadowed every lesson: the basis — the gap between a derivative’s price and spot — and the funding that monetizes it. Now we cash it in. The cash-and-carry trade is how professionals turn that funding premium into a market-neutral yield: a position that earns whether the price goes up, down, or nowhere, by being long spot and short the perp at the same time. It’s the single largest institutional trade in crypto, the demand sink that absorbs leverage euphoria, and the perfect capstone — because it ties the funding rate, leverage, liquidation, and perp mechanics into one elegant strategy.

Before you read — take a guess

What is a cash-and-carry (basis) trade designed to capture, and what directional view does it take?

The basis: the gap that funding pays you to close

Definition. The basis is the difference between a derivative’s price and the underlying spot price:

basis=derivative pricespot price.\text{basis} = \text{derivative price} - \text{spot price}.

For a dated future, the basis is the futures premium that converges to zero at expiry. For a perp, there’s no expiry, so the “basis” shows up instead as the funding rate — the recurring payment that the rich side makes to the cheap side. When a perp trades at a premium (positive funding), being short the perp earns that funding stream. That earned funding is the harvested basis.

Analogy. Picture two ferry tickets to the same island: a “spot” ticket that takes you now, and a “futures” ticket for a guaranteed seat later, priced a bit higher because of demand. The basis is that price gap. If you could sell the pricey futures ticket while holding the cheap spot one, you’d pocket the gap with no risk about whether you actually want to go to the island — you’re covered either way. Cash-and-carry is doing exactly that, continuously, with the funding rate as the gap.

For a perpetual future (no expiry), the 'basis' the carry trade harvests shows up primarily as:

The trade, leg by leg

Cash-and-carry is built from two opposing legs that cancel price risk while leaving the carry:

  1. Long spot (the cash leg). Buy the actual asset — say $10,000 of BTC. You now gain if BTC rises, lose if it falls.
  2. Short perp (the carry leg). Short the same $10,000 notional of the BTC perp. You now gain if BTC falls, lose if it rises — and you collect funding while the perp is at a premium.
  3. The legs cancel → delta-neutral. A $1 rise in BTC makes $X on the spot leg and loses $X on the short perp. Net price exposure ≈ 0. You don’t care where the price goes.
  4. Harvest the carry. With price risk neutralized, what’s left is the funding the short perp collects (plus the convergence of any futures premium). That’s your yield — earned market-neutrally.

Step through the construction below to watch the two legs net to zero and the basis accrue.

Building the cash-and-carry tradeBasis captured: $1,200
Basis captured$0

Add the legs one at a time: long spot, then short the same notional in the perp. The two price exposures cancel, leaving a market-neutral book — and the funding/basis accrues to your short leg as pure carry. Slide the basis up and down to see the captured yield scale with the funding premium.

Think first

In a cash-and-carry trade you are long $10,000 spot BTC and short $10,000 BTC perp. BTC suddenly doubles overnight. What is your net PnL from the price move (ignore funding)?

Hint: Compute each leg's PnL separately, then add them.

Worked example: the annualized yield

Numbers turn “neutral yield” into a real return. Suppose:

  • You deploy $10,000: buy $10,000 spot BTC and short $10,000 BTC perp (using a modest, well-margined short).
  • Funding has been steady at +0.01% per 8 hours (our baseline from the funding lesson).

Step 1 — funding per interval. The short collects funding on its $10,000 notional:

10,000×0.0001=$1 per 8 hours.10{,}000 \times 0.0001 = \$1 \text{ per 8 hours.}

Step 2 — per day. Three 8-hour intervals a day: $1 × 3 = $3 per day on $10,000.

Step 3 — annualized. Over 365 days: $3 × 365 = $1,095, which on the $10,000 deployed is

1,09510,000=10.95% per year11%.\frac{1{,}095}{10{,}000} = 10.95\% \text{ per year} \approx 11\%.

A market-neutral ~11% annual yield, earned without any view on whether BTC goes up or down — and that’s at a modest baseline funding rate. In bull-market euphoria when funding runs 0.05–0.1% per 8 hours, the same trade annualizes to 50–100%+. This is why, when crypto rallies and retail piles into leveraged longs (pushing funding sky-high), institutions quietly load up the carry trade to absorb that demand — shorting the rich perp, hedged with spot, harvesting the impatience. The carry trade is the market’s pressure-release valve.

Tip:

The carry trade is the other side of the funding lesson

Remember: high positive funding means crowded, euphoric longs paying through the nose. The cash-and-carry trader is the natural counterparty — they short the overpriced perp (collecting the funding) and hedge with spot (so they don’t care about direction). Every dollar of leveraged-long euphoria creates a dollar of carry-trade yield for someone willing to be neutral. The funding rate isn’t just a number; it’s the price the impatient pay the patient.

You run a cash-and-carry on $20,000 (long spot, short perp). Funding holds at +0.02% per 8 hours. Approximately what annualized, market-neutral yield does the short leg earn?

Fill in the cash-and-carry mechanics.

Pick the right option for each blank, then check.

A cash-and-carry trade is , which makes it . The two legs cancel price exposure, so what is harvested is the . At +0.01% per 8 hours, the annualized yield is roughly 0.01% × 3 × 365 ≈ — earned regardless of whether the price rises or falls.

Why it’s NOT risk-free: the catches that bite

“Market-neutral” is not “risk-free.” Cash-and-carry has real, occasionally brutal, risks — and the people who blow up on it are precisely those who forgot that.

  • Funding flips negative. The whole yield depends on funding staying positive. If sentiment reverses and funding goes negative, the short perp now pays funding instead of collecting it — your yield turns into a cost. The trade has to be actively managed or unwound when funding flips.
  • Liquidation of the short leg. Here’s the killer. You’re delta-neutral in aggregate, but the short perp leg is often leveraged. If the price spikes up hard, the short leg’s losses can hit its liquidation price and get force-closed — even though your spot leg is gaining exactly as much. Once the short is liquidated, you’re left net long (only the spot leg remains), no longer neutral, and you’ve realized a loss on the short plus liquidation fees. The fix: margin the short leg generously (low effective leverage) so a big up-move can’t liquidate it before your spot gains can be used to top it up.
  • Execution & spread risk. The two legs must be opened (and closed) at matching sizes and prices. Slippage, fees, and the bid-ask spread on entry and exit eat into the carry. On exit, you have to unwind both legs without the basis moving against you.
  • Counterparty / smart-contract risk. Spot and perp may live on different venues or protocols; a hack, depeg, or exchange failure on either leg breaks the hedge.
Warning:

The classic carry blow-up: liquidated on the leg that was 'hedged'

A trader sets up a textbook delta-neutral carry but margins the short perp at high leverage to be ‘capital efficient.’ BTC rips +30% in a day. The spot leg is up 30% — great — but the over-leveraged short perp blew past its liquidation price at +15% and was force-closed at a loss, with a liquidation penalty. Now the hedge is gone, they’re accidentally long, and the realized short loss plus fees swamps weeks of collected funding. The lesson: ‘delta-neutral’ protects you only if BOTH legs survive. A carry trade dies not from being wrong on direction, but from a leveraged leg being liquidated before the hedge can save it.

Spot the trap. A cash-and-carry trader margins their short perp leg at 20× 'for capital efficiency.' Why is this dangerous even though the overall position is delta-neutral?

When to use it — and the bigger picture

When the carry trade shines: when funding is persistently and richly positive (euphoric, leveraged-long markets), when you have cheap, reliable access to both spot and perp, and when you can margin the short leg conservatively. It’s a yield strategy, not a directional one — ideal for capital that wants crypto-native return without crypto-native directional risk.

When to avoid it: when funding is near zero or negative (no carry to harvest, or you’d pay it), when only thin or unreliable venues are available (execution and counterparty risk dominate), or when you can’t margin the short generously enough to survive a violent rally.

Zoom out and the whole course resolves into this one trade. The perp exists; its funding rate anchors it and signals crowding; leverage and liquidation govern the risk; insurance funds and ADL backstop the system; the perp-DEX design determines where you trade it; options and power perps add curvature — and cash-and-carry is where a sophisticated participant monetizes the entire structure, converting the crowd’s leveraged impatience into market-neutral yield. Funding turns out to be the keystone of it all: the price of carry that makes a never-expiring contract converge, and the yield that makes neutrality profitable.

Big picture

Basis trades & cash-and-carry — the capstone

  • Cash-and-carry
    • The basis
      • basis = derivative − spot
      • Perp basis shows up as funding
      • Short perp collects positive funding
    • The trade
      • Long spot + short perp, same size
      • Legs cancel → delta-neutral
      • Harvest the funding/basis as yield
    • The yield
      • 0.01%/8h ≈ 11% annualized
      • Euphoria: 50–100%+ funding carry
      • Absorbs leveraged-long demand
    • The risks (not risk-free)
      • Funding flips negative → you pay
      • Short leg liquidated → net long
      • Execution, spread, counterparty risk
Long spot + short perp = delta-neutral; the basis/funding is harvested as market-neutral yield; the real risks are funding flips, short-leg liquidation, execution, and counterparty failure.

Recap: basis trades and cash-and-carry

Question 1 of 50 correct

A cash-and-carry trade consists of which two legs, and what is the net directional exposure?

Check your answer to continue.

That’s the whole machine. You started with a contract that has no expiry and a puzzle — what keeps it tracking spot? — and you’ve followed the answer, the funding rate, all the way to the dominant institutional trade that monetizes it. Perps, funding, leverage, liquidation, insurance and ADL, the three DEX designs, options and power perps, and cash-and-carry: a complete, quantitative, practitioner-grade picture of on-chain derivatives. One graded exam stands between you and expert status — go claim it.

Mark lesson as complete