lending-stress
Calculate a lending position's health factor now and under a specified collateral drop to assess liquidation risk.
Instructions
Health factor of a lending position, now and under a collateral haircut.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debt_usd | Yes | ||
| asset_class | No | Which market answers. Inferred from the symbol's source when omitted. | |
| haircut_pct | Yes | ||
| collateral_usd | Yes | ||
| liquidation_threshold | Yes |