pricing.IndexClause
An index (stability) clause: the treaty’s retention and limit move with
Usage
pricing.IndexClause()an index, by the ratio r of the index at a loss’s payment to the index at the treaty’s base date, within a franchise.
With kind="full", nothing moves while |r - 1| is within the franchise, and beyond it the terms move by all of r, up or down. With kind="severe" (a severe inflation clause), the terms move only by the rise beyond the franchise, r / (1 + franchise), and never down.
Parameters
franchise: float-
A fraction, such as 0.1 for 10%.
kind: (full, severe) = "full"
Examples
>>> from prospicio.pricing import IndexClause
>>> IndexClause(0.1).adjustment(1.25)1.25
>>> round(IndexClause(0.1, kind="severe").adjustment(1.21), 12)1.1
Attributes
| Name | Description |
|---|---|
| franchise | The franchise. |
| kind |
"full" or "severe".
|
franchise
The franchise.
franchise: float
kind
"full" or "severe".
kind: str
Methods
| Name | Description |
|---|---|
| adjustment() | The factor the terms move by at index ratio ratio. |
adjustment()
The factor the terms move by at index ratio ratio.
Usage
adjustment(ratio)Parameters
ratio: float
Returns
float