Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Idea's for financial math algorithms #8922

fareswmansi started this conversation in Ideas
Discussion options

Hey everyone!

I have some ideas for algorithms to implement for financial math in this repository. I would like to implement some of these and hope others do the same.

To add to simple interest:

  • algorithm to convert between discount rate to interest rate

Immunization :

  • Algorithm to calculate Macaulay duration and convexity
  • algorithm to calculate modified duration and convexity
  • algorithm to dictate Full or Redington immunization (utilizes Macaulay duration and modified duration algorithms)

Links:
Macaulay duration: https://www.investopedia.com/terms/m/macaulayduration.asp
Modified duration: https://www.investopedia.com/terms/m/modifiedduration.asp
Immunization: https://en.wikipedia.org/wiki/Immunization_(finance)

You must be logged in to vote

Replies: 1 comment

Comment options

Sounds good. I would love to see more finance algorithms.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /