TieredTime

class tmval.growth.TieredTime(tiers: list, rates: list)[source]

TieredTime is a callable growth pattern for investment accounts in which the interest rate can vary depending on how long the account stays open. For example, 1% for the first year, 2% for the next year, and 3% afterward.

To create a TieredTime, supply a list of tiers and a corresponding list of interest rates for those tiers. The tiers are the lower bounds for the intervals corresponding to the interest rate (the first value will usually be 0).

Parameters
  • tiers (list) – a list of tiers, for example [0, 1, 2].

  • rates (list) – a list of interest rates, for example [.01, .02, .03].

Returns

a TieredTime object.

Return type

TieredTime