genedan / TmVal

Time Value of Money - a Python package for mathematical interest theory, annuity, and bond calculations.
https://genedan.com/tmval/docs
GNU General Public License v3.0
27 stars 4 forks source link

possibly deprecate Annuity.pt_bal() #48

Open genedan opened 4 years ago

genedan commented 4 years ago

See Vaaler and Daniel example 3.5.3. This method was originally written to solve for the value of a deferred annuity several years beyond the last payment.

Now that the Annuity class takes an argument for deferrals, pt_bal() returns the same answer as eq_val(), the equation of value for the underlying payments class. Because of this, I'm not so sure if pt_bal() needs to exist or repurposed for something else.

An alternative would be to rewrite the method to return the value of an annuity t years after the last payment.