Skip to main content

aggregate.Expense

One expense leg of a Book: an amount (fixed), a fraction of

Usage

aggregate.Expense()

the gross premium (premium) or of the gross loss (loss, loss adjustment expense), or several such terms in one leg.

Unlabelled, a book’s only expense is the leg expense; with several, a single-basis one is <basis> expense and a mixed one expense, with (2), (3) … added to a name already taken, as aggregate.

Parameters

basis: str or list of tuple of (str, float)

fixed, premium or loss; or a list of (basis, value) terms.

value: float

The amount or rate, with a single basis.

label: str

Examples

>>> from prospicio.aggregate import Expense
>>> Expense("premium", 0.25, label="Acq")

Expense(“Acq”, [(“premium”, 0.25)])

Attributes

Name Description
label The label, or None.
terms The (basis, value) terms.

label

The label, or None.

label: str | None


terms

The (basis, value) terms.

terms: list[tuple[str, float]]