Skip to main content

reserving.Reinflated

A projection re-inflated by Indexation.reinflate.

Usage

Source

reserving.Reinflated()

Examples

>>> from prospicio.reserving import CalendarIndex, FutureCells, Indexation
>>> index = CalendarIndex("2020", [1.0, 1.1], future_rate=0.1)
>>> at_2020 = Indexation(index, "2020-01")
>>> cells = FutureCells(["2020"], ["2020"], [24], ["2021-12"], [100.0])
>>> out = at_2020.reinflate(cells)
>>> round(out.total_reserve, 6), out.total_base_reserve

(110.0, 100.0)

Attributes

Name Description
base_reserves The reserve of each origin at the base level, before re-inflation.
cells The re-inflated cells.
reserves The re-inflated reserve of each origin.
total_base_reserve The total reserve at the base level.
total_reserve The re-inflated total reserve.

base_reserves

The reserve of each origin at the base level, before re-inflation.

base_reserves: list[float]


cells

The re-inflated cells.

cells: FutureCells


reserves

The re-inflated reserve of each origin.

reserves: list[float]


total_base_reserve

The total reserve at the base level.

total_base_reserve: float


total_reserve

The re-inflated total reserve.

total_reserve: float