Unit 2 · Markets & Instruments — Session 04 of 07

Futures: Carry, Basis, Roll & Margin

A futures contract looks like a simple bet on a price. It is really a bundle of three things — a view on the spot price, the cost of carrying the asset through time, and a cash bill that arrives every evening — and professionals price, trade and risk-manage each one separately. The core move: a futures return is spot plus carry plus collateral, and margin turns every day's loss into cash you must pay today.

DURATION 1.5 h + lab LEVEL Foundations TRACKS QR · QT · QD · IND HANDS-ON Roll futures on 2,000 paths; margin-call 20,000 accounts

2.4.1 A forward with a daily checkpoint

A forward and a futures contract make the same promise — to trade an asset later at a price agreed now. The difference is plumbing, and the plumbing is where the risk lives.

A forward contract is a private agreement to buy or sell an asset on a future date at a price fixed today. Nothing changes hands until delivery, the terms can be tailored, and the contract is only as good as the other side's promise to pay: counterparty risk.

A futures contract is the same promise, standardised and traded on an exchange. A clearing house becomes the central counterparty to every trade (you met it in Session 2.1), and every position is marked to market daily: each evening the exchange publishes a settlement price and the day's gains and losses are paid in cash.

SAME PROMISE, TWO WIRINGS — who owes whom, and when the cash moves FORWARD CONTRACT over the counter · custom terms · two parties BUYER long: will pay F SELLER short: delivers one private deal t = 0 · agree the price F — no cash moves at expiry · pay F, take delivery (or the cash) risk: if the other side fails, you lose everything it has owed you since t = 0 FUTURES CONTRACT exchange-traded · standard terms · cleared BUYER long CLEARING HOUSE · CCP SELLER short t = 0 · both sides post initial margin every evening · losers pay winners in cash risk: about one day's move — and the clearing house guarantees every trade A futures contract is a forward that settles its profit and loss every night.
fig 2.4.1 — forward vs futures: the same promise, but the futures runs through a clearing house and settles every night
ForwardFutures
Where it tradesover the counter, two partieson an exchange, centrally cleared
Cash flowsone settlement, at the endvariation margin every day
Counterparty riskgrows with what you are owed, until deliveryreset daily; the clearing house guarantees performance
📌 Key idea — same price, different cash flows

Daily settlement barely changes what a contract is worth; it changes when the cash moves. With known interest rates, forward and futures prices are identical; when rates move with the asset they differ slightly (Cox, Ingersoll & Ross 1981), which matters mainly for long-dated interest-rate futures. With futures, being right eventually is not enough — you must be able to pay for being wrong in the meantime. That sentence is the whole of §2.4.7.

Reading a contract

The contract multiplier turns a quoted price into money; notional value — price × multiplier × contracts — is the exposure you carry; expiry is the last trading day, after which the contract settles in cash or by delivery. The smallest step is the tick size. Three real contracts (CME, checked 2026; prices illustrative):

ContractMultiplierTick = valueNotional at an illustrative priceExpiry & settlement
E-mini S&P 500 (ES)$50 × index0.25 pt = $12.50at 5,000: $250,000quarterly (Mar, Jun, Sep, Dec); cash-settled
Micro E-mini S&P 500 (MES)$5 × index0.25 pt = $1.25at 5,000: $25,000quarterly; cash-settled
WTI crude oil (CL, NYMEX)1,000 barrels$0.01 = $10.00at $70: $70,000monthly; physical delivery at Cushing, Oklahoma

CME describes futures margin as typically 3–12% of notional, set in dollars per contract. At the lab's illustrative initial margin of 5.5%, one E-mini needs $13,750: up to 18.2× leverage, no loan required — 14.5 times the growth-optimal L⋆=(μ−rf)/σ2=L^\star = (\mu - r_f)/\sigma^2 = 1.25 of the asset in Session 2.3.

💡 Looking ahead

Rolling from contract to contract (§2.4.4) and stitching them into one history is continuous futures, in Session 4.3; crypto's perpetual futures (Session 2.6) drop expiry for a funding rate.

2.4.2 The price of waiting: cost of carry

You do not need a forecast of oil or the S&P 500 to price a futures contract. You need the cost of owning the asset until expiry — and one arbitrage argument.

You can own an asset τ\tau years from now in two ways: buy it today at S0S_0 with borrowed money and carry it, or buy a futures contract at F0F_0 and pay at expiry. Both leave you holding the same asset on the same date, so they must cost the same. If not, you take the cheap route, sell the dear one, and pocket the difference with no money down and no risk — the cash-and-carry arbitrage:

THE CASH-AND-CARRY LOOP — two routes to owning the asset at expiry must cost the same 1 · BORROW S dollars today at the risk-free rate 2 · BUY SPOT own the asset now for S 3 · SELL FUTURE promise to deliver at F on expiry 4 · CARRY IT pay storage u, collect income q 5 · SETTLE deliver, receive F; repay the loan steps 1–3 happen together, today PROFIT AT EXPIRY = F − S · exp((r_f + u − q) τ) known today · no capital · the same whatever the price does IF PROFIT > 0 F is too high: everyone sells futures and buys spot → F falls NO-ARBITRAGE PRICE F = S·exp((r_f+u−q)τ) the only price that survives IF PROFIT < 0 run it backwards → F rises (only if you can short the asset) Any other price hands someone free money, so trading pushes F back to the carry price.
fig 2.4.2 — the cash-and-carry loop: borrow, buy, sell the future, carry, deliver; any profit is riskless, so trading removes it

In symbols: borrowing costs rfr_f a year, storage uu, the asset pays income qq (an index's dividends, a currency's foreign interest rate), and holding a physical commodity has a benefit of its own, yy — the convenience yield. Net them into the cost of carry cc (continuously compounded rates per year, as fractions of spot):

F0=S0ecτ,c=rf+u−q−yF_0 = S_0\, e^{c\,\tau}, \qquad c = r_f + u - q - y

The futures price is the spot price grown at the net cost of carry — no forecast anywhere. That is no-arbitrage pricing in its simplest form; Session 10.1 builds the full theory.

A worked example from the lab: an index at 5,000 with a risk-free rate of 4% and a 1.5% dividend yield has c=c = 2.5% and a fair 3-month price of 5,031.35. If the market quotes 5,060, borrowing to buy the index and selling the future locks in 28.65 points — $1,433 per E-mini before costs, whatever the index does. In practice index arbitrageurs keep prices within transaction costs of the carry price.

Underlying (illustrative)Net carryF, 1 monthF, 3 monthsF, 12 monthsBasis S − F at 12 months
Equity index: S = 5,000, rf 4%, dividends 1.5%+2.5%5,010.435,031.355,126.58−126.58
Crude, tanks filling: S = $70, rf 4%, storage 5%, convenience 1%+8.0%70.4771.4175.83−5.83
Crude, shortage: S = $70, rf 4%, storage 5%, convenience 21%−12.0%69.3067.9362.08+7.92
🧭 Margin note — an equality for some assets, a ceiling for others

For investment assets (an index, gold, a currency) the argument runs both ways, so F0=S0ecτF_0 = S_0 e^{c\tau} holds tightly. Almost nobody can short physical oil, so for crude the formula is only a ceiling, and the convenience yield measures how far below it futures sit. Session 2.5 develops storage costs and convenience yield; Hull (ch. 5) gives the full treatment.

2.4.3 Basis, contango & backwardation

Line up the prices of every expiry by maturity and you get the futures curve. Its shape tells you, today, what it costs to carry the asset through time.

The basis is the gap between spot and futures. This course uses Hull's convention, bt=St−Ftb_t = S_t - F_t; some desks flip the sign, so check it. The basis must shrink to zero at expiry — convergence — because an expiring contract is the asset for immediate delivery: any gap on the last day could be bought cheap and delivered dear. When futures sit above spot and the curve rises with maturity, the market is in contango and the basis is negative. When futures sit below spot and the curve falls, it is in backwardation: the physical is worth more now than later, and the basis is positive.

THE CURVE TODAY price of each expiry, by months to expiry 0 3 6 9 12 months to expiry → spot S CONTANGO · F above S BACKWARDATION · F below S basis < 0 basis > 0 ONE CONTRACT OVER ITS LIFE its price converges to spot by expiry today expiry calendar time → expiry: F = S, basis = 0 contango contract spot backwardated contract Basis = spot − futures: negative in contango, positive in backwardation, zero at expiry.
fig 2.4.3 — the two curve shapes (left) and what they mean for one contract (right): whichever side it starts on, the futures price is pulled to spot by expiry

Why does a curve slope? For financial futures: interest minus income. For physical commodities the slope tracks inventories — ample stocks mean contango, while a threatened shortage pushes the convenience yield above financing plus storage (y>rf+uy \gt r_f + u) and inverts the curve. Session 2.5 develops this theory of storage and the commodity term structure.

SituationCurveBasis S − FWhat a long futures holder feels
Plenty of inventory, expensive storagecontangonegativea steady drag as each contract falls toward spot
Shortage: the physical is worth more nowbackwardationpositivea steady tailwind as each contract rises toward spot
Equity index, interest rate above dividend yieldmild contangoslightly negativea small drag of rf−qr_f - q a year, repaid by interest on the idle cash (§2.4.4)
📌 Key idea — backwardation is not "normal backwardation"

Backwardation compares the futures price with today's spot price, which you can see. Keynes's normal backwardation compares it with the expected future spot price, which you cannot: if hedgers pay speculators to take their price risk, futures trade below the expected spot price and a long position earns a risk premium. Gorton and Rouwenhorst's example: spot oil $30, expected spot $34, futures $32 — contango and normal backwardation at once (NBER w10595, §9). Only normal backwardation is a premium; the curve's shape alone is not.

2.4.4 What a futures position earns

A futures contract costs nothing to enter, so "the return on a futures" needs a denominator. Professionals use a fully collateralised position — and then the return splits cleanly into three parts.

A fully collateralised position holds one dollar of Treasury bills per dollar of notional, with the contract on top. The futures P&L alone is an excess return; the T-bill interest makes it a total return. Buy one contract at F0F_0 and hold it to expiry, and the excess return splits exactly in two (Koijen, Moskowitz, Pedersen & Vrugt 2018):

Sexp−F0F0⏟excess return=S0−F0F0⏟carry = roll yield+Sexp−S0F0⏟spot move\underbrace{\frac{S_{\text{exp}} - F_0}{F_0}}_{\text{excess return}} \;=\; \underbrace{\frac{S_0 - F_0}{F_0}}_{\text{carry = roll yield}} \;+\; \underbrace{\frac{S_{\text{exp}} - S_0}{F_0}}_{\text{spot move}}

The first term is known the day you buy: what you earn if spot does not move, because the contract must converge to it. KMPV call it the carry — the general form of the carry premium in Session 1.2 — and commodity investors call it the roll yield: about −c-c a year. With collateral interest:

Rtotal≈Rspot−c⏟roll yield+rf⏟collateral=Rspot+(y+q−u)R^{\text{total}} \;\approx\; R^{\text{spot}} \;\underbrace{-\;c}_{\text{roll yield}} \;+\; \underbrace{r_f}_{\text{collateral}} \;=\; R^{\text{spot}} + (y + q - u)

The last form is the sanity check: a collateralised future priced at carry earns spot plus what owning the physical pays minus what it costs. An equity-index future therefore tracks the index's total return — the lab confirms it within 0.1 percentage points a year — closely but not exactly, since the financing rate implied by futures prices differs a little from the T-bill rate.

WHAT A LONG FUTURES POSITION EARNS — a contango example (illustrative proportions) THE NAIVE VIEW futures return = spot return zero spot move “oil drifts up, so my oil futures will too” THE DISCIPLINED VIEW spot + roll yield + collateral = total spot − c + r_f total roll yield collateral (T-bills) Same spot move, different verdicts: the naive view leaves out the roll yield and the collateral.
fig 2.4.4 — the naive and the disciplined view of one contango position, with illustrative bar lengths (carry twice the T-bill rate); the lab's numbers are in the text

The lab makes it concrete: one simulated ten-year spot path (drift 3%, volatility 25%) with two curves wrapped around it, a contango with c=c = +6% and a backwardation with c=c = −6%. Each month the position holds the front month — the contract nearest expiry — until it converges to spot, then rolls into the next.

GROWTH OF $1: SPOT VS ROLLED FUTURES ON TWO CURVES, SAME SPOT PATH (LOG SCALE, YEARS) spot contango backwardated $0.20 $0.50 $1.00 0 2 4 6 8 10 spot spot: $0.25 contango contango: $0.14 backwardated backwardated: $0.45 backwardated: $0.45 spot: $0.25 contango: $0.14
fig 2.4.5 — one spot path, two curves: the level of each line is luck, the gap between them is not — it compounds at exactly c a year

This path was unlucky — spot compounded at −13.0% a year despite its 3% drift — but only the level is luck. The contango futures returned −18.1% a year and the backwardated −7.6%, each exactly cc a year from spot in log terms; with 3% collateral the totals are −15.6% and −4.8%. The lab checks the identity daily and contract by contract:

F0 = starts * np.exp(C_CONTANGO * ROLL_DAYS / PERIODS_PER_YEAR)  # price paid for each contract
R_contract = (ends - F0) / F0      # excess return, contract by contract
carry = (starts - F0) / F0         # known the day you buy: the roll yield
spot_part = (ends - starts) / F0   # what the spot price did
assert np.allclose(R_contract, carry + spot_part, atol=1e-14)

Commodity indices work the same way — the S&P GSCI publishes a price, an excess-return and a total-return index — and Erb and Harvey (2016) decompose it into the three parts above:

S&P GSCI, % a yearJan 1970 – Dec 2004Dec 2004 – Jun 2015
Price (spot) return3.23%3.39%
Roll return1.95%−9.29%
Collateral (3-month T-bill)6.78%1.32%
Total return11.97%−4.58%

Source: Erb & Harvey (2016), Table 2. The price return barely changed, but the roll swung by more than eleven percentage points: investors who thought they had bought "commodity prices" lost 4.58% a year while commodity prices rose.

⚠️ Pitfall — "the front-month chart shows what oil futures returned"

A chart of front-month prices, spliced from contract to contract, jumps at every roll and hides the roll yield. On the lab's contango path, returns read off that chart equal spot's −13.0% a year; the investable return was −18.1% — 5.1 percentage points a year the chart cannot show. Compute futures returns contract by contract; Session 4.3 builds back-adjusted series.

2.4.5 Roll yield: an identity, not free money

"Roll yield" is the most argued-about phrase in futures investing. Two claims about it are everywhere: one is wrong and the other is half right.

Claim 1: "In contango you lose money on the roll"

The story: at every roll you sell the cheap expiring contract and buy the dear next one. But both trade at fair prices, and after each settlement a futures contract is worth zero, so the swap costs only fees; you simply hold fewer of the dearer contract. As Gorton and Rouwenhorst put it, "The rolling itself is not a source of return" (NBER w10595, fn. 8). The roll yield accrues every day you hold: in the lab the daily log futures return is exactly the log spot return minus c/252c/252, roll days included. Index providers book the same total on roll dates (Erb & Harvey 2016).

Claim 2: "Negative roll yield means futures will underperform"

The decomposition tells you where a return came from, not what it will be. Whether carry is an expected return depends on how spot moves, and the lab builds two worlds on the same random shocks:

  • World A — spot ignores the curve. Spot drifts at 3% whatever the curve says, so the expected excess return is that drift minus cc: carry is a return forecast.
  • World B — the curve is an unbiased forecast. Spot drifts at exactly cc, so the expected future spot price equals today's futures price and every shape earns zero: the expectations hypothesis.
ROLL YIELD VS AVERAGE FUTURES EXCESS RETURN, BY CURVE SHAPE (2,000 PATHS) roll yield (carry) excess return, world A excess return, world B −20% −10% 0% 10% 20% contango +12% · roll yield (carry): −12% −12% contango +12% · excess return, world A: −9% −9% contango +12% · excess return, world B: 0% 0% contango +12% contango +6% · roll yield (carry): −6% −6% contango +6% · excess return, world A: −3% −3% contango +6% · excess return, world B: 0% 0% contango +6% flat 0% · roll yield (carry): 0% 0% flat 0% · excess return, world A: 3% 3% flat 0% · excess return, world B: 0% 0% flat 0% backw. −6% · roll yield (carry): 6% 6% backw. −6% · excess return, world A: 9% 9% backw. −6% · excess return, world B: 0% 0% backw. −6% backw. −12% · roll yield (carry): 12% 12% backw. −12% · excess return, world A: 15% 15% backw. −12% · excess return, world B: 0% 0% backw. −12%
fig 2.4.6 — the roll yield (grey) is the same in both worlds; whether it becomes return depends on how spot moves — world A passes it through, world B cancels it

Across 2,000 ten-year paths the averages match theory within a few standard errors of about 0.2 percentage points. In a +6% contango the roll yield is −6.0% a year in both worlds, but the average (arithmetic) excess return is −3.2% in world A (theory −3.0%) and −0.2%, zero plus noise, in world B. In a −6% backwardation world A pays 8.9% a year; world B still pays nothing.

Reality is partly world A: Koijen, Moskowitz, Pedersen and Vrugt (2018) find that carry predicts returns in every asset class they study — but carry strategies suffer in recessions and crashes, which Session 8.4 examines.

⚠️ Pitfall — "backwardation is free money"

A backwardated curve says you earn the carry if spot does not fall to meet the curve. Often it partly does: shortages end, and a curve backwardated by scarcity can flip to contango just as spot collapses. Treat carry as a risk premium with crash risk, never as an arbitrage — the only riskless trade here is the cash-and-carry of §2.4.2. Trend followers (Session 8.1) must use roll-adjusted returns for the same reason.

2.4.6 Margin: the daily settlement machine

Futures create leverage without a loan. Margin is a good-faith deposit, not a down payment — and daily settlement turns every price move into a cash flow before you have decided anything.

Initial margin is the deposit required to open a position; maintenance margin is the floor your account equity must stay above. CME sets both in dollars per contract; as of 2026, initial margin for accounts it classes as higher-risk is 110% of maintenance, and the two are equal for the rest. Mark-to-market revalues every position at the settlement price each night, and variation margin is the resulting cash: losers pay, winners are paid. Fall below maintenance and a margin call asks you to top the account back up to the initial level; if you can't, the broker closes the position — a forced liquidation.

ONE FUTURES POSITION, ONE TRADING DAY AT A TIME 1 · OPEN post initial margin (it is a deposit) 2 · SETTLE exchange publishes a settlement price 3 · MARK TO MARKET losers pay winners: variation margin EQUITY ≥ MAINTENANCE? 4 · CARRY ON tomorrow: back to 2 or exit: close, roll or hold to expiry yes next trading day no 5 · MARGIN CALL top the account back up to INITIAL margin 6 · FORCED LIQUIDATION broker sells you out, loss locked in unpaid paid variation margin = contracts × multiplier × ΔF call when equity < maintenance margin (fixed $ per contract) Every evening cash changes hands. A margin call is a demand for cash today, not a note about a loss.
fig 2.4.7 — the daily lifecycle of a futures position: settle, mark to market, pay or receive variation margin, and meet a call or be liquidated

Six days of it: long 2 E-minis at 5,000 ($500,000 notional) with $40,000 in the account — 12.5× leverage. The lab's illustrative margins (5% maintenance, 5.5% initial, as fractions of entry notional) put the maintenance level at $25,000 and the initial level at $27,500.

DaySettlement priceVariation margin ($)Margin-call deposit ($)Account equity ($)
open5,000.00——40,000
14,985.00−1,500—38,500
24,940.00−4,500—34,000
34,880.00−6,000—28,000
44,845.00−3,500+3,00027,500
54,905.00+6,000—33,500
64,930.00+2,500—36,000

On day 4 equity fell to $24,500, below the floor, and the call demanded $3,000 to reach the initial level. The position lost only $7,000 over six days, yet it needed fresh cash after a fall of 3.1% in an index you might happily hold for years.

That threshold is the most useful formula in this section. With leverage LL (notional at entry ÷ account equity, as in Session 2.3) and maintenance margin mm — a fixed dollar amount per contract, expressed as a fraction of the notional at entry — a call arrives once the price has fallen by

d⋆=1L−md^\star \;=\; \frac{1}{L} - m

In the ledger 1/L=1/L = 8% and m=m = 5%, so d⋆=d^\star = 3%, or 150 points. At the lab's maximum leverage (5.5% initial margin, 18.2×) the cushion is half a percent: one ordinary day.

🧭 Margin note — margins move against you

CME notes that margin requirements may rise when daily moves become more volatile — exactly when losses mount — and that a position may be liquidated automatically once equity drops below maintenance; your broker may also ask for more than the exchange minimum. A trade sized to "just fit" today's margin is sized to fail on a volatile day.

2.4.7 Margin calls, liquidation & two disasters

The leverage arithmetic of Session 2.3 said too much exposure slowly destroys growth. Margin adds a faster way to lose: being forced out at the bottom of a move you would have survived.

The lab runs 20,000 one-year paths of a futures price drifting 5% a year with 20% volatility (the excess return of the Session 2.3 asset). A trader with $100,000 buys Micro E-minis at leverage LL. One version has no spare cash, so the first call is a forced liquidation; the other keeps a $20,000 reserve and meets calls until a call exceeds what is left. The inner loop is the ledger of §2.4.6, vectorised:

for t in range(1, HORIZON + 1):
    eq = eq + alive * n_contracts * mult_m * (F_paths[t] - F_paths[t - 1])   # variation margin
    call = alive & (eq < mm)
    first_call[call & (first_call < 0)] = t
    need = im - eq
    pay = call & (need <= res)
    eq = np.where(pay, eq + need, eq)
    res = np.where(pay, res - need, res)
    fail = call & ~pay
    liq_day[fail] = t
    alive &= ~fail
LeverageFall that triggers a callP(margin call within a year)TheoryP(forced liquidation), with the $20,000 reserveP(called, yet the price ended the year higher)
1×95.0%0.0%0.0%0.0%0.0%
3×28.3%6.5%6.8%2.1%0.0%
5×15.0%34.3%34.7%24.0%4.6%
10×5.0%73.3%73.5%66.4%30.4%
15×1.7%88.6%88.7%84.3%44.8%

Three lessons. Calls climb steeply with leverage: at 10× about three traders in four are called within a year, on an asset that rose in 56% of simulated years. A reserve helps most when leverage is modest: at 3× it cuts liquidations from 6.5% to 2.1%, at 10× only from 73% to 66%, because an account at the margin edge gets a new call every down day. And, cruelest: at 10×, 42% of those forced out had called the direction right.

The theory column is the reflection principle with the Broadie–Glasserman–Kou correction for daily checks, derived in the lab (Session 3.5 covers Monte Carlo); it agrees with the simulation within 0.4 percentage points, and the lab asserts agreement to 1.5 percentage points, about four standard errors. Real brokers can demand more and act before the close, so treat these liquidation probabilities as a lower bound.

10× LONG FUTURES, NO SPARE CASH: ONE PATH (X = TRADING DAYS) account maintenance margin held on −$50k $0 $50k $100k $150k $200k $250k 0 50 100 150 200 250 account account: $50k maintenance margin held on held on: $217k held on: $217k account: $50k
fig 2.4.8 — one path chosen to illustrate the cruel case, not a typical one: the 10× trader is forced out on trading day 81, and the position they held would have more than doubled their money

On that path the price fell 5.0% below entry and the broker sold with $49,807 left; the price then finished the year 11.7% up, and holding on would have ended at $216,599 — though only with deep pockets, since that account touched −617 dollars on day 150. Same view, same market, opposite outcomes — decided by cash.

📌 Key idea — margin risk is liquidity risk

A margin call does not ask whether your trade is right; it asks whether you have cash tonight. Size futures positions by the adverse move you can fund, not by the margin the exchange will accept. The growth argument of Session 2.3 points the same way, toward the Kelly criterion of Session 3.6.

20 April 2020: the day oil went negative

The May 2020 WTI contract — physically delivered at Cushing, Oklahoma — fell from Friday's settlement of $18.27 to settle at −$37.63 a barrel on Monday 20 April, the day before it expired, amid an oversupplied market, a COVID-19 collapse in demand and storage that the CRS described as essentially full (CFTC staff report 2020; CRS Insight IN11354). A long contract carried into that session paid $55,900 of variation margin in one day — 3.1 times its value at Friday's settlement ($18,270).

The percentage formula F=SecτF = S e^{c\tau} can never go negative. Storage is really a dollar cost per barrel, F0=(S0+U)erfτF_0 = (S_0 + U)\,e^{r_f \tau}, and when Cushing filled, UU exploded for anyone holding oil now. June settled at $20.43 (CRS) while the expiring May went to −$37.63: the May–June spread moved from −6.76 to −58.06 dollars a barrel, the market's price of a month of storage.

Metallgesellschaft, 1993: right, and still ruined

MG Refining & Marketing, the US oil arm of Metallgesellschaft, sold fixed-price supply contracts for 154 million barrels over up to ten years, hedged with a rolling stack of short-dated futures and OTC swaps. In 1993 spot fell and the market sat in contango: the hedge lost cash as it went, while the offsetting gains would arrive only with deliveries over a decade. Losses reached nearly $1.3 billion and the parent needed a $1.9 billion bank rescue (Mello & Parsons 1995). Whether the hedge was sound or mismatched has been debated; the mechanism has not — gains accrued like a forward, losses were paid like a futures.

2.4.8 Try it

Open the companion lab, predict before you run, and break things on purpose.

🔧 Try it (15 min, in the lab)

1. Predict the contango CAGR in section 3 if C_CONTANGO rises from 0.06 to 0.12 (the log gap to spot is exactly c a year), then run it.
2. In section 6, raise RESERVE_PCT to 0.50: how much does P(forced liquidation) at 10× fall? Compare cutting leverage to 5× with no reserve.
3. Add 18× (the maximum at 5.5% initial margin) to LEVELS: what is d*, and how long does the median trader last (np.median(runs[18]["first_call"]))?
Success: step 1 lands within half a percentage point, and d⋆=1/L−md^\star = 1/L - m explains step 2.


2.4.9 Glossary · Check yourself · Go deeper

Forward contract — a private agreement to buy or sell an asset at a fixed price on a future date; it settles once, at the end.
Futures contract — a standardised, exchange-traded forward, centrally cleared and marked to market daily.
Cost of carry — the net cost of holding an asset to expiry: financing + storage − income − convenience yield, so F=SecτF = S e^{c\tau}.
Cash-and-carry arbitrage — borrowing to buy the asset and selling the future when the future is dearer than the carry price, locking in the gap.
Basis — spot minus futures, S−FS - F (this course's convention); zero at expiry.
Contango — futures above spot, the curve rising with maturity; a long position pays roll yield.
Backwardation — futures below spot, the curve falling with maturity; not the same as Keynes's normal backwardation.
Roll yield — the return from a contract converging to spot, (S−F)/F(S - F)/F per contract, about −c-c a year; it accrues daily, not at the roll.
Front month — the listed contract closest to expiry, usually the most liquid.
Initial margin — the deposit required to open a leveraged position: dollars per contract for futures, a percentage of the position's value for stocks.
Maintenance margin — the minimum equity a margin account must keep; falling below it triggers a margin call.
Margin call — a demand to add funds (for futures, back up to the initial margin) or have the position liquidated.
Variation margin — the daily cash transfer of mark-to-market gains and losses.
Mark-to-market — revaluing every open position at the day's settlement price and settling the difference in cash.
Settlement price — the official daily price the exchange uses to mark every futures position to market.
Expiry — a contract's last trading day, after which it settles in cash or by physical delivery.
Contract multiplier — money per unit of the quoted price: $50 per index point for the E-mini S&P 500.
Notional value — price × multiplier × contracts: the exposure you carry, whatever the margin.

Check yourself

1. An index is at 5,000, the risk-free rate is 4% and the dividend yield 1.5%. The 3-month future trades at 5,060. What do you do, and what do you earn per E-mini?
The carry price is 5,000 · e0.025 × 0.25 ≈ 5,031.35, so the future is 28.65 points rich: sell it and borrow to buy the index, locking in $1,433 per E-mini before costs, whatever the index does — two routes to the same asset must cost the same.
2. "The curve is 6% backwardated, so buying the front month is a free 6% a year." What is wrong?
Roll yield is carry, not arbitrage: it becomes return only if spot does not fall to meet the curve (world A); in world B the expected excess return is zero. Carry does predict returns (KMPV 2018), but as a risk premium with crash exposure.
3. You buy 10 Micro E-minis at 5,000 with $20,000 in the account; maintenance margin is 5% of the entry notional. How far can the index fall before a margin call?
Notional = 10 × $5 × 5,000 = $250,000, so L = 12.5 and d* = 1/L − m = 3%: 150 points, to 4,850. At 20% volatility one week's standard deviation is about 2.8%, so that is an ordinary bad week.
4. On 20 April 2020 the expiring WTI contract settled at −$37.63 while June settled at $20.43. Why couldn't cash-and-carry stop the May price going negative, and what does it teach about margin?
Cash-and-carry needs somewhere to put the oil. With Cushing essentially full, the dollar cost of storing a barrel delivered now exploded, so nobody could buy the cheap May contract, take delivery and carry it to June; the −$58 spread was the price of a month's storage. And a long paid $55,900 per contract in a day: size by the adverse move you can fund, as Metallgesellschaft learned too.
🔧 Homework (~1 h before Session 2.5)

1. A third world. In section 4, add a world C whose spot drifts at (3% + c)/2; predict its excess return, measure it, and say what share of the carry it passes through.
2. Price the reserve. By bisection on RESERVE_PCT, find the reserve that keeps P(forced liquidation) at 10× below 5%; compare it with 5× and no reserve.
3. Real specs. Look up today's Micro E-mini margin on cmegroup.com and compute the maximum leverage and d*; date every number.
4. Read sections 1–2 of Koijen et al. (2018) on carry, which Session 2.5 applies to FX and commodity curves.

📚 Go deeper

  1. Hull, J. C. (2021). Options, Futures, and Other Derivatives, 11th ed., ch. 2 "Futures markets and central counterparties" and ch. 5 "Determination of forward and futures prices". Pearson. ISBN 978-0-13-693997-9
  2. Koijen, R. S. J., Moskowitz, T. J., Pedersen, L. H. & Vrugt, E. B. (2018). "Carry." Journal of Financial Economics 127(2), 197–225. doi:10.1016/j.jfineco.2017.11.002
  3. Gorton, G. & Rouwenhorst, K. G. (2006). "Facts and Fantasies about Commodity Futures." Financial Analysts Journal 62(2), 47–68. Quotes here are from the working-paper version, NBER w10595 (June 2004). doi:10.2469/faj.v62.n2.4083
  4. Erb, C. B. & Harvey, C. R. (2016). "Conquering Misperceptions about Commodity Futures Investing." Financial Analysts Journal 72(4), 26–35. doi:10.2469/faj.v72.n4.3
  5. Mello, A. S. & Parsons, J. E. (1995). "Maturity Structure of a Hedge Matters: Lessons from the Metallgesellschaft Debacle." Journal of Applied Corporate Finance 8(1), 106–121. doi:10.1111/j.1745-6622.1995.tb00279.x

Sources for the numbers

  1. Cox, J. C., Ingersoll, J. E. & Ross, S. A. (1981). "The Relation between Forward Prices and Futures Prices." Journal of Financial Economics 9(4), 321–346. doi:10.1016/0304-405X(81)90002-7
  2. CFTC staff (2020). "Interim Staff Report on Trading in NYMEX WTI Crude Oil Futures Contract Leading up to, on, and around April 20, 2020." https://www.cftc.gov/PressRoom/PressReleases/8315-20
  3. Congressional Research Service (2020). "Crude Oil Futures Prices Turn Negative." CRS Insight IN11354, 22 April 2020. https://www.congress.gov/crs-product/IN11354
  4. Broadie, M., Glasserman, P. & Kou, S. (1997). "A Continuity Correction for Discrete Barrier Options." Mathematical Finance 7(4), 325–349. doi:10.1111/1467-9965.00035
  5. CME Group (2026). Contract specifications (E-mini S&P 500, Micro E-mini S&P 500, Crude Oil); "Margin: Know What's Needed"; Performance Bonds/Margins. https://www.cmegroup.com/markets/equities/sp/e-mini-sandp500.contractSpecs.html · https://www.cmegroup.com/markets/equities/sp/micro-e-mini-sandp-500.contractSpecs.html · https://www.cmegroup.com/markets/energy/crude-oil/light-sweet-crude.contractSpecs.html · https://www.cmegroup.com/education/courses/introduction-to-futures/margin-know-what-is-needed · https://www.cmegroup.com/solutions/risk-management/performance-bonds-margins.html