loan_get_simulation
Simulate a crypto loan to calculate LTV and APR before creating it. Provide either guarantee or loan amount, plus symbol pair, to get the missing amount, safety ratio, and annual rate.
Instructions
Simulate loan LTV and APR. Provide guarantee_amount OR loan_amount (other is calculated). Requires guarantee_symbol (crypto), loan_symbol, user_symbol (fiat). Returns amounts, LTV ratio (1.0=100%, lower=safer), and APR. Use before loan_create. [PUBLIC]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loan_amount | No | Loan amount (optional if guarantee_amount is given) | |
| loan_symbol | No | Loan currency symbol (e.g., USDC, EURC, EUR). Can be any supported currency. | |
| user_symbol | No | User's symbol (e.g., EUR) | |
| guarantee_amount | No | Guarantee amount (optional if loan_amount is given) | |
| guarantee_symbol | No | Guarantee cryptocurrency symbol (e.g., BTC) |