ThirdMomentQuantX

Chapter 22

Convexity and timing adjustments

Contents
  1. 22.1 Notation
  2. 22.2 In-arrears fixing
  3. 22.3 The timing adjustment
  4. 22.4 Variance from the caplet smile
  5. 22.5 Exposure simulation
  6. 22.6 Compounded overnight rates
  7. 22.7 CMS rates
  8. 22.8 Worked example
  9. References

A floating rate is a fair expectation only for one payment date: the date its deposit, or its observation period, naturally pays. Paid on another date, its expected value changes, because the rate and the discount factor to the payment move together. This chapter defines when the library adjusts a projected rate for that effect (the timing, or convexity, adjustment), how it computes the adjustment from the market's caplet smile, and why it leaves the adjustment out for the other cases where payment and natural date differ by a few days.

The chapter covers term-rate legs fixed in arrears (Section 22.2 to Section 22.5), compounded overnight rates with a lookback (Section 22.6) and constant-maturity swap rates (Section 22.7). Nothing in it is taken from an existing implementation; the change of numeraire argument is that of Geman et al. (1995), the in-arrears case is the textbook one (Brigo and Mercurio, 2006, ch. 13), and the replication of a payoff from options across strikes follows Carr and Madan (2001) and Hagan ().

22.1 Notation

Symbol Meaning
\(v\) The valuation date; curve times \(t(\cdot)\) are measured from it (Chapter 7)
\(S_i, E_i\) The adjusted start and end of period \(i\)
\(p_i\) The payment date of period \(i\)
\(f_i\) The fixing date of period \(i\)
\(s'_i, e'_i\) The start (value date) and maturity of the deposit fixed on \(f_i\)
\(\delta'_i\) The accrual fraction of the deposit under the index's day count
\(L_i\) The rate fixed on \(f_i\), a random variable seen from today
\(F_i\) The forward rate of the deposit on the projection curve (Equation (10.4))
\(P(\cdot)\) The discount factor on the curve the leg is discounted on
\(\mathbb{Q}^{d}\) The \(d\)-forward measure: the measure under which prices divided by the zero-coupon bond paying at \(d\) are martingales
\(\sigma(t, K)\) The caplet volatility of the index for expiry time \(t\) and absolute strike \(K\) (Section 13.3)
\(c_i\) The timing adjustment of period \(i\)

22.2 In-arrears fixing

A term-rate leg normally fixes in advance: period \(i\) fixes on the index's fixing date for its start, \(f_i = \operatorname{fix}(S_i)\) with Equation (10.1), so the deposit \([s'_i, e'_i)\) runs roughly over the period and is paid at its end. A leg fixed in arrears fixes each period on the fixing date for its end:

\[f_i = \operatorname{fix}(E_i), \qquad s'_i = \operatorname{value}(f_i), \qquad e'_i = \operatorname{maturity}(s'_i),\]
(22.1)

with the value date and maturity of Equation (10.2). The deposit therefore starts about when the period ends, and is the same deposit as the in-advance fixing of a period starting on \(E_i\). The accrual fraction of the payment stays the period's own, \(\delta_i\); only the rate changes. A leg says which of the two it is (FixingTiming), and a schedule builds either.

Everything else about the leg is unchanged: a fixing dated before the valuation date must be published, one on the valuation date is used when published, and a known fixing is never adjusted (Section 10.4).

22.3 The timing adjustment

Why a rate paid early is worth more. The forward \(F_i\) is the expected value of \(L_i\) under \(\mathbb{Q}^{e'_i}\), the measure of a payment at the deposit's maturity: that is what makes a deposit paid at \(e'_i\) worth \(\delta'_i F_i P(e'_i)\). Paid at \(p_i\), the leg is worth \(\delta_i\, \mathbb{E}^{\mathbb{Q}^{p_i}}[L_i]\, P(p_i)\), and the two measures differ by the ratio of the bonds paying at \(p_i\) and \(e'_i\):

\[\mathbb{E}^{\mathbb{Q}^{p}}[L] = \frac{\mathbb{E}^{\mathbb{Q}^{e'}}\!\left[L\, R(f)\right]}{R_0}, \qquad R(f) = \frac{P(f, p)}{P(f, e')}, \qquad R_0 = \frac{P(p)}{P(e')} .\]

When rates rise, \(L\) rises and so does \(R\) (for \(p < e'\)): high rates are paid in states where money is worth more at \(p\) than at \(e'\), so the expectation rises. In words: receiving a rate early is a bet that pays most when its own discounting hurts least.

The linear terminal model. The bond ratio at the fixing is taken to be affine in the rate:

\[R(f) = R_0 + \beta\,(L - F), \qquad \beta = \delta' \, \frac{t(e') - t(p)}{t(e') - t(s')} .\]
(22.2)

This is the ratio \(1 + \beta D\) of a simple discount rate \(D\) over the part of the deposit between payment and maturity, with \(D\) moving one for one with \(L\): the projection and discount curves differ by a deterministic basis. On one curve and with \(p = s'\), \(R = 1 + \delta' L\) exactly. Substituting, the expectation is exact in the model:

\[c = \mathbb{E}^{\mathbb{Q}^{p}}[L] - F = \frac{\beta}{R_0}\, \operatorname{Var}^{\mathbb{Q}^{e'}}\!\big[L(f)\big] .\]
(22.3)

The rate projected for an unsettled in-arrears period whose fixing is not known is then \(F_i + c_i\), and the leg is valued by Equation (10.5) with that rate. On one curve, paid at the deposit's start with a normal volatility \(\sigma\), Equation (22.3) is the textbook in-arrears adjustment \(\delta'\sigma^2 t(f)/(1 + \delta' F)\).

Size. With a normal volatility of 100 bp and a 3M index (\(\beta \approx 0.25\)), \(c \approx 0.25 \times 10^{-4}\, t(f)\): 0.25 bp for a fixing in one year, 1.25 bp in five, 2.5 bp in ten and 7.5 bp in thirty. That is material, so a leg fixed in arrears is always adjusted.

Edge cases. A fixing time of zero or less (a fixing today not yet published) has no variance left and no adjustment. A payment on the deposit's maturity has \(\beta = 0\). A payment after the maturity has \(\beta < 0\): the adjustment is negative. The adjustment uses the leg's discount curve, so it follows the collateral the leg is discounted under (Section 11.2).

Legs fixed in advance are not adjusted. On a leg fixed in advance, \(p_i\) and \(e'_i\) differ by a payment lag, a business-day adjustment or a stub: a few days, so \(|\beta| \le 0.01\) and \(|c| < 0.1\) bp at ten years at 100 bp of volatility. The swaps the curves are calibrated to are priced the same way, so the curve absorbs the difference; adjusting would make every swap curve depend on volatilities and move every existing price.

Options are not adjusted. A cap, a floor or a swaption on a leg fixed in arrears needs the distribution of the rate under \(\mathbb{Q}^{p}\), not only its mean, and is refused for now. FRAs need no adjustment: their payment at the period start is discounted at the fixed rate itself (Section 10.7), which makes the payoff at the start worth exactly the payoff at the end.

22.4 Variance from the caplet smile

The caplet volatilities of an index price options on \(L\) paid at the period end, which is the deposit's maturity up to the few days of the previous section: they describe the law of \(L\) under \(\mathbb{Q}^{e'}\). The variance follows from them by static replication. For any split strike \(K_0\), \((L - K_0)^2 = 2\int_{K_0}^{\infty} (L - K)^+\, dK + 2\int_{-\infty}^{K_0} (K - L)^+\, dK\), because the function and its slope vanish at \(K_0\); taking expectations,

\[\mathbb{E}\big[(L - K_0)^2\big] = 2\int_{l}^{K_0} \mathrm{Put}(K)\, dK + 2\int_{K_0}^{\infty} \mathrm{Call}(K)\, dK ,\]
(22.4)
\[\operatorname{Var}\big[L(f)\big] = \mathbb{E}\big[(L - K_0)^2\big] - (F - K_0)^2 ,\]
(22.5)

with undiscounted option prices of expiry \(t(f)\) from Equation (13.3) (normal smile, \(l = -\infty\)) or Equation (13.4) (shifted lognormal smile with shift \(s\), \(l = -s\)), each at its own volatility \(\sigma(t(f), K)\) read as in Section 13.3: linear in strike, flat beyond the grid, linear in total variance between expiries. The volatility is read at the fixing time \(t(f)\), as a caplet on the same fixing reads it (Equation (13.6)). In words: the variance is twice the total value of the out-of-the-money options across all strikes.

A flat smile gives back the closed forms: \(\sigma^2 t\) for a normal smile and \((F + s)^2(e^{\sigma^2 t} - 1)\) for a shifted lognormal one. A smile above the money in the wings gives more variance than the at-the-money volatility, which is why the library replicates rather than reading one volatility.

Quadrature. The library takes \(K_0\) at the value of \(F\), so that no decision depends on a number being differentiated; the identity holds for any \(K_0\), so the sensitivities to \(F\) and to every volatility node are exact. The integrals run over \(K_0 \pm 8\,\sigma_{\max}\sqrt{t}\) for a normal smile, \(\sigma_{\max}\) being the largest volatility of the smile at that expiry; a shifted lognormal smile is integrated in log-moneyness \(x = \ln\frac{K + s}{K_0 + s}\) with \(dK = (K + s)\,dx\), from \(-8\,\sigma_{\max}\sqrt t\) to \(8\,\sigma_{\max}\sqrt t + 2\sigma_{\max}^2 t\), because the second moment weighs the upper tail by \((K + s)^2\). Each side is cut at the grid's strikes, where the interpolated volatility has a kink, and integrated by Gauss-Legendre quadrature (Abramowitz and Stegun (1964), §25.4.29) with 8 nodes on each of about 16 panels. For a smile whose wings fall away, beyond eight standard deviations the option prices are negligible; the flat-smile closed forms are reproduced to \(10^{-10}\) relative (normal) and \(10^{-9}\) (shifted lognormal at \(\sigma\sqrt t = 1.8\)), and two skewed smiles to \(10^{-6}\) and \(10^{-7}\) of a fine trapezoidal integration.

Lowest strike. A SABR cube with \(\beta > 0\) keeps the rate above minus its shift \(s\) (Section 13.8), where it gives no volatility; put prices struck there are zero in the model, so the lower integral starts at \(l = -s\) whenever \(K_0 - 8\sigma_{\max}\sqrt t\) is below it.

Moving ends. The ends of the range depend on the forward and on the smile through \(\sigma_{\max}\). The integral is evaluated on the values, and Leibniz's rule adds the terms \(\mathrm{Call}(K_{\text{hi}})\,dK_{\text{hi}} - \mathrm{Put}(K_{\text{lo}})\,dK_{\text{lo}}\), worth zero but carrying the derivatives of the ends (\(dK_{\text{lo}} = 0\) when the lowest strike sets it), so that AAD sensitivities equal bumping and repricing with the range recomputed.

Wing share. The share of the integral (so of the adjustment, which is proportional to it) from strikes more than \(3\sigma_{\max}\sqrt t\) from \(K_0\) is reported on each projected CMS cash flow, computed on the values. A SABR smile's right wing does not fall away fast enough for the integral to settle: for a ten-year rate fixing in three years on a calibrated USD cube the adjustment is 13.03 bp at eight standard deviations, 13.16 bp at sixteen and 13.35 bp at thirty-two, with a wing share of 2% to 4%. The library keeps eight standard deviations and reports the share, so a period whose adjustment comes from the far wings is visible. The truncation is part of the model, not a numerical setting: part of the vega of a long-dated CMS rate is the cut-off \(K_0 + 8\sigma_{\max}\sqrt t\) moving with \(\sigma_{\max}\), which the moving-end terms above carry.

Missing volatilities. An in-arrears leg needs its index's caplet volatilities in the market and is never valued without them; a market that has none for the index may name another index's grid as a proxy (Section 21.4). The swap lists the volatilities among its market dependencies, so the risk engine records their nodes and reports vega.

22.5 Exposure simulation

On a simulated path (Section 16.5) a period fixed between today and the exposure date reads its fixing from the path and takes no adjustment. A period still projected at exposure date \(u\) adds today's adjustment scaled by the fixing time left:

\[c_i(u) = c_i(v)\, \frac{t(f_i) - t(u)}{t(f_i)} .\]
(22.6)

This is exact for a flat normal volatility, \(F\) and \(R_0\) held at today's values; on a path both move, so Equation (22.6) is an approximation of second order for exposures. The exact alternative, recomputing Equation (22.3) with the path's curves and the remaining variance, is left for when exposures of in-arrears trades need it.

22.6 Compounded overnight rates

A rate compounded over the observation period \([S - \ell, E - \ell)\) of a leg with a lookback of \(\ell\) business days (Section 6.8, with or without observation shift) is the rate of a deposit maturing at \(E - \ell\), and is a martingale under that date's forward measure. It is paid at \(p = E + \text{lag}\), later than its natural date by

\[g = \ell + \text{lag} + (c - 1)^+ \quad\text{business days},\]
(22.7)

with \(c\) the rate cut-off (Section 6.6), which freezes the last \(c - 1\) rates earlier (none for loans, \(c = 1\) for swaps); so Equation (22.3) applies with \(\beta \approx -g\) in years (the adjustment is negative: paid late) and the variance of a backward-looking rate, about \(\sigma^2\big(t(S - \ell) + \tau/3\big)\) for a period of length \(\tau\) (Equation (13.7)). With 100 bp of normal volatility:

Lookback + lag \(c\) at 10 years \(c\) at 30 years
2 (SOFR OIS, lag 2) 0.08 bp 0.23 bp
5 (loan default) 0.19 bp 0.57 bp
10 0.38 bp 1.1 bp
21 (one month) 0.79 bp 2.4 bp
63 (three months) 2.4 bp 7.2 bp

Table 22.1. Timing adjustment of a quarterly compounded rate paid late.

Up to ten business days the adjustment is below 0.4 bp a period at ten years (1.2 bp at thirty), the OIS quotes the curves are calibrated to carry the same timing, and market practice leaves it out: the library does not adjust. Summed over a ten-year quarterly loan with a five-day lookback, it is worth about 1 bp of notional upfront. Above ten business days the adjustment is of the size of an in-arrears IBOR one, and a period still to be projected is refused with a message rather than mispriced; no product the library ships has such a gap. A period whose every rate is published, or one valued for its accrued interest only, needs no adjustment and is never refused.

22.7 CMS rates

A constant-maturity swap (CMS) leg pays on each period \(N\delta(S + s)\), with \(S\) the par rate of a swap of fixed tenor \(m\) (for example ten years) traded on the fixing date under a swap convention, and \(s\) a spread. The swap index is a swaption convention and a tenor: the convention names the swap convention, its spot lag and calendar, and the index whose swaption volatilities describe the rate. A CMS period fixes the swaption convention's spot lag before its start (in advance) or its end (in arrears), on the swap starting at that fixing's spot date. Its published rates are stored under the identifier <swap convention>-<tenor>, for example USD-SOFR-OIS-10Y, with the field Fixing like any index (Section 15.2); which published rate feeds it (for USD, an ICE Swap Rate) is a provider mapping for the user to set, never guessed.

Notation. \(A(t)\) is the annuity of the swap at time \(t\) (Equation (13.9)), \(S_0\) its forward rate and \(A_0\) its annuity today, \(T\) the fixing time, \(p\) the payment date, \(q\) the number of fixed periods a year and \(n = q\,m\) their number, \(\Delta\) the years from the swap's start to \(p\).

Measure. The swap rate is a martingale under the annuity measure \(\mathbb{Q}^{A}\), whose law the swaption smile gives (Section 13.6). Paid at \(p\), with \(\alpha = P(T,p)/A(T)\) and \(\alpha_0 = P(p)/A_0\),

\[\mathbb{E}^{\mathbb{Q}^{p}}[S] = \frac{\mathbb{E}^{\mathbb{Q}^{A}}[S\,\alpha(S)]}{\alpha_0}, \qquad \alpha(S) = \alpha_0 + b\,(S - S_0) .\]
(22.8)

This is the linear terminal swap rate model (Hagan, ): any slope \(b\) keeps \(\mathbb{E}^{A}[\alpha] = \alpha_0\), today's exact value.

Slope. \(b = \alpha_0\, \frac{d}{dS}\ln\alpha_f(S_0)\), from the idealised flat-yield ratio in which every bond is discounted at the swap rate itself:

\[\alpha_f(S) = \frac{(1 + S/q)^{-q\Delta}}{A_f(S)}, \quad A_f(S) = \sum_{k=1}^{n} \frac{1}{q}\left(1 + \frac{S}{q}\right)^{-k}, \quad \frac{d\ln\alpha_f}{dS} = \frac{1}{1 + S/q}\left(\frac{\sum_k \frac{k}{q} w_k}{\sum_k w_k} - \Delta\right),\]
(22.9)

with \(w_k = (1 + S/q)^{-k}\). The idealised annuity ignores the swap's exact day counts and stubs, which change the slope only slightly and keep it a closed form. In words: the slope is the swap's average payment time less the time to payment, a duration.

Adjustment. Substituting,

\[c = \mathbb{E}^{\mathbb{Q}^{p}}[S] - S_0 = \frac{d\ln\alpha_f}{dS}(S_0)\; \operatorname{Var}^{\mathbb{Q}^{A}}\big[S(T)\big] ,\]
(22.10)

the variance replicated from the swaption smile at expiry \(T\) and the swap's tenor exactly as in Equation (22.5), the panels cut at the quoted strike offsets of a quoted cube (or every 25 bp within 3% of the forward for a SABR cube). The leg's value before its direction is

\[V = \sum_{i:\, p_i > v} N_i \delta_i \big(S_{0,i} + c_i + s_i\big) P(p_i) ,\]
(22.11)

with a published rate in place of \(S_{0,i} + c_i\) once fixed.

Standard terms for the rate. \(S_0\), \(A_0\) and the smile are those of the swap index on its standard discounting, the currency's default collateral: the market will fix the same rate whatever the collateral of the trade. The leg's own discount curve gives only \(P(p_i)\), so the Standard CSA PV and the CSA PV of a CMS leg differ only by their discount factors.

Size. At 100 bp of normal volatility, a ten-year rate paid on its swap's start (in arrears) gains about 5 bp per year to fixing: about 50 bp at ten years (Section 22.8). Paid a year later (in advance), the slope is about one smaller.

22.7.1 CMS rate legs and gearing

A CMS rate leg is a single CMS leg traded on its own (CmsRateLeg): the swap index and tenor, the dates, a payment frequency chosen independently of the tenor (a ten-year rate paid quarterly), a signed notional (positive receives the coupons, negative pays them), a spread and a gearing \(g\), non-zero and possibly negative. Each period pays

\[N_i \delta_i \big(g\,(S_i + c_i) + s_i\big) ,\]
(22.12)

so the gearing multiplies the swap rate and its adjustment and the spread is added unadjusted: the payoff stays linear in \(S\), and Equation (22.11) holds with \(g\,(S_{0,i} + c_i) + s_i\) in place of \(S_{0,i} + c_i + s_i\). A geared rate is not floored: CMS floors and caps stay refused. The schedule terms not given (day count, business-day convention, calendar, payment lag, generation rule, end of month) are those of the fixed leg of the swap index's underlying swap convention, held by the trade once booked; the fixing date is not a term and follows the swap index. A CMS swap (#115) keeps \(g = 1\).

Example. With the ten-year rate of Section 22.8 (adjustment 49.8 bp), a gearing of 2 and a spread of \(-50\) bp, the period pays \(2 \times (S_0 + 0.498\%) - 0.50\%\): the adjustment counts 99.6 bp in the rate.

Cash-flow diagnostics. Each projected CMS cash flow carries \(g\,c_i\), the adjustment included in its rate, and the wing share of Section 22.4. The desktop cash flows table shows both as columns; it colours a wing share over 10% as a reading hint only, not a limit of the library.

Edges and limits. A rate fixing today without a published value has no variance left and no adjustment. Swaption volatilities are required (no proxy unless the market names one); a fixing before the valuation date must be published. CMS caps and floors, swaptions on swaps with a CMS leg, and the exposure simulation of CMS legs are refused for now.

22.8 Worked example

A 3M rate fixing in five years, \(t(f) = 5\), on a deposit of 92 days with \(\delta' = 92/360 = 0.25556\), paid at the deposit's start two days after the fixing. The projection curve has a flat continuously compounded rate of 5.5%, the discount curve 5%, and the caplet smile a flat normal volatility of 100 bp.

  • Forward: \(F = (e^{0.055 \times 92/365} - 1)/0.25556 = 5.4624\%\).
  • Bond ratio: \(R_0 = e^{0.05 \times 92/365} = 1.012682\).
  • Slope (Equation (22.2)): \(\beta = \delta' = 0.25556\), paid at the deposit's start.
  • Variance (Equation (22.5)): \(\sigma^2 t = 0.01^2 \times 5 = 0.0005\).
  • Adjustment (Equation (22.3)): \(c = 0.25556 \times 0.0005 / 1.012682 = 1.2618 \times 10^{-4}\), that is 1.26 bp.

The period pays \(F + c = 5.4750\%\) on its accrual instead of 5.4624%.

CMS. A ten-year swap rate with annual fixed payments, fixing in ten years and paid on the swap's start (\(\Delta = 0\)), at a flat swap rate of 4% and a flat normal swaption volatility of 100 bp:

  • Average payment time: \(\sum_k k\,w_k / \sum_k w_k = 5.1773\) years with \(w_k = 1.04^{-k}\).
  • Slope (Equation (22.9)): \(5.1773 / 1.04 = 4.9781\).
  • Variance: \(0.01^2 \times 10 = 0.001\).
  • Adjustment (Equation (22.10)): \(c = 4.9781 \times 0.001 = 0.0049781\), about 50 bp.

References

  • Milton Abramowitz and Irene A. Stegun (1964). Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. National Bureau of Standards.
  • Damiano Brigo and Fabio Mercurio (2006). Interest Rate Models: Theory and Practice. 2 edition. Springer.
  • Peter Carr and Dilip Madan (2001). Towards a Theory of Volatility Trading. Option Pricing, Interest Rates and Risk Management, 458–476. Edited by Elyes Jouini, Jakša Cvitanić, Marek Musiela. Cambridge University Press.
  • Hélyette Geman, Nicole El Karoui and Jean-Charles Rochet (1995). Changes of Numéraire, Changes of Probability Measure and Option Pricing. Journal of Applied Probability 32(2), 443–458.
  • Patrick S. Hagan. Convexity Conundrums: Pricing CMS Swaps, Caps, and Floors. Wilmott Magazine, 38–44.

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 🗙