Skip to content
This repo hosts some utility functions in fixed income securities and mathematical finance. It seems like reinventing the wheels -- many of the functions have their excel equivalent or are implemented in financial calculator. Nevertheless, it's a good exercise to document the work and implement the functionalities in python.
Jupyter Notebook
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
toolbox
Binomial_Branch.ipynb
Binomial_Tree.ipynb
README.md

README.md

math-finance-exercise

Toolbox

Availability:

  • Yield to Maturity (YTM)
  • Present Value (PV)
  • Future Value (FV)
  • Number of Periods (N)
  • Swap Rate (swap_rate)
  • Interest rate models: KWF branch

Methodologies

  • YTM and swap rate are determined using the Newton-Raphson method.
  • KWF branch returns the larger analytical solution.

Other Notebooks

Simple demo of concepts/models in Baxter & Rennie (1996). At present, the binomial approach to model discrete process is included.

TODO

  • Test cases
  • Demo for modelling continuous time processes
  • Interest rate models
You can’t perform that action at this time.