qfinbox.tvm.loans.loan_balance
- qfinbox.tvm.loans.loan_balance(principal: float, annual_rate: float, years: float, payments_made: int, payments_per_year: int = 12) float[source]
Calculate remaining loan balance after specified payments.
- Parameters:
- Returns:
Remaining loan balance.
- Return type:
Examples
>>> loan_balance(300000, 0.05, 30, 120) 260108.58