« first day (2516 days earlier)      last day (2510 days later) » 

3:02 PM
shows some money
I want to write an open source business calculator library in Python. There doesn't seem to be a single library that does this. Thoughts?
maybe the API looks like this:
>>> CashFlow(-400, 100, 100, 100, 100, 100, discount_rate=.03).pv
57.9707
Or maybe that's an Annuity, and we should have Perpetuities and things like that...
 
 
3 hours later…
7:13 PM
@ChrisW.Rea thanks, didn't know that existed yet. I want this to be no dependencies, but delegate to numpy where it makes sense if it's there, so that's pretty helpful.
 

« first day (2516 days earlier)      last day (2510 days later) »