tmval.rate_from_earned

growth.rate_from_earned(iey: Tuple[float, float])tmval.rate.Rate[source]

Given the amount of interest earned in two time periods, calculates the annualized effective interest rate.

Parameters
  • iex (Tuple[float, float]) – Interest earned in period x, provided as (interest earned, period x).

  • iey (Tuple[float, float]) – Interest earned in period y, provided as (interest earned, period y).

Returns

An annualized effective interest rate.

Return type

Rate