mortgage icon indicating copy to clipboard operation
mortgage copied to clipboard

Add support for extra payments

Open austinmcconnell opened this issue 8 years ago • 0 comments

Currently, there is no way to specify extra payments.

Add an extra keyword to the initialization function. This should accept

  • Single value (consistent extra amount to be applied to every payment)
  • List of tuples containing two values (payment date, and payment amount). This allows for specifying any number of unequal, inconsistent payments.

The second requirement will require rewriting _amortize a bit to check for any extra payments between last payment date and next payment date.

Write test cases for above first. Then implement.

austinmcconnell avatar Feb 12 '17 13:02 austinmcconnell