tmval.olb_p¶
-
tmval.annuity.
olb_p
(q: float, period: float, term: float, gr: Union[tmval.growth.Accumulation, float, tmval.rate.Rate], t: float, r: float = None, missed: list = None) → float[source]¶ Calculates the outstanding loan balance using the retrospective method.
- Parameters
q (float) – The payment amount.
period (float) – The payment period.
term (float) – The loan term, in years.
gr (Accumulation, float, or Rate.) – A growth rate object.
t (float) – The valuation time, in years.
r (float, optional) – The final payment amount, if different from the others, defaults to None.
missed (list) – A list of missed payments, for example, 4th and 5th payments would be [4, 5].
- Returns
The outstanding loan balance.
- Return type
float