Constant Maturity Swaps and Short-Rate Models

Continuing Adjustments

Timing and quanto adjustments, we also looked at nonstandard swaps, LIBOR for LES? Another kind of nonstandard swap is…

Constant Maturity Swaps (CMS)

The definition of a CMS is

an interest rate swap where the floating rate equals the swap rate for another reference swap for a certain life

If you want to write an example, here you can say

floating payment on a CMS can be made every six months at rate equal to 5-year swap rate.

The frequency of this CMS rate must be smaller than the reference rate. Usually the swap rate is equal to a previously observed swap rate.

Furthermore, if we assume that we have reset dates 𝑡0,𝑡1,𝑡2…

And payment dates: 𝑡1,𝑡2,𝑡3…

We will also consider 𝐿 = notional principal

What is going to be the floating payment? At 𝑡𝑖+1, this would be the

swap rate 𝑠𝑖 applied to the principal for a period 𝜏𝑖

𝜏𝑖𝐿𝑠𝑖

where 𝜏𝑖=𝑡𝑖+1−𝑡𝑖

Now we have to do some adjustments. The convexity adjustment is, the frequency of these coupons is going to be the same as the bonds.

We will also have to do a timing adjustment, a combination of these two. If you apply these to another currency, then we will also have a quanto adjustment.

Let’s say 𝑦𝑖 is the forward value of the swap rate.

By using a convexity/timing adjustment.

We can say the realized swap rate is assumed:

𝑦𝑖−12𝑦𝑖2𝜎𝑦𝑖2𝑡𝑖𝐺𝑖″(𝑦)𝐺𝑖′(𝑦)−𝑦𝑖𝜏𝑖𝐹𝑖𝜌𝑖𝜎𝑦,𝑖𝜎𝐹,𝑖𝑡𝑖1+𝑇̄𝑖𝜏𝑖

where

𝜎𝑦,𝑖 is the volatility of the forward swap rate

𝐹𝑖 is the current forward interest rate between 𝑡𝑖 and 𝑡𝑖+1

𝜎𝐹,𝑖 is the volatility of the forward rate

𝐺𝑖(𝑥) this is basically the price of a bond which pays at time i, the same amount as the reference swap.

The forward rate will be implied by the “Kaplan?” prices.

𝜌𝑖 the correlation can be estimated from historical data.

Example

6 year CMS swap (life of swap is 6 years)

5 year swap rate is received, fixed rate of 5% is paid on notional $100M

exchange of payments is semiannual, on both 5-year underlying swap and on CMS swap.

The exchange rate on the payment date is determined from the swap rate on the previous payment date.

The term structure is flat at 5% per annum with semiannual compounding. (that’s where the timing adjustment comes in)

The volatility of the options on five-year swaps have 15% IV (𝜎𝑦,𝑖) and in this simplified problem we’ll say caplets with 6 month tenor have a 20% IV. The correlation 𝜌𝑖 between each cap rate and each swap rate is 0.7

The fixed rate 𝑦𝑖 is 0.05. This is semiannual payment, so 𝜏𝑖=0.5. Given volatility 𝜎𝐹,𝑖=0.20. Then the forward rate is also 𝐹𝑖=0.05 from the term structure, and the correlation given is 𝜌𝑖=0.7.

Then what is the relevant function G in this case?

We have the reference rate which is a 5 year swap rate, which has a semiannual payment.

We can express this as a bond, so a sum of coupons. The 2.5M is the coupon payment (halved

𝐺𝑖(𝑥)=∑𝑖=1102.51+𝑥2)𝑖+100(1+𝑥2)10

Then the derivative is

𝐺𝑖′(𝑦𝑖)=−437.603,𝐺𝑖″(𝑦𝑖)=2261.23

Then the total convexity/timing adjustment is, 0.0001197𝑡𝑖

We’re going to have different values, so for example the 5 year swap rate t = 4 should be assumed to be 5.0479% instead of 5%.

Therefore the net cash flow at t = 4.5 should be 0.5 * 0.000479 * 100M.

Then we can calculate for all these cash payments, the value of the CMS

Models of the Short Rate

There are different specifications of such models. The models presented so far in our previous discussions make the assumption that the probability distribution of variables (interest rates, bond prices, …) are log normally distributed. That allows us to use Black’s model.

There are some issues with this kind of approach.

  • These models do not provide a description on how the interest rates evolve in time, just the underlying distribution.
  • Cannot be used to value American style options.

In this lecture, we will discuss the “term structure model”. Such interest rate model will describe the evolution of all zero-coupon interest rates, a little more general.

We will focus on some classical models.

The behavior of the “short-rate” or instantaneous short rate. This rate is considered in a risk-neutral world. Basically, that means in a very short period of time, between t and 𝑡+Δ𝑡, investors earn 𝑟(𝑡)Δ𝑡, the risk-free interest rate.

For example, the dollar money market account is a security that is worth $1 at time 0 and earns the instantaneous risk-free rate r at any given time. This r may be stochastic.

Furthermore, if g equals the money market account, then the process 𝑑𝑔=𝑟𝑔𝑑𝑡. Here we can see that the r the risk-free rate can be stochastic, so this will be the drift of g being stochastic, with volatility being 0.

We saw last lecture that

𝑓𝑔 is a martingale in a world where the market price of risk is 0.

Therefore the expected value is

𝑓0=𝑔0𝔼̂[𝑓𝑇𝑔𝑇]

Then if you take g as the money market account, then by definition

𝑔0=1

And for 𝑔𝑇? You might expect the e^rt general, but because this is stochastic, we express this as

𝑔𝑇=𝑒∫0𝑇𝑟𝑑𝑡

Therefore, the expectation of f at T must be discounted

𝑓0=𝔼[𝑓𝑇𝑒−∫0𝑇𝑟𝑑𝑡]

You could also express this as

𝑓0=𝐸̂[𝑒−𝑟̄𝑇𝑓𝑇]

where 𝑟̄ is the average value of r.

Interest Rate Derivative Valuation

A regular way to value an interest rate derivative, typically these will follow these steps:

  1. Simulate short-term interest rate paths. (in some cases we will have closed-form solutions, but generally we simulate)
  2. Calculate expected payoff on these paths.
  3. Discount at average value of short rate on the sampled path.

In general, the value at time t of an interest rate derivative is based on providing a payoff 𝑓𝑇 at time T

𝔼̂[𝑓𝑇𝑒−𝑟̄(𝑇−𝑡)]

Basically you calculate the value of such derivatives between t and T.

Furthermore, if you refer back to 𝑃(𝑡,𝑇) for the price function at time t of a ZCB with payoff of $1 at time T, we can say that

𝑃(𝑡,𝑇)=𝔼̂[𝑒−𝑟̄(𝑇−𝑡)]

Now we will make connection to the interest rate.

Generally, if R(t, T) is continuously compounded interest rate at time t, for a term (T - t), then we can say

𝑃(𝑡,𝑇)=𝑒−𝑅(𝑡,𝑇)(𝑇−𝑡)

then we can rearrange as

𝑅(𝑡,𝑇)=−1𝑇−𝑡ln𝑃(𝑡,𝑇)

Then finally we will arrive at the relationship

𝑅(𝑡,𝑇)=−1𝑇−𝑡ln𝔼̂[𝑒−𝑟̄(𝑇−𝑡)]

This equation is what enables the calculation of the term structure of the interest rate at any given time.

Based on the description of the risk-free rate, which may be stochastic, can help you describe the entire curve.

All the models we discuss will be models of this short rate, there are some models of the instantaneous forward, but generally they will be instantaneously spot. These classical models give descriptions of stochastic processes that the short rate will have this particular expression.

And this is the zero curve

Equilibrium Models

Rendleman & Bartter, Vasicek, Cox Ingersoll & Ross

These models start with some assumptions about the economic variables, then the variable process from the short rate r. This will explore what the process for r implies about the bond prices and option prices. This model might be one factor, or two factor. We will look now just at one factor models.

In a one factor equilibrium model, the process for r involves only one source of uncertainty.

𝑑𝑟=𝑚(𝑟)𝑑𝑡+𝑠(𝑟)𝑑𝑊

This general specification, m(r) is the instantaneous drift, and s(r) is the instantaneous volatility (stdev).

For these models, m(r) and s(r) are assumed to be a function of r, but independent of time.

This is different from the no-arbitrage models.

Some of these models, historically, have been proposed. Some of them are not necessarily very good (lol).

Rendleman and Bartter

𝑑𝑟=𝜇𝑟𝑑𝑡+𝜎𝑟𝑑𝑊

Where 𝜇 and 𝜎 are constant, it basically means that r follows GBM.

But this is bad because r doesn’t follow GBM.

These interest rates have some mean-reverting behavior, so that has to be included somehow. When r is high, it will tend to have negative drift, and when it’s low, it will tend to have positive drift.

Economic argument, high r will cause the economy to slow down, less borrowing, and vice versa. These models can also be calibrated, will be discussed next time.

Vasicek

𝑑𝑟=𝑎(𝑏−𝑟)𝑡𝑑+𝜎𝑑𝑊

where a, b, σ are constants. Here we can see the mean reverting component. In the long-run, the value, when r is small, it will be a positive number and increase, and vice versa. a is the speed of mean reversion, b is the mean.

This model has an analytical solution. Vasicek shows that if

𝑃(𝑡,𝑇)=𝔼̂[𝑒−𝑟̄(𝑇−𝑡)]

then the price will be a function

𝑃(𝑡,𝑇)=𝐴(𝑡,𝑇)𝑒−𝐵(𝑡,𝑇)⋅𝑟(𝑡)

This is a general form for the analytical solution to the Vasicek model, where

𝐵(𝑡,𝑇)=1−𝑒−𝑎(𝑇−𝑡)𝑎𝐴(𝑡,𝑇)=exp{[𝐵(𝑡,𝑇)−𝑇+𝑡](𝑎2𝑏−𝜎22)𝑎2−𝜎2𝐵2(𝑡,𝑇)4𝑎}

Gives you more flexibility, it’s an alternative.

There’s one more alternative…

Cox-Ingersoll-Ross

𝑑𝑟=𝑎(𝑏−𝑟)𝑑𝑡+𝜎𝑟𝑑𝑊

Again a, b, σ constants.

What is the advantage of this model? You can look at the evolution of term structure over time. It’s observed that as the interest rate changes, the volatility also changes. Therefore the model should include this behavior.

The price function for CIR has the same general expression as Vasicek:

𝑃(𝑡,𝑇)=𝐴(𝑡,𝑇)𝑒−𝐵(𝑡,𝑇)𝑟(𝑡)

The functions are just slightly different. We will discuss the similarities and properties of these models.

𝐵(𝑡,𝑇)=2(𝑒𝛾(𝑇−𝑡)−1)(𝛾+𝑎)(𝑒𝛾(𝑇−𝑡)−1)+2𝛾𝐴(𝑡,𝑇)=[2𝛾𝑒(𝑎+𝛾)(𝑇−𝑡)/2(𝛾+𝑎)(𝑒𝛾(𝑇−𝑡)−1)+2𝛾]2𝑎𝑏/𝜎2

where

𝛾=𝑎2+2𝛾2

Basically, it has an analytical solution.

Properties of CIR vs Vasicek

A(t, T) and B(t, T) are different, but

P(t, T) is fundamentally the same general expression.

𝜕𝑃(𝑡,𝑇)𝑟(𝑡)=−𝐵(𝑡,𝑇)⋅𝑃(𝑡,𝑇)

This function B can be used therefore as an alternative to duration.

From the rate expression,

𝑅(𝑡,𝑇)=−1𝑇−𝑡ln𝑃(𝑡,𝑇)

The zero rate at time t for a period T - t is, if you take the natural log of this general AB expression, because it’s a product, you will get

𝑅(𝑡,𝑇)=−1𝑇−𝑡ln𝐴(𝑡,𝑇)+1𝑇−𝑡𝐵(𝑡,𝑇)𝑟(𝑡)

Here in this case, the entire term structure can be determined as a function of r(t) if a, b, σ are known.

Here we define the modified duration of a bond Q.

𝐷̂=𝐵(𝑡,𝑇)

The shape is going to be a function of r(t), and dependent on t.

The duration of such bond

Δ𝑄𝑄=−𝐷Δ𝑦

If you consider that the yield of a bond.

Alternatively, the duration by Vasicek & CIR is

Δ𝑄𝑄=−𝐷̂Δ𝑟

or

𝜕𝑄𝜕𝑟=−𝐷̂𝑄

Example

Let’s consider the zero-coupon bond lasting four years.

Duration s = 4, so 10bps parallel shift in the term structure should lead to decrease of 0.4% in the bond price, this is the sensitivity of the model. If we use Vasicek’s model, with a = 0.1, then

𝐷̂=𝐵(0,4)=1−𝑒−0.1⋅40.1=3.29

The duration is a function of the mean-reversion rate.

That means the short rate is 0.329%.

Can you calibrate a using the duration? Hmmmm.

Consider Q a portfolio of ZCBs (a coupon-bearing bond).

𝑃(𝑡,𝑇𝑖)(1≤𝑖≤𝑚)

𝑐𝑖 is the principal of the 𝑖th bond.

Then the duration of our portfolio is

𝐷̂=−1𝑄𝜕𝑄𝜕𝑟=−1𝑄∑𝑖−1𝑚𝜕𝑃(𝑡,𝑇𝑖)𝜕𝑟𝑐𝑖=∑𝑖=1𝑚𝑐𝑖𝑃(𝑡,𝑇𝑖)𝑄𝐷̂𝑖

Where we have 𝐷̂ for a coupon bearing bond being the weighted average of the duration of the underlying ZCBs.

Vasicek/CIR Pricing Example

Suppose we are given a = 0.1, b = 0.1. The initial short rate is 10%. The initial stdev of short rate change in a short time Δt is Δ𝑡

Then we will get one point in the term structure, but we can use code to get the entire term structure.

No-Arbitrage Model

These models are designed to be consistent with today’s term structure.

Even if it’s used as parameters, it may not be exact.

Equilibrium models generate today’s term structure.

No-arbitrage models use term structure (the observed rates in the market) as an input.

In equilibrium models, drift is not a function of time.

In no-arbitrage models, drift is a function of time.

We will look briefly at the Ho-Lee and Hull-White model.

Ho-Lee Model

𝑑𝑟=𝜃(𝑡)𝑑𝑡+𝜎𝑑𝑊

𝜎 is the instantaneous standard deviation of the short rate.

These parameters are defined so they fit the initial term structure.

𝜃(𝑡) can be calculated analytically. For the instantaneous forward rate 𝐹𝑡=𝜕𝐹𝜕𝑡.

𝜃(𝑡)=𝐹𝑡(0,𝑡)+𝜎2𝑡

As an approximation, you can take

𝜎(𝑡)≈𝐹𝑡(0,𝑡)

This is something kind of similar to what we observe before. The drift is no longer a constant, it is chosen to match the initial term structure.

However, the price of a zero coupon bond.

𝑃(𝑡,𝑇)=𝐴(𝑡,𝑇)𝑒−𝑟(𝑡)(𝑇−𝑡)

has the analytical solution (skipping derivations)

ln𝐴(𝑡,𝑇)=ln𝑃(0,𝑇)𝑃(0,𝑡)+(𝑇−𝑡)𝐹(0,𝑡)−12𝜎2𝑡(𝑇−𝑡)2

The advantage of this over previous models is that this will match our term structure. But it’s deficient in some components so it’s not so popular.

Assumes that all forward rates have the same stdev

Hull-White Model

𝑑𝑟=[𝜃(𝑡)−𝑎𝑟]𝑑𝑡+𝜎𝑑𝑊

or

𝑑𝑟=𝑎[𝜃(𝑡)𝑎−𝑟]𝑑𝑡+𝜎𝑑𝑊

a, σ are constant

This is the golden goose one factor model. It can be viewed as an extension of the Vasicek model that fits the term structure, with a time-dependent reversion level.

Or we can say that it’s similar to Ho-Lee with time-dependent reversion level.

𝜃(𝑡)=𝐹𝑡(0,𝑡)+𝑎𝐹(0,𝑡)+𝜎22𝑎(1−𝑒−2𝑎𝑡)

That last term is small, so we can approximate it.

We can say that r follows the slope of the initial instantaneous forward rate curve. Basically this is the partial derivative.

Then we can calculate the bond prices,

𝑃(𝑡,𝑇)=𝐴(𝑡,𝑇)𝑒−𝐵(𝑡,𝑇)𝑟(𝑡)𝐵(𝑡,𝑇)=1−𝑒−𝑎(𝑇−𝑡)𝑎ln𝐴(𝑡,𝑇)=ln𝑃(0,𝑇)𝑃(0,𝑡)+𝐵(𝑡,𝑇)𝐹(0,𝑡)−14𝑎3𝛾2(𝑒−𝑎𝑇−𝑒−𝑎𝑡)2(𝑒2𝑎𝑡−1)

Some other models

Black-Derman-Toy

𝑑ln(𝑟)=[𝜃(𝑡)−𝑎(𝑡)ln(𝑟)]𝑑𝑡+𝜎(𝑡)𝑑𝑊

where 𝑎(𝑡)=−𝜎′(𝑡)𝜎(𝑡)

Then volatility is related to the speed of mean reversion.

Black-Karasinski model is more general,

a(t) and σ(t) are determined independently.

It has the advantage that interest rates cannot be negative, and the future value is lognormal. However, it’s very difficult to model analytically.

These are simple one-factor models as well. The only thing is that they are very difficult to calibrate, especially the more general they get.

Bond Options

We can also have closed form solution for the price of a bond option for Vasicek and Hull-White models:

𝐿𝑃(0,𝑠)𝑁(ℎ)−𝐾𝑃(0,𝑇)𝑁(𝐻−𝜎𝑃)

where h and σ are VERY COMPLICATED.

The idea is that you have a closed form solution and can solve using analytical methods.

Assignment 1 (BTW)

https://github.com/pola-rs/polars/issues/5255#issuecomment-1857124471

See this why you can’t have float linspace. Workaround is to multiply by 10 to an integer, floor, cast to int, do an arange, then recast to float and divide by the same magnitude.