tmval.Loan.olb_p¶
-
Loan.
olb_p
(t: float, r: float = None, missed: List[int] = None) → float[source]¶ Calculates the outstanding loan balance via the prospective method. If there were missed payments, they may be indicated by supplying them to the missed argument.
- Parameters
t (float) – The valuation time.
r (float) – The final payment amount, if different from the others, defaults to None.
missed (List[int]) – A list of missed payments, for example, 4th and 5th payments would be [4, 5].
- Returns
The outstanding loan balance.
- Return type
float