quote_multiply
Calculate pre-trade leveraged position details from market, equity, and leverage. Get exposure, debt, LTV, health factor, and liquidation price to assess risk before opening.
Instructions
A leveraged position before it is opened: exposure, debt, resulting LTV, health factor and liquidation price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | ||
| leverage | Yes | Target multiple of exposure to equity | |
| equityUsd | Yes | What the user puts in, in USD |