Skip to content

This repo hosts some code to demonstrate concepts and models in fixed income securities and mathematical finance. Many of the functions have their excel/BA-II plus equivalent. Nevertheless, it's a good exercise to implement their Python version.

hy-lei/math-finance-toolbox

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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

About

This repo hosts some code to demonstrate concepts and models in fixed income securities and mathematical finance. Many of the functions have their excel/BA-II plus equivalent. Nevertheless, it's a good exercise to implement their Python version.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published