Quote a position
quote_positionFee, collateral ratio, liquidation price and headroom for depositing collateral and minting, with the contracts' exact math at the current oracle price. Warns when the price is stale or the market is closed. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | No | Optional: include this wallet's existing position | |
| market | Yes | Market address (0x...) or symbol, e.g. NO-NVDA | |
| collateral | Yes | Collateral to add, in USDG as a decimal string, e.g. "11" or "25.5" | |
| mintTokens | No | Synth to mint, in synth tokens as a decimal string, e.g. "0.0189" | |
| mintValueUsdg | No | Exposure to mint, converted to tokens at the current price, in USDG as a decimal string, e.g. "11" or "25.5" |