The Basis Trade

Two prices for the same asset must agree by delivery day. When they don't, the gap between them, know as the basis, is either free money or a very patient way to lose it.

t = today → T = delivery 126 trading days to expiry
spot S(t) futures F(t) basis B(t)

Defining the basis

For any asset with a futures contract, such as a Treasury note, a barrel of oil, or an equity index, two prices exist at once: the spot price you would pay to own it right now, and the futures price you can lock in today for delivery later. The basis is the difference.

Definition 1 — Basis
\begin{equation} B_t = F_t - S_t . \end{equation}

At the instant the contract expires it converges to spot, because delivery forces it to. So \(B_T = 0\): the basis is a number engineered to hit exactly zero on a known date. That is what makes basis trades feel like arbitrage.

Why the basis isn't zero today

If you could buy the asset now and hold it for free, spot and futures would already be equal. They are not, because holding costs something (financing) and sometimes pays something back (coupons, dividends, convenience yield). This is the cost-of-carry.

Definition 2 — Cost of carry
\begin{equation} F_t = S_t\, e^{(r-y)(T-t)} . \end{equation}
r = financing (repo) rate · y = yield earned while holding · T−t = time to delivery

Rearranged, the “fair” basis is just the net cost of carrying the asset to delivery.

Definition 3 — Fair basis
\begin{equation} B_t^{\text{fair}} = S_t\left(e^{(r-y)(T-t)} - 1\right). \end{equation}

When the market's basis drifts away from this fair value, a mechanical trade appears: buy the cheap side, sell the expensive side, hold to delivery, collect the difference.

The Treasury Basis Trade

The canonical basis trade is in Treasury futures. A futures contract there is not written on a single bond but on a notional bond, and the short may deliver any of several eligible issues, each scaled by a conversion factor \(\mathrm{CF}\) that approximately equalises them.

TermDefinitionMeaning
Gross basis\(P_0 - F_0\cdot \mathrm{CF}\) Raw price gap, before financing.
Carrycoupon accrued − repo cost What you earn (or pay) while holding to delivery.
Net basis (BNOC)gross basis − carry The real economics; also the price of the delivery option.
Implied repo ratebreak-even financing rate Compare with actual repo: if IRR > repo, cash-and-carry pays.

The bond with the highest implied repo rate is referred to as the cheapest to deliver (CTD), and the short's right to switch between issues is a genuine option with value. In the simplified model below there is a single underlying and no delivery option, so net basis and gross basis coincide up to carry (this is a deliberate simplification, and one of the reasons the model's payoff comes out cleaner than in reality).

A standard approximation for the implied repo rate, ignoring intermediate coupons, is \(\mathrm{IRR}\approx\left(\frac{F_0\mathrm{CF}+\mathrm{AI}_T-P_0}{P_0}\right)\cdot\frac{360}{n}\), with \(n\) days to delivery and \(\mathrm{AI}\) accrued interest. Day-count and coupon-reinvestment conventions vary between desks, so treat any single formula as indicative.

The trade, leg by leg

The classic version is cash-and-carry: futures look rich relative to fair value, so you buy the underlying and sell the future against it, financing the purchase until delivery.

Long leg — buy spot

Borrow cash at the repo rate \(r\) and buy the asset. You own it, and you owe the loan.

\(t = 0\): \(-S_0\) (buy) · \(+S_0\) (borrow)
\(t = T\): repay financing, deliver the asset
Short leg — sell the future

Sell a futures contract at \(F_0\), obliging you to deliver at a price fixed today.

\(t = 0\): no cash (futures are margined)
\(t = T\): receive F₀ on delivery

To deliver exactly one unit at expiry, buy \(n = e^{-yT}\) units at inception and reinvest the income; holdings then grow to \(n\,e^{yT}=1\). Netting the legs, the profit is fixed at inception regardless of where the market goes.

Proposition 4.1 — Locked-in profit
\begin{equation} \Pi = F_0 - S_0\, e^{(r-y)T} . \end{equation}
the initial net basis — deterministic under the model

Because \(\Pi\) is tiny relative to \(S_0\) the trade only pays if it is run with leverage \(L\), posting equity \(E = S_0/L\). The return on that equity is

Proposition 4.2 — Levered return
\begin{equation} R = L\,\frac{\Pi}{S_0}. \end{equation}

Financing asymmetries

Everything risky about this trade follows from one fact: the two legs are financed in completely different ways.

Long bond — financed in repo

The bond secures its own financing: you repo it out, pledging the bond as collateral for the cash that bought it. You only fund the haircut. On Treasuries historically on the order of 1-3% of face value, which is precisely what permits leverage of 30-100×.

Short future — margined in cash

The clearing house marks this leg to market daily and demands cash variation margin whenever the basis moves against you. Paper losses become cash outflows immediately, potentially long before convergence.

This gives two independent ways to be forced out:

March 2020 was largely the second channel. Repo funding for Treasuries became scarce and expensive very suddenly, and leveraged basis positions were unwound on a funding shock rather than a pricing one.

A small stochastic model

Model the spot as geometric Brownian motion and the basis mispricing \(\varepsilon_t\) as a mean-reverting Ornstein–Uhlenbeck process, damped so that it must vanish at expiry:

\begin{align} dS_t &= \mu S_t\, dt + \sigma S_t\, dW_t, \\ d\varepsilon_t &= -\kappa\, \varepsilon_t\, dt + \sigma_b\, dZ_t, \\ F_t &= S_t\, e^{(r-y)(T-t)}\; e^{\varepsilon_t \frac{T-t}{T}} . \end{align} Notice that the factor \((T−t)/T\) forces \(F_T = S_T\) exactly, regardless of the noise process.

Discretised with an Euler–Maruyama scheme on a daily grid:

\begin{equation} \varepsilon_{i+1} = (1-\kappa\,\Delta t)\,\varepsilon_i + \sigma_b\sqrt{\Delta t}\; z_i , \qquad z_i \sim \mathcal N(0,1). \end{equation}

Then, the mark-to-market value of the position is

\begin{equation} V_t = \underbrace{n\left(S_t\,e^{y t} - S_0\, e^{r t}\right)}_{\text{cash leg net of financing}} \;+\; \underbrace{F_0 - F_t}_{\text{short futures leg}}, \qquad n = e^{-yT}, \end{equation} so that \(V(T) = F_0 − S_0 e^{(r−y)T} = \Pi\) exactly, with no residual spot exposure

The funding shock is modelled as Poisson shock with hazard rate \(h\).

\begin{equation} \mathbb{P}\big(\text{funding shock in } [t,\,t+dt]\big) = 1 - e^{-h\,dt} \approx h\,dt . \end{equation}

Here, \(h\) is the expected shocks per year; a shock forces an immediate unwind at the prevailing \(V\), independent of the margin channel. The position exits at whichever comes first: \(V_t < -S_0/L\) (margin call), a funding shock, or delivery. Note that the margin barrier is by construction the total loss of your equity, so a margin call is a \(-100\%\) return on equity.

seed

The random shocks are held fixed, so moving a slider transforms the same realisation rather than redrawing it; this means that any resulting change is caused by the parameter change alone. \(\varepsilon_0\) and \(\sigma_b\) rescale the path, \(\kappa\) deforms it, \(r\) and \(y\) tilt the drift; only \(L\) leaves the path untouched and slides the barrier instead. Pressing New draws produces a fresh realisation.

Margin calls
Funding shocks
Survived to T
Survivor return
Mean R
Median R
5% VaR
Worst path
Spot and futures (left axis) with the basis (right axis) — all three meet at T
Mark-to-market P&L per unit notional, with the margin-call barrier
Realised path Other draws Margin level \(-S_0/L\) Margin call Funding shock

The distribution of outcomes

Running 2000 paths on the same shock buffer gives the classic basis-trade profile: a spike at the small convergence profit, and a left tail of forced liquidations whose weight grows with \(\sigma_b\), \(h\) and \(L\) — “picking up nickels in front of a steamroller”.

Distribution of levered returns \(R=L\cdot\Pi/S_0\) (% on equity)

How much leverage?

Leverage does not change the path of \(V_t\) at all: it only moves the barrier. That makes the whole leverage sweep computable from a single set of paths: for each path the times at which \(V_t\) set a new running minimum is recorded, and that short list determines the first-passage time for every barrier at once.

Forced-exit probability and expected return vs leverage
P(forced exit), left axis E[R], right axis current L

The shape is the whole argument. Expected return rises linearly in \(L\) while the trade survives, then turns over as the barrier climbs into the body of the distribution: optimal leverage is finite, and well short of the maximum the haircut would permit. Push past the peak and you are taking more risk for less expected return.

NOTE: Maximising expected return is a crude criterion: it is risk-neutral and ignores the fact that a -100% outcome ends the game. A log-utility or Kelly criterion would place the optimum materially lower, and a real risk manager lower still. Read the peak as an upper bound on sensible leverage, not a target.

When the arbitrage breaks

Cash-and-carry only looks riskless if you can fund the position all the way to delivery. Two episodes show what happens when that assumption fails.

The lesson is not that the mathematics is wrong. Convergence at delivery really is close to certain. It is that leverage converts a small, temporary, adverse move into a permanent exit, and exits happen before the sure thing gets to pay.


References

[1] CME Group — Understanding the Treasury futures basis
[2] BIS Quarterly Review — Leverage and margin spirals in fixed income markets (March 2020)
[3] Office of Financial Research — notes on hedge-fund Treasury basis exposure
[4] Federal Reserve FEDS Notes — Treasury market functioning, March 2020
[5] Financial Stability Board — leverage in non-bank financial intermediation

Back to Teaching