ThirdMomentQuantX

Chapter 6

Overnight indices and OIS

Contents
  1. 6.1 Notation
  2. 6.2 Currencies and overnight indices
  3. 6.3 Fixings
  4. 6.4 OIS convention and creating a swap
  5. 6.5 Resolving a swap
  6. 6.6 Pricing
  7. 6.7 Worked examples
  8. 6.8 Lookback and observation shift

An overnight index swap (OIS) exchanges a fixed rate for the overnight interest rate compounded over each period. This chapter defines the overnight index and its published fixings, the OIS convention and how a swap is created from it, how the swap's legs are generated, and how it is priced on a single discount curve that also projects the overnight rate, as for USD SOFR. Dates, calendars, day counts and schedules are those of the previous chapters; discount curves are defined in Chapter 7.

6.1 Notation

Symbol Meaning
\(v\) The valuation date
\(C\) The index's fixing calendar
\(r_d\) The overnight rate fixed for business day \(d\)
\(\delta(d_1, d_2)\) A day count fraction (Chapter 3)
\(N\) The signed notional of the trade: negative pays fixed, positive receives fixed (Section 8.3)
\(N_j\), \(K_j\) The (positive) notional and the fixed rate of fixed period \(j\)
\(N_i\), \(s_i\) The (positive) notional and the spread of floating period \(i\)
\(\sigma_{\text{fix}}\), \(\sigma_{\text{flt}}\) The direction of each leg: \(-1\) when paid, \(+1\) when received
\(K\) The fixed rate, when it is the same for every period
\([s_i, e_i)\), \(p_i\) Adjusted period \(i\) of the floating leg and its payment date
\(\alpha_j\), \(q_j\) Accrual fraction and payment date of fixed period \(j\)
\(P(d)\) The discount factor for date \(d\) on the discount curve (Chapter 7)
\(\hat P(d)\) The discount factor on the projection curve of the index; \(\hat P = P\) for single-curve SOFR
\(\Phi_i\) The compounding factor of floating period \(i\)

6.2 Currencies and overnight indices

A currency is identified by its three-letter ISO 4217 code (USD, SAR).

An overnight index publishes a rate \(r_d\) for each business day \(d\) of its fixing calendar \(C\). The rate applies from \(d\) to the next business day of \(C\) and accrues with the index's day count. It is published a number of business days after \(d\) (its publication lag).

SOFR (USD-SOFR), the Secured Overnight Financing Rate: currency USD, fixing calendar the U.S. government securities calendar (Section 2.9), day count Actual/360, published the next business day.

6.3 Fixings

The fixings of an index are its published rates, by date, as decimals (0.0431 for 4.31%). On the valuation date \(v\), the rates for days before \(v\) are known; the rate for \(v\) itself is not yet published (SOFR publishes the next day), so it is projected from the curve like any later rate.

6.4 OIS convention and creating a swap

An OIS convention fixes the index; the spot lag (business days from trade date to start date); the frequency of each leg; the fixed leg's day count; the payment lag (business days from each adjusted period end to its payment, on both legs); the business-day convention; the date generation rule; the rate cut-off (Section 6.6); and whether the end-of-month rule applies (a swap starting on the last business day of a month ends, and rolls, on month ends, as in Section 10.6; off for USD-SOFR-OIS, on for the €STR, SONIA and TONA swaps). Spot, accrual and payment dates use the convention's calendar; the daily compounding always uses the index's fixing calendar. A convention and an index name their calendars by identifier (a joint identifier such as NewYorkFed+London is allowed); the calendars themselves are looked up in a reference data set when a swap is resolved (Section 6.5), so a convention is plain data.

USD-SOFR-OIS: spot lag 2; both legs annual; fixed leg Actual/360; floating leg daily compounded SOFR with no lookback; payment lag 2; rate cut-off 1 business day; Modified Following; Backward generation; SOFR fixes on the U.S. government securities calendar, while spot, accrual and payment dates use the New York Fed calendar (Section 2.10).

A swap traded on date \(t\) with tenor \(\tau\) starts at the spot date and ends a tenor later:

\[\text{start} = A^C_{2}(t), \qquad \text{end} = \text{start} \oplus \tau ,\]
(6.1)

where the spot lag counts business days after \(t\) even when \(t\) is not itself a business day (from Sunday 11-Oct-2026, with Monday a holiday, spot is Wednesday 14-Oct-2026), and the end date is unadjusted (its adjustment is part of the schedule). The swap also has a fixed rate \(K\) (or one rate per fixed period, Section 6.5) and a signed notional \(N\) (or one per period): negative to pay fixed and receive the overnight rate, positive to receive fixed and pay it.

6.5 Resolving a swap

A swap is a set of legs, and a leg is a list of periods, each with its own notional and its own rate or spread. Resolving a swap generates each leg's schedule (Chapter 4) with the convention's frequency, rule, calendar, business-day convention (for period ends, the Effective and the Termination Date, and payments) and payment lag, and fills the periods:

  • the fixed leg holds, for period \(j\), the adjusted dates, the payment date \(q_j\), the accrual fraction \(\alpha_j = \delta(\text{start}_j, \text{end}_j)\), the notional \(N_j > 0\) and the fixed rate \(K_j\);
  • the overnight compounded leg holds, for period \(i\), the adjusted period \([s_i, e_i)\), the payment date \(p_i\), the notional \(N_i > 0\) and the spread \(s_i\) (zero for a plain OIS).

Each leg has a direction, paid or received. The trade's signed notional \(N\) (Section 8.3) gives both: with \(N < 0\) the fixed leg is paid and the floating leg received, with \(N > 0\) the reverse, and every period's notional is \(|N|\). A notional schedule and a rate schedule give one value per fixed period instead, all of one sign; a floating period then takes the notional of the fixed period that contains its start, so an annual-against-annual swap amortises in step. Legs can also be written period by period on hand-written dates (Section 4.9), with no convention at all; a swap built either way resolves to the same legs.

6.6 Pricing

Cash flows paid on or before the valuation date are settled and left out of every sum below.

Fixed leg. The annuity is the value of a fixed rate of 1 on the leg's notionals, an amount in the leg's currency:

\[\mathcal{A} = \sum_{j} N_j\, \alpha_j\, P(q_j) .\]
(6.2)

The fixed leg's value, before its direction, is \(V_{\text{fix}} = \sum_j N_j K_j \alpha_j P(q_j)\), which is \(K \mathcal{A}\) when every period has the rate \(K\).

Floating leg. Period \(i\) pays \(N_i\,(\Phi_i - 1 + s_i\,\delta(s_i, e_i))\) at \(p_i\), where the compounding factor is the product of the daily growth factors over the business days \(d\) of \(C\) in \([s_i, e_i)\), each to the next business day \(d^+\) (or to \(e_i\) for the last):

\[\Phi_i = \prod_{d} \big(1 + \rho_d\, \delta(d, d^+)\big), \qquad \rho_d = \begin{cases} r_d & d \le d_c, \\ r_{d_c} & d > d_c . \end{cases}\]
(6.3)

Here \(d_c\) is the Rate Cut-off Date (2006 Definitions, Section 6.2(d)): the business day \(c\) business days before the period end, for a rate cut-off of \(c\) business days; the days after it reuse its rate. With no cut-off (\(c = 0\)) every day uses its own rate. A cut-off of 1 makes the last business day the cut-off date, so nothing changes; a cut-off of 2 freezes the last day at the previous day's rate. This matches market systems, where USD SOFR swaps default to a rate cut-off of 1 and 0 is not accepted: with a cut-off of 1 the cut-off date is the last day observed, so no rate is frozen. A projected cut-off rate is the one-day forward rate \(\big(\hat P(d_c)/\hat P(d_c^+) - 1\big)/\delta(d_c, d_c^+)\), and the telescoping below then applies up to \(d_c^+\) only.

Projection. Overnight rates are projected on the index's projection curve \(\hat P\); for single-curve SOFR it is the discount curve itself. For a period that starts on or after the valuation date, the product telescopes: with no lookback, each projected daily factor is \(\hat P(d)/\hat P(d^+)\), and the product of these ratios collapses to

\[\Phi_i = \frac{\hat P(s_i)}{\hat P(e_i)} .\]
(6.4)

Seasoned periods. For a period that started before the valuation date, the published fixings compound day by day up to the first business day \(d_u \ge v\), and the rest telescopes:

\[\Phi_i = \prod_{d < d_u} \big(1 + r_d\, \delta(d, d^+)\big) \times \frac{\hat P(d_u)}{\hat P(e_i)} ,\]
(6.5)

and if \(d_u \ge e_i\) the whole period is fixed. A missing fixing before the valuation date is an error.

A start that is not a fixing day. When the accrual calendar differs from the fixing calendar, a period can start on a day that has no fixing (for example Friday 3-Jul-2026, a Federal Reserve business day on which SIFMA is closed). The days from the start to the first fixing day then accrue at the rate of the preceding fixing day, so every calendar day of the period accrues once.

Present value. With the floating leg's value before its direction \(F = \sum_i N_i\,(\Phi_i - 1 + s_i\,\delta(s_i, e_i))\, P(p_i)\), discounted on the discount curve, the value to the holder, in the swap's currency, is the sum of the legs, each signed by its direction:

\[V = \sigma_{\text{fix}}\, V_{\text{fix}} + \sigma_{\text{flt}}\, F = N \big(K \mathcal{A}' - F'\big) \quad \text{for a constant swap},\]
(6.6)

where \(\mathcal{A}'\) and \(F'\) are the sums per unit of notional. The sign convention (Section 8.3) is kept: with a negative notional (pay fixed) the fixed leg is negative and the floating leg positive, and the reverse with a positive notional. No pay/receive flag is needed on the trade; each leg carries its direction.

Par rate. The flat fixed rate that gives the swap a value of zero, the same for either direction and well defined for an amortising notional:

\[K^{\text{par}} = \frac{F}{\mathcal{A}} .\]
(6.7)

Par spread. With a rate schedule, no single rate is "the" fixed rate; the quoted quantity is the amount added to every fixed rate that zeroes the swap:

\[s^{\text{par}} = \frac{F - V_{\text{fix}}}{\mathcal{A}} ,\]
(6.8)

which is \(K^{\text{par}} - K\) for a constant swap.

All of these are written once, generic over the number type (Section 5.2), so the same code gives values, AAD sensitivities to the curve and the calibration Jacobian of Chapter 7. Through a market context (Section 8.7) the swap finds the discount curve of its currency, and the projection curve and fixings of its index.

6.7 Worked examples

Two-year USD-SOFR-OIS traded Wednesday 14-Oct-2026. Spot is Friday 16-Oct-2026 (Equation (6.1)); the end date is 16-Oct-2028. Counting back a year gives 16-Oct-2027, a Saturday, so the first period ends Monday 18-Oct-2027.

Period Start End Fixed accrual Payment
1 16-Oct-2026 18-Oct-2027 367/360 20-Oct-2027
2 18-Oct-2027 16-Oct-2028 364/360 18-Oct-2028

Three-month swap. The same trade date and a 3M tenor end on 16-Jan-2027, a Saturday, then Monday 18-Jan-2027 is Martin Luther King Jr. Day, so the single period ends Tuesday 19-Jan-2027.

Flat curve. On a curve with a flat 4% continuously compounded zero rate, the tests recompute Equation (6.2) to Equation (6.7) independently for a five-year swap.

6.8 Lookback and observation shift

Loans and floating-rate notes on an overnight rate pay interest compounded in arrears, like an OIS, but the borrower must know the amount a few days before it is due. Their documents therefore use a lookback of \(L\) business days of the fixing calendar \(C\) (often \(L = 5\)): each day reads the rate published \(L\) business days earlier. Swaps keep \(L = 0\), and with \(L = 0\) everything in this section reduces to Section 6.6.

Observation date. The day \(d\) of a period reads the rate of its observation date

\[o(d) = \text{the } L\text{-th business day of } C \text{ before } \bar d ,\]
(6.9)

where \(\bar d = d\) when \(d\) is a business day of \(C\) and the business day before it otherwise (as for a period start in Section 6.6). The observation period of period \(i\) is the period moved back in the same way:

\[[s_i', e_i') = \big[\, \text{the } L\text{-th business day before } s_i ,\; \text{the } L\text{-th business day before } e_i \,\big) .\]
(6.10)

Without observation shift the period's days read their rates from \(o(s_i)\) on, so the observation period starts there instead: the two starts differ only when \(s_i\) is not a business day of \(C\) (a period starting on a holiday reads the rate before it).

There are two ways to use them, chosen per trade.

Without observation shift (also called a lag): each business day \(d\) of the period \([s_i, e_i)\) keeps its own weight \(\delta(d, d^+)\) and uses the rate of its observation date:

\[\Phi_i = \prod_{d \in [s_i, e_i)} \big(1 + r_{o(d)}\, \delta(d, d^+)\big), \qquad \text{paying } N_i\,(\Phi_i - 1 + s_i\,\delta_i) .\]
(6.11)

In words: the days are those of the interest period, the rates those of \(L\) business days before. Because a day's weight and the length of the day its rate is for can differ (a Friday rate read by a Thursday, for example), the projected factors no longer telescope: each day \(d\) with \(o(d) \ge v\) is projected on its own as \(1 + \hat F(o(d))\,\delta(d, d^+)\), with the one-day forward rate \(\hat F(o) = \big(\hat P(o)/\hat P(o^+) - 1\big)/\delta(o, o^+)\). A day whose observation date is before the valuation date uses the published rate, and a missing one is an error naming that date.

With observation shift: the period compounds over its observation period, days and weights alike, exactly as Equation (6.3) to Equation (6.5) do over \([s_i', e_i')\), so the projected part telescopes again. The compounded rate of the observation period, \(R_i = (\Phi_i' - 1)/\delta(s_i', e_i')\), is paid over the interest period:

\[\text{coupon}_i = N_i \big(R_i + s_i\big)\, \delta_i = N_i \Big(\frac{\delta_i}{\delta(s_i', e_i')}\,(\Phi_i' - 1) + s_i\,\delta_i\Big) .\]
(6.12)

Cost. Without observation shift, every projected day reads its own one-day forward, so a 10-year quarterly loan reads about 2,500 forwards per valuation (and records as many on an AAD tape), against about 40 telescoped periods with observation shift or without a lookback. The shifted variant is the cheap one; the lagged one is exact for documents that ask for it, and its cost grows with the number of days.

With observation shift, a short period that holds no business day of \(C\) (a weekend stub) can move onto an empty observation period, which has no rate to compound; such a leg is refused.

Rate cut-off. A lookback already makes the rate known before payment, so a lookback is not combined with a rate cut-off of more than one day; such a leg is refused.

Fixings needed and when an amount is known. The earliest fixing a leg with a lookback reads is the observation date of its first day, \(L\) business days before its start, so the fixings a market must hold start there (Section 20.6). A period's amount is known (its cash flow is fixed, Section 20.2) once the observation date of its last business day is before the valuation date, that is, \(L\) business days before the period ends.

Caps and floors. A caplet on a period with a lookback reads the rates of its observation period, so its variance time (Equation (13.7)) runs over \([s_i', e_i')\). Once the last rate it reads is published, its payoff is known and its variance is zero, even when \(e_i'\) is still ahead (a period whose last observation day is a Friday, valued on the Saturday). The Hull-White swaption pricer (Section 16.9) represents floating coupons over their accrual periods and so refuses a floating leg with a lookback; swaptions on the shipped conventions have none.

Timing. A rate observed \(L\) business days early and paid \(\text{lag}\) days after the period ends is paid later than its natural date, which in principle calls for a small negative timing adjustment. Up to ten business days in all it is below 0.4 bp a period at ten years and is not made; a period still to be projected with a longer gap is refused (Section 22.6).

Example. For a quarterly SOFR period from Friday 16-Oct-2026 to Friday 15-Jan-2027 with \(L = 5\), the first day reads Thursday 8-Oct-2026 (Monday 12-Oct-2026, Columbus Day, is not a SIFMA business day), and the last business day, Thursday 14-Jan-2027, reads Thursday 7-Jan-2027: from 8-Jan-2027 the amount is known, a week before the period ends.

Reconnecting Connection paused Could not reconnect Could not resume Session expired

The connection to the server was lost. Trying to restore it. Next attempt in 0s. The connection was paused. It will resume on its own. The server did not answer. Your work is still here. The paused session could not be resumed. The server could not restore this session. Reloading will start a new one.

An unhandled error has occurred. Reload 🗙