genedan / TmVal

Time Value of Money - a Python package for mathematical interest theory, annuity, and bond calculations.

Home Page:https://genedan.com/tmval/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add validation to make sure tiers in TieredBal, TieredTime classes are in order

genedan opened this issue · comments

It won't really make sense if the tiers are provided out of order since the way they are defined depends on the order. These classes should enforce this rule.