ThirdMomentQuantX

Chapter 4

Schedules

Contents
  1. 4.1 Notation
  2. 4.2 Terms and periods
  3. 4.3 Roll conventions
  4. 4.4 Backward and Forward generation
  5. 4.5 Explicit stubs
  6. 4.6 The FRN Convention
  7. 4.7 Business-day adjustment and payment dates
  8. 4.8 Validation
  9. 4.9 Explicit schedules
  10. 4.10 Worked examples
  11. References

A swap leg, a loan or a bond pays interest over a sequence of periods. A schedule turns the terms of the trade (start, end, frequency and a few conventions) into that sequence: the boundaries of each calculation period, before and after business-day adjustment, and the date on which each period's interest is paid. This chapter defines how the library generates schedules. It follows the 2006 ISDA Definitions, Sections 3.2, 3.3 and 4.9 to 4.13 (International Swaps and Derivatives Association, 2006), and the additions of the 2021 ISDA Interest Rate Derivatives Definitions (International Swaps and Derivatives Association, 2021). Dates, month shifts and tenors are those of Chapter 1; calendars and business-day conventions are those of Chapter 2.

4.1 Notation

Symbol Meaning
\(E\), \(T\) Effective Date and Termination Date: the first and last day of the term
\(F\), \(L\) Optional first regular date and next-to-last regular date
\(a\), \(b\) Start and end of the regular part of the schedule
\(p\) Months in one regular period (\(p = 12n\) for a period of \(n\) years)
\(M_k(d)\) The date \(k\) months after \(d\) (Equation (1.5))
\(\rho_k(d)\) The roll date \(k\) periods from the anchor \(d\)
\(\underline{d}\), \(\overline{d}\) The last roll date on or before \(d\); the first on or after \(d\)
\(u_0 < u_1 < \dots < u_n\) Unadjusted period boundaries
\(d_0 \le d_1 \le \dots \le d_n\) Adjusted period boundaries
\(P_i\) Payment date of period \(i\)
\(\mathrm{adj}_C^{c}(d)\) Date \(d\) adjusted with convention \(c\) on calendar \(C\) (Equation (2.4))
\(A^C_n(d)\) The \(n\)-th business day of \(C\) after \(d\) (Equation (2.5))
\(\mathrm{LBD}_C(y, m)\) The last business day of month \(m\) of year \(y\) in calendar \(C\)

4.2 Terms and periods

The term runs from the Effective Date \(E\) to the Termination Date \(T\), with \(E < T\). Neither is adjusted for business days unless the trade says so (2006 Definitions, Sections 3.2 and 3.3).

The schedule is a list of boundaries \(u_0 = E < u_1 < \dots < u_n = T\). Calculation period \(i\) (for \(i = 1, \dots, n\)) runs from \(u_{i-1}\), included, to \(u_i\), excluded (Section 4.13); the inner boundaries are the Period End Dates. A regular period has the length of the frequency; an irregular period, or stub, is shorter or longer. A schedule with the frequency Term has a single period, \([E, T)\).

The regular part of the schedule runs from \(a = F\) (or \(E\) when no first regular date is given) to \(b = L\) (or \(T\)). A first regular date \(F\) creates an initial stub \([E, F)\), and a next-to-last regular date \(L\) a final stub \([L, T)\) (Section 4.5).

4.3 Roll conventions

A roll convention fixes the day of the month of regular dates. Regular dates are always computed from a fixed anchor date \(d\), never step by step, because month shifts cannot always be undone (Section 1.4). The roll date \(k\) periods from the anchor (\(k\) may be negative) is:

  • Day of month:
\[\rho_k(d) = M_{kp}(d),\]
(4.1)

the anchor's day of the month, or the last day of a month without it. For a frequency in weeks or days, \(\rho_k(d) = d \oplus k\tau\) instead (Equation (1.6)).

  • End of month (2021 Definitions, Section 3.1.15: "the last calendar day of each month"):
\[\rho_k(d) = \text{the last day of the month of } M_{kp}(d).\]
(4.2)

The end-of-month roll is only allowed when the date the schedule is counted from is itself a month end: the last calendar day of its month, or the last business day of its month in the period end calendar. That date is the end of the regular part for Backward generation (the Termination Date, or \(L\)) and its start for Forward generation (the Effective Date, or \(F\)). A last business day stands for its month's last calendar day, so the other regular dates are calendar month ends.

  • IMM: the third Wednesday of the month of \(M_{kp}(d)\). An IMM date is a third Wednesday in March, June, September or December when \(p\) is a multiple of 3, and a third Wednesday of any month otherwise:
\[\rho_k(d) = W_3\big(M_{kp}(d)\big), \qquad W_3(y, m) = (y, m, 1) + \big((3 - w) \bmod 7\big) + 14,\]
(4.3)

where \(w\) is the weekday of \((y, m, 1)\), counted 0 for Sunday to 6 for Saturday. The 2006 Definitions (Section 4.17) refer to the Chicago Mercantile Exchange's delivery dates; for USD rates futures these are the third Wednesdays.

The anchor itself must be a roll date. With the day-of-month roll every date is one; with the other rolls the anchor is moved to the nearest roll date inside the regular part:

\[\underline{d} = \max\{\, r \text{ roll date} : r \le d \,\}, \qquad \overline{d} = \min\{\, r \text{ roll date} : r \ge d \,\},\]
(4.4)

with \(\underline{d} = \overline{d} = d\) for the day-of-month roll, and \(\underline{d} = \overline{d} =\) the last day of \(d\)'s month for the end-of-month roll (where \(d\) is a month end, as required above).

4.4 Backward and Forward generation

The generation rule decides from which end of the regular part dates are counted, and therefore where an irregular period falls when \([a, b]\) is not a whole number of periods.

Backward (the default, standard for USD swaps): dates are counted back from the end. The boundaries of the regular part are \(a\), the roll dates \(\rho_{-k}(\underline{b})\) for \(k = 0, 1, 2, \dots\) that are strictly between \(a\) and \(b\), and \(b\):

\[\{a\} \cup \{\, \rho_{-k}(\underline{b}) : k \ge 0,\ a < \rho_{-k}(\underline{b}) < b \,\} \cup \{b\} .\]
(4.5)

The leftover at the start, \([a, \text{first roll date})\), is a short initial stub, absent when \(a\) is itself a roll date of the sequence. With the IMM roll, \([\underline{b}, b)\) is also a short final stub when \(b\) is not an IMM date. With the end-of-month roll there is no such stub: \(b\) is a month end by Section 4.3, and a last business day stands for its month's last calendar day, so the period ending at \(b\) is regular even when \(\underline{b}\) falls after \(b\). Forward generation mirrors this at \(a\).

Forward: the mirror image, counted from the start:

\[\{a\} \cup \{\, \rho_{k}(\overline{a}) : k \ge 0,\ a < \rho_{k}(\overline{a}) < b \,\} \cup \{b\} .\]
(4.6)

The leftover at the end is a short final stub.

When both \(a\) and \(b\) are roll dates a whole number of periods apart, the two rules give the same schedule.

4.5 Explicit stubs

The trade may fix the stubs explicitly with a first regular date \(F\) and a next-to-last regular date \(L\), both optional, with \(E < F \le L < T\) when both are given. The boundaries are then

\[u = \{E\} \cup (\text{regular part on } [F, L]) \cup \{T\},\]

with an initial stub \([E, F)\) and a final stub \([L, T)\), each of which can be shorter or longer than a regular period (this is how a long stub is booked). The generation rule still applies to the regular part \([F, L]\). With the end-of-month or IMM roll, \(F\) and \(L\) must be roll dates.

4.6 The FRN Convention

The FRN Convention, also called the Eurodollar Convention (2006 Definitions, Section 4.11), is the third generation rule. It is common in the loan and floating-rate note markets. It works forward and on business days of the period end calendar \(C\). Starting from \(u_0 = a\), each next date is the day that numerically corresponds to the preceding date \(p\) months later:

\[u_{i+1} = \begin{cases} \mathrm{LBD}_C(y', m') & \text{if } q_i > L(y', m') \text{ or the rule (c) holds,} \\ \mathrm{adj}_C^{\mathrm{MF}}\big((y', m', q_i)\big) & \text{otherwise,} \end{cases}\]
(4.7)

where \((y', m')\) is the month \(p\) months after the month of \(u_i\), \(q_i\) is the day of the month of \(u_i\), and MF is Modified Following. In words, ISDA's three rules:

  • (a) when that day does not exist in the month, use the last business day of the month;
  • (b) when it is not a business day, use Modified Following;
  • (c) once a Period End Date is the last business day of its month, every later date is the last business day of its month.

Two consequences distinguish it from Modified Following with an end-of-month roll. The FRN Convention chains from the previous adjusted date, not from an anchor; and its end-of-month rule is triggered by the last business day and then sticks. Because Section 4.11 measures the first date from the Effective Date, the Effective Date plays the role of the preceding date: when it is the last business day of its month, rule (c) applies from the first Period End Date on. Generation stops at the first date in the month of \(b\) or later, and \(b\) ends the regular part, so that the Termination Date does not leave a stub of a day or two.

Because the FRN Convention fixes both the roll and the adjustment, it requires the day-of-month roll and Modified Following for Period End Dates (the defaults), and a calendar; any other choice is an error (Section 4.8). Its dates are business days already, so adjusting them again changes nothing.

4.7 Business-day adjustment and payment dates

Each boundary is adjusted with its own convention on the period end calendar \(C\):

\[d_0 = \mathrm{adj}_C^{c_E}(u_0), \qquad d_i = \mathrm{adj}_C^{c_P}(u_i) \ (0 < i < n), \qquad d_n = \mathrm{adj}_C^{c_T}(u_n),\]
(4.8)

where \(c_E\) and \(c_T\), the conventions of the Effective and Termination Dates, default to Unadjusted (Sections 3.2 and 3.3), and \(c_P\), the Period End Date convention, defaults to Modified Following (Section 4.10). The 2021 Definitions allow the Period End Dates to be adjusted independently of the Payment Dates, as here. Interest accrues over the adjusted periods \([d_{i-1}, d_i)\).

A stub of a day or two can become empty when both its ends adjust to the same business day (\(d_{i-1} = d_i\)). The empty period is dropped: the inner boundary is removed, so that the stub joins the neighbouring period, and the Effective and Termination Dates are kept.

The payment date of period \(i\) is its adjusted end, delayed by a payment lag of \(\ell\) business days of the payment calendar \(C'\), an integer that may be negative (the 2006 Definitions' "Delayed Payment" and "Early Payment", Sections 4.9(c) and 4.9(d)), then adjusted with the payment convention \(c_{\mathrm{pay}}\) (default Modified Following):

\[P_i = \mathrm{adj}_{C'}^{c_{\mathrm{pay}}}\big(A^{C'}_{\ell}(d_i)\big),\]
(4.9)

with \(A^{C'}_0(d) = d\); for \(\ell < 0\), \(A^{C'}_{\ell}\) counts business days backwards. USD SOFR OIS uses \(\ell = 2\).

Adding a tenor. Deposits and FRAs are not generated as schedules; their dates are rolled one tenor at a time from a start date. The last business day of the month of a date \(d\) in calendar \(C\) is

\[\mathrm{LBD}_C(d) = \mathrm{adj}_C^{\mathrm{Preceding}}\big(\mathrm{EOM}(d)\big),\]
(4.10)

where \(\mathrm{EOM}(d)\) is the last calendar day of the month of \(d\); the FRN Convention (Section 4.6) and the end-of-month roll use the same date. Adding a tenor \(\tau\) to \(d\) with convention \(c\) and end-of-month flag \(E\) gives

\[\mathrm{AddTenor}_C^{c, E}(d, \tau) = \begin{cases} \mathrm{LBD}_C(d + \tau) & E,\ \tau \text{ in months or years, and } d = \mathrm{LBD}_C(d), \\ \mathrm{adj}_C^{c}(d + \tau) & \text{otherwise}, \end{cases}\]
(4.11)

with \(d + \tau\) as in Section 1.5. In plain words: a date that is the last business day of its month rolls to the last business day of the target month; any other date rolls by the calendar and is then adjusted. On calendar EXA (Section 2.7) with Modified Following: 30-Oct-2026 (the last business day of October) plus 1M is 30-Nov-2026; 30-Nov-2026 plus 1M is 31-Dec-2026 with the rule and 30-Dec-2026 without it; 27-Nov-2026 plus 1M is 28-Dec-2026 (27-Dec is a Sunday); a tenor in days or weeks never uses the rule.

4.8 Validation

A schedule definition is checked when it is created, and is rejected when:

  • \(T \le E\);
  • \(F\) or \(L\) is not strictly between \(E\) and \(T\), or \(L < F\), or either is given with the frequency Term;
  • the end-of-month or IMM roll, or the FRN Convention, is used with a frequency in weeks or days;
  • the FRN Convention is combined with a roll other than day of month, or a Period End Date convention other than Modified Following, or has no period end calendar;
  • with the end-of-month roll, the date counted from (\(T\) or \(L\) for Backward, \(E\) or \(F\) for Forward) is not a month end (Section 4.3);
  • with the end-of-month or IMM roll, \(F\) or \(L\) is not a roll date;
  • a date is to be adjusted, or a payment lag applied, without the calendar it needs.

4.9 Explicit schedules

A schedule can also be written by hand: a list of adjusted period dates \(d_0 < d_1 < \dots < d_n\) and one payment date per period, \(P_1, \dots, P_n\), optionally with the unadjusted dates \(u_i\) (taken equal to \(d_i\) when not given) and a stub flag per period. The dates are taken as final: no roll convention, business-day adjustment or payment lag is applied, and the dates are not checked against any calendar. The library checks only that there is at least one period, that the adjusted and unadjusted dates are strictly increasing, and that the counts agree (one payment date and one stub flag per period). A hand-written schedule then feeds a leg exactly as a generated one does (Section 6.5).

4.10 Worked examples

Examples 2 to 8 are quarterly and unadjusted; the others use the U.S. government securities calendar (Section 2.9).

# Terms Boundaries
1 USD SOFR OIS leg: 2026-10-14 to 2028-10-14, annual, Backward, MF, Termination Date MF, payment lag 2 adjusted 2026-10-14, 2027-10-14, 2028-10-16; paid 2027-10-18, 2028-10-18
2 2026-01-15 to 2027-03-31, Backward 2026-01-15, 2026-03-31, 2026-06-30, 2026-09-30, 2026-12-31, 2027-03-31
3 Same, Forward 2026-01-15, 2026-04-15, 2026-07-15, 2026-10-15, 2027-01-15, 2027-03-31
4 Same, Backward, \(F\) = 2026-06-30 (long initial stub) 2026-01-15, 2026-06-30, 2026-09-30, 2026-12-31, 2027-03-31
5 Same, Forward, \(L\) = 2026-12-15 2026-01-15, 2026-04-15, 2026-07-15, 2026-10-15, 2026-12-15, 2027-03-31
6 2026-02-28 to 2026-08-31, Forward, end of month 2026-02-28, 2026-05-31, 2026-08-31
7 Same, Forward, day of month 2026-02-28, 2026-05-28, 2026-08-28, 2026-08-31
8 2026-03-18 to 2027-04-30, Backward, IMM 2026-03-18, 2026-06-17, 2026-09-16, 2026-12-16, 2027-03-17, 2027-04-30
9 2022-01-30 to 2023-01-31, quarterly, FRN Convention 2022-01-30, 2022-04-29, 2022-07-29, 2022-10-31, 2023-01-31
10 Same terms, Forward, MF 2022-01-30, 2022-04-29, 2022-07-29, 2022-10-31, 2023-01-30, 2023-01-31
11 1991-01-12 to 1991-10-13, quarterly, Backward, MF, Effective Date MF unadjusted 1991-01-12, 1991-04-13, 1991-07-13, 1991-10-13; adjusted 1991-01-14, 1991-04-15, 1991-07-15, 1991-10-13

Example 1. Counting back a year from 2028-10-14 gives 2027-10-14 and then 2026-10-14, which is the Effective Date: no stub. 2028-10-14 is a Saturday, so the Termination Date moves to Monday 2028-10-16. Two business days after Thursday 2027-10-14 is Monday 2027-10-18; two after 2028-10-16 is 2028-10-18.

Example 9. The first date numerically corresponds to 30 January in April: 2022-04-30 is a Saturday, and the following business day is in May, so rule (b) gives Friday 2022-04-29. That is the last business day of April, so rule (c) applies from then on: 2022-07-29 (the 30th and 31st are a weekend), 2022-10-31, and January 2023 is the Termination Date's month. Example 10 shows the difference with Modified Following from an anchor: the dates return to the 30th, and a one-day stub from 2023-01-30 to 2023-01-31 is left at the end.

Example 11. Counting back from 1991-10-13 gives 1991-01-13, a Sunday, one day after the Effective Date, a Saturday. Both adjust to Monday 1991-01-14, so the empty stub is dropped and the first period runs from 1991-01-14 to 1991-04-15.

References

  • International Swaps and Derivatives Association (2006). 2006 ISDA Definitions. ISDA publication.
  • International Swaps and Derivatives Association (2021). 2021 ISDA Interest Rate Derivatives Definitions. ISDA publication.

(International Swaps and Derivatives Association, 2006; International Swaps and Derivatives Association, 2021)

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 🗙