Vasicek-Fong Exponential Spline

The Vasicek-Fong Exponential Spline writes the discount function as a sum of exponentials. Vasicek and Fong (1982) observed that a discount function decays roughly exponentially with maturity, so polynomial splines in time fit it poorly and give forward rates that swing at the long end; they fitted splines in an exponential transform of maturity instead, which keeps the forward rates stable.

The formula for the Vasicek-Fong Exponential Spline is as follows:

\[d_{t} = \sum_{k=1}^{9} a_{k} \cdot \exp\left(-k \cdot \kappa \cdot t\right)\] \[\sum_{k=1}^{9} a_{k} = 1\]

Where t is the maturity in years, kappa the decay rate, fitted with the coefficients, and \(a_{k}\) the coefficients of the nine exponentials, which add up to 1 so that \(d (0) = 1\). The slowest exponential governs the long end, so the forward rates tend to kappa at long maturities rather than swing. With nine free parameters it follows the prices more closely than the parametric models and leaves smaller residuals, but some of the bond-specific deviations then end up in the curve.

A constant maturity curve is quoted at a dozen maturities. Fitting the curve to the roughly 330 Treasury notes and bonds themselves gives the term structure that what trades implies, at every maturity, and measures each bond against it: a bond priced above the curve is rich, one priced below it cheap, the basis of relative value trading. The curve is a discount function d(t), the value today of 1 paid t years from now, and the methods differ in the shape they give it, from a parametric curve with a handful of parameters to a spline that follows the prices more closely.

The fit is the same for every discount function. Each bond’s price on the curve is its coupons and principal discounted with it:

\[\text{Model Price}_{i} = \sum \left(\text{CF}_{i,k} \cdot d(t_{i,k})\right)\]

The parameters of the discount function minimise the weighted squared differences between these prices and the market prices, with weights inversely proportional to duration, as Gürkaynak, Sack and Wright (2007) fit the Federal Reserve’s Treasury curve:

\[\text{Objective} = \sum_{i=1}^{N} w_{i} \cdot (\text{Model Price}_{i} - P_{i})^{2}\] \[w_{i} = \frac{1}{D_{i}}\]

Where \(P_{i}\) is the market price plus the accrued interest of bond i, \(\text{CF}_{i , k}\) its coupons and principal at times \(t_{i , k}\) in years, \(D_{i}\) its modified duration and N the number of bonds. A price error is about the duration times the price times the yield error, so the weights reduce the weight of the long bonds’ larger price errors, while still giving a basis point of a long bond more weight than one of a short bond (equal weight in yield would need weights of \(1 / D_{i}^{2}\)). The zero rates of the fitted curve are given annually compounded, while the parametric models are fitted on continuously compounded rates, so their parameters compare with the Federal Reserve’s; the instantaneous forward rate is continuously compounded, and the yields of the bonds are bond-equivalent, compounded twice a year, as the Treasury quotes them. A residual is the gap between a bond’s market price or yield and that on the curve: a positive price residual (a negative yield residual) marks a rich bond, a negative price residual a cheap one. Residuals reflect more than mispricing, such as the liquidity of the most recently issued bonds and the demand for particular bonds in the repo market.

Also known as: exponential spline, exponential splines fitting.

In the Finance Toolkit this is get_fitted_bond_curve with method="exponential_spline", the same function as Fitted Bond Curve.

Example

Install the Finance Toolkit with pip install financetoolkit -U, then call get_fitted_bond_curve:

from financetoolkit import FixedIncome

fixedincome = FixedIncome()

fixedincome.get_fitted_bond_curve(method="exponential_spline", date="2026-11-05")

Which returns:

References

  • Paper Vasicek, O.A. and Fong, H.G. (1982). “Term Structure Modeling Using Exponential Splines.” The Journal of Finance, 37(2), 339-348.
  • Paper Gürkaynak, R.S., Sack, B. and Wright, J.H. (2007). “The U.S. Treasury Yield Curve: 1961 to the Present.” Journal of Monetary Economics, 54(8), 2291-2304.
  • Library Shares similar logic as QuantLib’s ExponentialSplinesFitting (Vasicek-Fong Exponential Spline)
Share