Sub topic 17
Pricing and Valuing an Interest Rate Swap
Assume you know present value, discount factors, spot rates, and basic bond pricing. This chapter also assumes a plain vanilla interest rate swap with periodic payments and no exchange of notional principal.
Pricing a plain vanilla interest rate swap
An interest rate swap exchanges interest payments on a notional principal amount. The notional is used to calculate payments but is usually not exchanged.
In a standard fixed-for-floating swap:
- The fixed-rate payer pays a fixed rate and receives the floating rate.
- The fixed-rate receiver receives the fixed rate and pays the floating rate.
- The notional principal is \(N\).
- The fixed rate is \(K\).
- The accrual fraction for period \(i\) is \(\alpha_i\).
- The discount factor for payment date \(Ti\) is \(P(0,Ti)\).
At initiation, the swap is priced so that its value is zero. The present value of the fixed leg must equal the present value of the floating leg.
For a standard swap with no initial exchange of principal:
\[ PV{\text{fixed}}=N K\sum{i=1}^{n}\alphaiP(0,Ti) \]
Under standard assumptions, the floating leg has value:
\[ PV{\text{floating}}=N[1-P(0,Tn)] \]
Setting these values equal gives the par fixed swap rate:
\[ K^*=\frac{1-P(0,Tn)} {\sum{i=1}^{n}\alphaiP(0,Ti)} \]
For annual payments, every \(\alpha_i=1\).
Worked pricing example
Suppose the discount factors for three annual payment dates are:
| Payment date | Discount factor |
|---|---|
| 1 year | 0.98 |
| 2 years | 0.95 |
| 3 years | 0.92 |
The par fixed rate is:
\[ K^*=\frac{1-0.92}{0.98+0.95+0.92} =\frac{0.08}{2.85} =0.028070 \]
The par swap rate is therefore approximately 2.807%.
def swap_fixed_rate(discount_factors):
"""Par fixed rate for an annual-pay swap with unit notional."""
return (1 - discount_factors[-1]) / sum(discount_factors)
discount_factors = [0.98, 0.95, 0.92]
rate = swap_fixed_rate(discount_factors)
print(f"{rate:.6%}")Valuing a swap after initiation
After initiation, market rates change. The swap's value is the difference between the present values of the two legs.
For the fixed-rate payer:
\[ V{\text{payer}}=PV{\text{floating}}-PV_{\text{fixed}} \]
For the fixed-rate receiver:
\[ V{\text{receiver}}=PV{\text{fixed}}-PV_{\text{floating}} \]
Suppose the original fixed rate was 3.000%, the notional was $1,000,000, and the discount factors remain those in the example.
\[ PV_{\text{floating}}=1{,}000{,}000(1-0.92)=80{,}000 \]
\[ PV_{\text{fixed}}=1{,}000{,}000(0.03)(2.85)=85{,}500 \]
Thus, the fixed-rate payer's value is:
\[ 80{,}000-85{,}500=-5{,}500 \]
The fixed-rate receiver's value is $5,500. A payer benefits when floating rates rise above the agreed fixed rate.
Exercise
A three-year annual-pay swap has discount factors 0.97, 0.93, and 0.88. What is its par fixed rate?
Show answer
The rate is (1 − 0.88) / (0.97 + 0.93 + 0.88) = 0.04317, or approximately 4.317%.