⇦ Back to Modules

BOND YIELDS MODELING
By Rafael Nicolas Fermin Cota

All major theories related to fixed income pricing, from simple yield to maturity comparisons to sophisticated stochastic models, are inherently quantitative and require a basic understanding of mathematics. Many students, however, including those interested in the bond market, often do not feel comfortable with mathematical topics; including duration and volatility. This is true even if all that is required involves only a basic understanding of calculus and optimization techniques (e.g., Newton methods). I have termed this fear of mathematics: “equation-phobia”, and have worked tirelessly trying to help my students overcome it.

Using spreadsheets, I was able to convert bond pricing from its pure math form into functional code, making it easier to understand. In my experience, I have found that most students can grasp the concept behind a topic like yield-to-maturity, however, achieve a more intuitive understanding of the concept when they interact with VBA/Python functions that use iterations in the calculation. By breaking down the math into step by step functions, students see the logic behind the equations. This module strongly correlates to my experience teaching spreadsheet modelling and programming within the HBA curriculum at the Ivey Business School.

This module will put the design and construction of a fixed income portfolio management tool, used to detect mispriced bonds and credit spreads in the market, into the center of class activity. The first stage will be in the fundamentals of bond pricing and yield to maturities. There are numerous publications on the yield curve fitting approaches with related empirical research yet few actually document practical implementations for operational purposes. Accordingly, I will describe and illustrate the implementation of a number of bond relative value models to detect mispriced bonds. The main benefit for this module relates to the concept of how market practitioners like traders and asset managers tend to price and measure credit risk of fixed-income securities. Many of the models described herein have already been implemented in EXCEL (using both VBA and Python) and R (using Rcpp), some of which are generalized versions of models that I had developed for practical bond relative value in the hedge fund industry.

I would like to thank Jonathon Barbaro for his excellent research assistance and relentless support.