Keep a hedge alive as contracts expire
The bakery needs protection beyond the maturities with reliable liquidity. It can match separate business dates with a strip of futures, or stack positions in a liquid near month and roll them forward. A sequence of trades adds new basis and funding decisions. Compare their entire cash-flow paths instead of calling a roll a permanent price lock.
Predict first, then run each standalone calculation. Make a requested edit only in the named cell: other exercises retain their own stated inputs. Enter numbers without currency symbols or units, rounded to two decimals unless the check asks for four. None of the model prices is a forecast or a trading recommendation.
What stays protected when a hedge is rolled?
A strip uses contract maturities aligned with several exposure dates. Stack-and-roll initially concentrates the hedge in a more liquid nearer maturity, then closes and replaces it as time passes. Choosing the best contract considers grade, location, business date, liquidity and the availability of a later close, not just the smallest visible spread.
For a planned buyer with positive proxy co-movement, the long hedge’s is a regression slope when the regression includes an intercept.
These formulas use absolute price changes in compatible units and matching sampling intervals. Return-based hedge estimates instead need value/notional sizing. Correlation of price levels, a tiny sample and shifting relationships do not establish a stable hedge.
| Rolling example | Price per physical unit |
|---|---|
| Open first near contract | 50 |
| Close first contract | 47 |
| Open replacement at the same roll date | 48 |
| Close replacement at the business date | 53 |
| Physical spot purchase at the business date | 54 |
For 100 long units, total nominal futures P&L is . The roll-date gap changes the next entry terms; opening a future does not itself require paying its full notional. Actual fees, margin and settlement still require cash.
Daily settlement can earn or cost interest before the business cash arrives. A simple tailing illustration discounts an untailed exposure using a stated remaining funding factor. Exact financing-aware hedging needs cash dates, rate assumptions and rebalancing; a single haircut to contract count is not a universal recipe.
Forwards and futures with matching terms have equal model quotes under deterministic interest rates and the usual frictionless assumptions. With stochastic rates, correlation between settlement gains and reinvestment/funding rates can change their quotes; the sign depends on the joint dynamics.
Scenario and assumptions
Use fictional 25-unit futures and a 100-unit buyer for rolling unless a different example is specified. Regression inputs are supplied estimates, not evidence from the two roll intervals. Ignore fees and interest in the nominal rolling P&L; add explicit funding only where stated. Exercise 5 uses $600 initial collateral, $450 maintenance and top-up to $600 only below maintenance. Exercises 6–7 are separate simplified financing illustrations, not extensions of that margin account.
Exercise 1 — Interpret a regression-based hedge ratio
A supplied historical estimate gives covariance of absolute spot and futures price changes of 4.8 and futures-change variance of 4.0, both in compatible squared price units. Divide covariance by variance. This is a minimum-variance estimate, not a promise to eliminate every loss; positive implies longs for the planned buyer.
Exercise 2 — Convert the estimate to contracts when quantity changes
At , 100 physical units imply 4.8 of the 25-unit futures. Run that target, then change the forecast purchase quantity from 100 to 150. Compare whole-contract candidates around the new target rather than silently using the old five-contract hedge. Forecast quantity itself can be uncertain.
Exercise 3 — Add the actual gains across two contracts
Return to 100 long units in the stated rolling path. The first contract loses $300 and the replacement gains $500. Add only entry-to-close changes within each contract. Subtract the total from the $5,400 physical purchase bill to get $5,200 effective cost, or $52 per unit, before funding.
Read the picture
A long 100-unit rolling hedge loses $300 on its first contract and gains $500 on its replacement; the $200 total gain leaves a $5,200 effective bill at $54 spot.
The figure shows a fixed worked example. Editing a calculation does not update this illustration.
Exercise 4 — Interpret the roll gap correctly
At the roll date close the old future at 47 and open the replacement at 48. Multiplying the one-dollar gap by 100 compares the two contracts’ quote levels. It is not an immediate full-notional purchase cash payment. A matched strip would have different initial dates/quotes and does not automatically share this path’s outcome.
Exercise 5 — Fund the loss before the later recovery
The first contract’s $300 loss reduces the separate $600 margin account to $300. Under the below-$450 maintenance rule, add enough own cash to restore $600. The later $500 gain arrives only afterward. Ignoring other calls/withdrawals, the account then ends at $1,100 against $900 total contributions, recovering the $200 trading gain.
Exercise 6 — Tail an illustrative hedge for an early payment
In a separate single-payment illustration, ten untailed contracts would produce the desired terminal hedge cash per unit price move if paid at the business date. Here their net settlement is received earlier and can grow by a known factor 1.05 to that date. Divide ten by 1.05. Change the factor to 1.02. This fractional comparison isolates timing, with no rounding, transaction costs or other settlements.
Read the picture
The first $300 loss triggers a $300 top-up before the replacement’s $500 gain arrives; final $1,100 balance minus $900 contributions is $200 trading P&L.
The figure shows a fixed worked example. Editing a calculation does not update this illustration.
Exercise 7 — Test the deterministic-rate shortcut
Consider a separate two-state pricing model. At an early fixing date each state has pricing probability one half and the later asset delivery value is already known: 80 or 120. All futures price changes settle at that fixing date, when discounting from today is the same across states, so its fair quote is 100. The state’s subsequent cash accumulation factor to delivery is 1.01 or 1.10 respectively. The single-delivery forward instead weights terminal asset value by the state-dependent discount factors. The code computes futures quote minus forward quote; the common early discount factor and one-half probabilities cancel.
Remember
Choose contract dates and proxies against the business exposure, test regression estimates and reconsider forecast quantities. Sum realized changes contract by contract, keep the roll gap separate from cash payments and fund every margin call on time. Tailing and forward/futures differences concern the value of settlement timing. Funding limits, competitors’ pricing and uncertain business volume can justify partial or no hedging under an explicit mandate rather than automatic maximum coverage.