ThirdMomentQuantX

Chapter 12

FX forwards and cross-currency swaps

Contents
  1. 12.1 Notation
  2. 12.2 FX forwards
  3. 12.3 FX forwards as calibration instruments
  4. 12.4 Notional exchanges
  5. 12.5 Cross-currency basis swaps
  6. 12.6 The SAR CSA curve
  7. 12.7 Mark-to-market resets
  8. 12.8 Assumptions and limits
  9. 12.9 Worked example
  10. References

A SAR swap collateralised in US dollars is discounted on the SAR curve under USD collateral, the SAR CSA curve of Section 11.2. That curve is not quoted directly: it is implied by what the market pays to exchange riyals against dollars in the future, through USD/SAR FX forwards at the short end and SAR against USD cross-currency basis swaps beyond. This chapter defines today's FX rate and the FX forward rate, the FX forward, the exchange of notionals on a leg, the cross-currency basis swap with a constant notional and its par basis spread, how the CSA curve is calibrated from them together with the SAR term curve, and the mark-to-market swap whose notional resets to the FX rate of each period.

12.1 Notation

Symbol Meaning
\(v\) The valuation date (the trade date of a calibration instrument)
\(b/q\) A currency pair: base currency \(b\), counter currency \(q\) (USD/SAR: \(b\) = USD, \(q\) = SAR)
\(s\) The spot date of the pair
\(T\) A delivery or payment date
\(t(d)\) The curve time of date \(d\), Actual/365 (Fixed) from \(v\) (Equation (7.1))
\(P_c(d)\) The discount factor to date \(d\) on the discount curve of currency \(c\) under the collateral of the trade
\(S\) The spot rate of \(b/q\): units of \(q\) per unit of \(b\), for exchange on \(s\)
\(X_0\) Today's rate of \(b/q\): units of \(q\) per unit of \(b\), for exchange on \(v\)
\(F(T)\) The forward rate of \(b/q\) for exchange on \(T\)
\(\pi\), \(\kappa\) The forward points and the points scale of the pair (10,000 for USD/SAR, 100 for JPY pairs; Section 8.8)
\(N\), \(K\) The signed base notional and the agreed rate of an FX forward
\(N_i\) The (positive) notional of period \(i\) of a leg
\(\sigma\) The direction of a leg: \(+1\) received, \(-1\) paid
\(\delta_i\), \(p_i\) The accrual and the payment date of period \(i\)
\(\beta\) A basis spread, added to the rate of every period of the spread leg
\(R\), \(r\) The constant notional of a resetting leg and its currency (the reference currency)
\(f_i\), \(X_i\) The FX fixing date of period \(i\) and the rate that resets its notional: units of the leg's currency per unit of \(r\)

12.2 FX forwards

Dates. The spot date \(s\) of a pair is a number of business days after the trade date, two by default and for USD/SAR, counted on the pair's counting calendar and moved to the next business day of the joint calendar of both currencies (Section 8.8; for USD/SAR the days are counted on Riyadh). The spot lag, the calendars and the points scale are those of the pair's convention (Section 8.8), taken from the reference data the forward is built with; a forward convention names only the two currencies. A forward of tenor \(m\) delivers on \(T = s + m\), adjusted Modified Following on the same calendar; for months and years, a spot date on the last business day of its month delivers on the last business day of the target month (the end-of-month rule, as in Equation (4.11)). For USD/SAR the calendar joins Riyadh (Saudi FX settlement) and New York (Federal Reserve).

Forward rate. One unit of \(b\) delivered on \(T\) is worth \(P_b(T)\) units of \(b\) today, which buy \(X_0 P_b(T)\) units of \(q\) today, the value today of \(X_0 P_b(T) / P_q(T)\) units of \(q\) delivered on \(T\). Exchanging at any other rate on \(T\) would create value from nothing, so the forward rate is

\[F(T) = X_0\, \frac{P_b(T)}{P_q(T)} .\]
(12.1)

This is covered interest parity, with each currency discounted under the collateral of the trade, USD unless agreed otherwise: for USD/SAR collateralised in USD, \(P_b\) is the USD SOFR curve and \(P_q\) the SAR CSA curve.

Today's rate and the spot rate. The market quotes the spot rate \(S\), for exchange on the spot date: \(S = F(s)\). Today's rate follows from Equation (12.1) at \(T = s\):

\[X_0 = S\, \frac{P_q(s)}{P_b(s)} .\]
(12.2)

In plain words: today's rate is the spot rate less the interest difference of the two currencies over the days to spot. Present values are amounts today, so they convert at today's rates (Section 8.6); a market context takes spot quotes and brings each to today with this equation (Equation (8.5)). With USD/SAR spot 3.754505 five days ahead and SAR 0.7% above USD, today's rate is 3.754145.

Outright rate from points. The market quotes forwards as points over spot; the outright forward rate is

\[F^{\text{mkt}}(T) = S + \frac{\pi}{\kappa} ,\]
(12.3)

so 27.50 points on a spot of 3.754505 give 3.757255.

Value. An FX forward of signed base notional \(N\) at the agreed rate \(K\) receives \(N\) units of \(b\) and pays \(N K\) units of \(q\) on \(T\) (a negative \(N\) reverses both). Each amount is discounted in its own currency:

\[V_b = N\, P_b(T), \qquad V_q = -N K\, P_q(T) ,\]
(12.4)

and the two are converted, if needed, only as a last step at today's rate: \(V^{(q)} = X_0 V_b + V_q = N P_q(T)\,(F(T) - K)\). A forward at the forward rate is worth nothing; once delivered (\(T \le v\)) it is worth nothing either.

12.3 FX forwards as calibration instruments

An FX forward of tenor \(m\) is a calibration instrument of the counter currency's CSA curve, quoted in points. Its points implied by the curves follow from Equation (12.1) and Equation (12.2):

\[\hat\pi = \kappa\, S \left( \frac{P_b(T)\, P_q(s)}{P_b(s)\, P_q(T)} - 1 \right) .\]
(12.5)

The spot rate \(S\) is the one the points were quoted against, a constant of the calibration: the curves carry no sensitivity to it, and FX delta comes from the FX rates of the market context only. A spot rate given with a settlement date must settle on the pair's spot date \(s\); one settling on another date is an error, never silently taken as spot. The instrument reads the discount curves of both currencies and places its node on its delivery date.

12.4 Notional exchanges

A leg may exchange its notional (ISDA 2006 Section 10.2, Initial and Final Exchange Amounts (International Swaps and Derivatives Association, 2006)): the holder of a received leg pays its notional on the leg's start date (the initial exchange) and receives it back on the leg's end date (the final exchange); the holder of a paid leg does the opposite. When the notional falls from one period to the next (amortisation), the final exchange also returns the difference on the start of the later period. For a leg with periods \([s_i, e_i)\) and notionals \(N_1, \dots, N_n\), the exchanges to the holder of the received leg are

\[-N_1 \text{ on } s_1 \ \text{(initial)}, \qquad N_{i-1} - N_i \text{ on } s_i,\ i \ge 2, \qquad +N_n \text{ on } e_n \ \text{(final)} ,\]
(12.6)

where the amortisation amounts belong to the final exchange. Exchanges are part of the leg and are discounted like its interest; those on or before the valuation date are settled:

\[V^{\text{ex}} = \sigma \sum_{\text{exchanges } (d, a),\ d > v} a\, P(d) .\]
(12.7)

With notionals 300, 200 and 200, a received leg with both exchanges pays 300 on its start, receives 100 on the start of its second period and 200 on its end.

12.5 Cross-currency basis swaps

A cross-currency basis swap exchanges a floating rate in one currency for a floating rate in another, with notional exchanges at the start and the end. The market quotes it by a basis spread on one leg, the spread leg. For SAR against USD:

  • the SAR leg pays 3M SAIBOR plus the basis spread, quarterly, Actual/360, with SAIBOR fixed two Riyadh business days before each period start;
  • the USD leg pays SOFR compounded daily, quarterly, Actual/360, with a rate cut-off of one business day (Section 6.6);
  • both legs start on the spot date, end the tenor later, are adjusted Modified Following on the joint Riyadh and New York calendar, and pay two business days after each period end; the spot lag and that calendar are the USD/SAR pair convention's (Section 8.8), so FX forwards and basis swaps share one spot date;
  • the USD notional is the SAR notional divided by the spot rate of the trade date, and both notionals are constant: the swap does not reset (it is not mark-to-market);
  • the swap is collateralised in USD.

A positive notional receives the spread leg and pays the other. The swap is valued as a swap of two legs, each in its own currency (Equation (10.6)), with its exchanges (Equation (12.7)).

Par basis spread. Adding \(\Delta\beta\) to every spread of the spread leg \(\ell\) changes its value by \(\sigma_\ell\, \Delta\beta\, A_\ell\), where

\[A_\ell = \sum_{i:\ p_i > v} N_i\, \delta_i\, P_c(p_i)\]
(12.8)

is the value of a spread of 1 on the leg, in its currency \(c\). The par spread is the amount that makes the swap worth nothing, every other leg converted into \(c\) at today's rate \(X_{c' \to c}\):

\[\Delta\beta^{\text{par}} = -\frac{V_c + \sum_{c' \ne c} X_{c' \to c}\, V_{c'}}{\sigma_\ell\, A_\ell} ,\]
(12.9)

with \(V_c\) the value in \(c\) of every leg in \(c\), exchanges included. For a swap with no spread, \(\Delta\beta^{\text{par}}\) is the par basis spread; for a swap with spread \(\beta\), the par spread is \(\beta + \Delta\beta^{\text{par}}\).

12.6 The SAR CSA curve

The SAR CSA curve under USD collateral is calibrated from USD/SAR FX forwards of 1M to 12M (Equation (12.5)) and SAR against USD basis swaps of 2Y to 10Y. As a calibration instrument, a basis swap is created with no spread, so that its implied quote is its par spread (Equation (12.9)). The USD leg is converted at today's rate implied by the spot rate \(S\) of the calibration (Equation (12.2)), here written with SAR as the currency of the spread leg:

\[X_{\text{USD} \to \text{SAR}} = S\, \frac{P_{\text{SAR}}(s)}{P_{\text{USD}}(s)} ,\]
(12.10)

so the calibration needs no FX rate in the market context, only \(S\).

An FX forward places its node on its delivery date and a basis swap on its end date or last payment, as the curve's node placement says. Two instruments of one curve must not place the same node: a 12M FX forward and a 1Y basis swap would collide, so the SAR curve uses forwards to 12M and basis swaps from 2Y, and a curve with overlapping instruments is rejected.

The basis swaps project 3M SAIBOR, whose curve is calibrated from SAR swaps discounted on the CSA curve: the two curves read each other and form one stage, solved jointly by Newton's method after USD SOFR (Section 11.4). Newton starts from a zero rate per node given by its instrument: the quote of a rate instrument, and 0 for FX points and basis spreads, which say nothing about the level of rates. The risk of a trade valued on these curves reaches every quote of the group through the stages (Section 11.5): SOFR OIS rates, FX points, basis spreads and SAR swap rates.

Quote units. FX forward points are quoted in points (\(\pi\), for example 131.28); basis spreads as decimals (\(-0.0010\) for \(-10\) bp), like rates.

The shipped SAR group. The library ships this group as SAR, with the conventions its instruments name:

Curve Role Instruments
USD-SOFR discounts USD, projects SOFR USD-SOFR-OIS at 32 tenors, 1W to 50Y
SAR-CSA-USD discounts SAR under USD collateral USD/SAR-FXF at 1M to 6M, 9M and 12M; SAR-SAIBOR-3M-USD-SOFR-XCCY at 2Y, 3Y, 5Y, 7Y, 10Y
SAR-SAIBOR-3M projects 3M SAIBOR the 3M deposit as SAR-SAIBOR-3M-FRA 0M (an FRA starting at spot); SAR-SAIBOR-3M-FRA 3x6 and 6x9; SAR-SAIBOR-3M-IRS at 1Y to 10Y and 15Y, discounted under USD collateral

USD/SAR-FXF settles T+2 on the joint Riyadh and New York Fed calendar, with points per 10,000. SAR-SAIBOR-3M-USD-SOFR-XCCY is the swap of Section 12.5: 3M SAIBOR quarterly plus the spread against SOFR compounded quarterly with a 1-day rate cut-off, spot T+2 and payment lag 2 on the same joint calendar, and notionals exchanged at the start and the end, never reset. The SAIBOR terms are in Section 10.8. The 15Y SAR swap is discounted on the CSA curve extrapolated beyond its last basis swap at 10Y, as the curve's style extrapolates. The quote field and curve style are inputs; the style is the same for the three curves and is monotone convex unless another is given. The tests calibrate the group on market quotes of 14-Oct-2026 and reprice every quote.

12.7 Mark-to-market resets

In a mark-to-market (resetting) cross-currency swap, one leg keeps a constant notional \(R\) in its currency \(r\), and the other leg's notional is reset at the start of each period to \(R\) converted at an FX fixing (ISDA 2006 Section 10, mark-to-market currency swaps (International Swaps and Derivatives Association, 2006)). The first period keeps the notional agreed at the trade's spot rate. For each later period \(i\), the FX index of the pair fixes on \(f_i\), its fixing lag (two days for USD/SAR) before the period start \(s_i\), on its calendar, and

\[N_i = R\, X_i .\]
(12.11)

\(X_i\) is the published fixing when \(f_i\) is before the valuation date (or on it, once published), inverted when the leg's currency is the base of the pair; otherwise it is the forward rate for exchange on the period start, from Equation (12.1) with today's rate and the two discount curves under the collateral of the trade:

\[X_i = X_0^{(r \to c)}\, \frac{P_r(s_i)}{P_c(s_i)} .\]
(12.12)

Fixings on the valuation date. All fixings of a leg follow one rule. A fixing dated before the valuation date must be given, and a missing one is an error. On the valuation date itself, the FX fixing here and the term-rate fixing of Section 10.4 are used when the caller passes them (a valuation after the fixing time) and projected otherwise. The overnight rate for the valuation date is always projected, because it is published the next day (Section 6.3).

Rates and basis are deterministic, so the forward needs no convexity correction. The leg is valued with these notionals: each period's interest, computed at the stated notional \(N^{\text{st}}_i\), is scaled by \(N_i / N^{\text{st}}_i\), and the exchanges of Equation (12.6) are taken at the reset notionals, so that each change of notional \(N_{i-1} - N_i\) is exchanged on \(s_i\) (the interim exchange):

\[V = \sigma \left( \sum_i \frac{N_i}{N^{\text{st}}_i}\, V^{\text{st}}_i + V^{\text{ex}}(N_1, \dots, N_n) \right) .\]
(12.13)

A spread on a resetting leg is paid on its reset notionals, so the annuity of Equation (12.8) uses them too. In the calibration of Section 12.6, the resets of a basis swap are projected at today's rate implied by the spot rate (Equation (12.10)). The USD/SAR basis swaps quoted by the market do not reset; the resets are tested on synthetic swaps and quotes.

12.8 Assumptions and limits

  • Interest rates and basis are deterministic: an FX forward and the exchanges of a non-resetting swap need no convexity correction.
  • The spot rate of a calibration is a constant: the calibrated curves carry no FX delta. FX delta comes from the FX quotes of the market context (Section 8.8).
  • The spread leg of a basis swap convention is a term-rate leg (SAR SAIBOR against USD SOFR) or an overnight compounded leg (€STR, SONIA or TONA against SOFR, Section 14.5), and the other leg an overnight compounded leg. A mark-to-market convention resets the other leg by default, or the spread leg.
  • An FX fixing is projected for exchange on the period start; a fixing whose value date differs from the period start is not modelled.
  • A leg that carries a basis spread is a term-rate or overnight leg; a fixed first leg is an error.
  • The spot date must not be before the valuation date, and an FX rate missing for a conversion or a calibration is an error, never 1.

12.9 Worked example

FX forward on flat curves. Valuation date 14-Oct-2026, spot date 19-Oct-2026 (\(t(s) = 5/365\)), delivery 19-Apr-2027 (\(t(T) = 187/365\)); USD discounted at a continuously compounded 4.2%, SAR under USD collateral at 4.9%; spot 3.754505.

  • Today's rate (Equation (12.2)): \(X_0 = 3.754505\, e^{-0.007 \times 5/365} = 3.754145\).
  • Forward rate (Equation (12.1)): \(F(T) = 3.754145\, e^{0.007 \times 187/365} = 3.767633\).
  • Points (Equation (12.5)): \(\hat\pi = 10{,}000 \times 3.754505\,(e^{0.007 \times 182/365} - 1) = 131.28\).
  • Buying USD 1,000,000 at \(K = F(T) - 0.01 = 3.757633\) (Equation (12.4)): \(V_{\text{USD}} = 978{,}712.05\) and \(V_{\text{SAR}} = -3{,}664{,}474.85\); at today's rate, \(V^{(\text{SAR})} = 9{,}752.08 = 1{,}000{,}000 \times 0.01 \times P_{\text{SAR}}(T)\).

The SAR build. The test data of CurveGroupDefinitionTests.Calibrate_SarGroup_SolvesCsaAndTermCurveJointly (synthetic quotes, valuation date 14-Oct-2026, spot 3.754505): USD SOFR from eight OIS; the SAR CSA curve from FX forwards of 1M to 12M (22.0 to 248.0 points) and basis swaps of 2Y to 10Y (\(-12\) to \(-5\) bp); a placeholder SAR 3M curve from SAR swaps of 1Y to 10Y (5.10% to 4.79%) discounted on the CSA curve. The stages are USD-SOFR, then the CSA and SAR 3M curves together. The spot date is Monday 19-Oct-2026: Thursday is open in both cities, Friday is a Riyadh weekend day and Sunday a New York one. Today's rate is 3.754155.

Date USD SOFR zero rate SAR CSA zero rate SAR 3M zero rate
19-Oct-2027 3.8988% 4.5575% 5.0531%
20-Oct-2031 3.4701% 4.5903% 4.6659%

A 4Y basis swap receiving SAR 3M \(-7\) bp on SAR 100,000,000 and paying SOFR on USD 26,634,668 (100,000,000 / 3.754505) has a par spread of \(-8.74\) bp and is worth SAR 64,222.59 to its holder, who receives 1.74 bp more than par. Its largest sensitivities, per basis point of each quote, are \(-13{,}934.25\) to the 3Y and \(-22{,}930.95\) to the 5Y basis spreads, the two quotes around its maturity; its sensitivities to the SAR swap rates (at most 180.67 per bp) and to the SOFR rates (at most 2.56 per bp) are small, since only the spread and the basis differ between its legs. Bumping each quote and recalibrating the whole group reproduces every sensitivity (CurveGroupDefinitionTests.RiskCalculator_SarGroup_MatchesBumpAndRecalibrate).

References

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

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 🗙