Fix biweekly mortgage schedule interest basis (overstates payoff) #15
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: high
Category: correctness
Location:
mortgage.py:77-78Problem
biweekly_payment = base/2(half the monthly payment) is simulated atannual/26per period, overpaying principal — a 300k/6.5%/30yr loan shows payoff ~6 years early.Suggested fix
Compute a true biweekly amortizing payment with
r=annual/26, n=years*26, or apply half the monthly rate per period to keep rate and period on the same basis.Filed by automated code review.