calculate_risk
Compute risk metrics for a loan position using borrow amount, collateral, interest rate, and duration to evaluate potential exposure.
Instructions
Calculate risk metrics for a potential loan position. Requires any Floe API key (agent floe_... or developer floe_live_...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| borrow_amount | Yes | Borrow amount in human units | |
| duration_days | Yes | Duration in days | |
| collateral_amount | Yes | Collateral in human units | |
| interest_rate_percent | Yes | Annual rate % | |
| liquidation_ltv_percent | No | Liquidation threshold % |