## reinsurance.solvency2_reinsurance_lgd()


The Solvency II loss given default of a reinsurance arrangement


Usage


``` python
reinsurance.solvency2_reinsurance_lgd(
    recoverables, risk_mitigation, collateral, lgd_share=0.5, factor=1.0
)
```


(Art 192(2)): `max(lgd_share * (recoverables + 0.5 * risk_mitigation) - factor * collateral, 0)`.


## Parameters


`recoverables: float`  
The best estimate of the amounts recoverable and the corresponding debtors.

`risk_mitigation: float`  
`RM_re`, the arrangement's risk-mitigating effect on underwriting risk (Art 196).

`collateral: float`  
The risk-adjusted value of the collateral (Art 197), non-negative.

`lgd_share: float = ``0.5`  
0.5, or 0.9 for a counterparty with 60 % or more of its assets under collateral arrangements; any value in `[0, 1]` is accepted.

`factor: float = ``1.0`  
The factor of Art 197(7) on the collateral: F (1.0 or 0.5) with the 50 % share; with the 90 % share F' (1.0 or 0.18) until 2027-01-29 and F''' (1.0 or 0.9) from 2027-01-30 (Delegated Regulation (EU) 2026/269); in `[0, 1]`.


## Returns


`float`  


## Raises


`ValueError`  
For inputs that are not finite, negative collateral, or a share or factor outside `[0, 1]`.


## Examples

``` python
>>> from prospicio.reinsurance import solvency2_reinsurance_lgd
>>> solvency2_reinsurance_lgd(100.0, 40.0, 30.0)
```

30.0

``` python
>>> solvency2_reinsurance_lgd(100.0, 40.0, 30.0, lgd_share=0.9, factor=0.18)
```

102.6
