Skip to content

About

Python tools and visualizations for bond pricing, duration, convexity, and term structure analysis

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Fixed Income Analytics

A collection of Python tools and visualizations for exploring core fixed-income concepts, including bond pricing, duration, convexity, spot rates, and implied forward rates.

Overview

This repository contains scripts developed to apply fixed-income theory programmatically and visualize how changes in interest rates affect bond prices and risk measures.

Topics Covered

Duration and Convexity

The duration_convexity directory contains tools for analyzing bond price sensitivity to changes in yield, including:

  • Macaulay duration
  • Modified duration
  • Convexity
  • Price-yield relationships
  • Duration and convexity approximations
  • Comparisons across bonds with different characteristics

Term Structure

The term_structure directory contains tools for working with the term structure of interest rates, including:

  • Spot-rate calculations
  • Implied forward-rate calculations
  • Multi-period term structure relationships

Examples

The examples directory contains example output and presentation material generated from the analysis.

Technologies

  • Python
  • NumPy
  • pandas
  • Matplotlib
  • SciPy

Installation

Install the required Python packages with:

pip install -r requirements.txt

About

Python tools and visualizations for bond pricing, duration, convexity, and term structure analysis

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages