addReduceMargin
Adjust margin on isolated positions by specifying a positive value to add margin or a negative value to reduce margin. Returns updated position details including new liquidation price.
Instructions
Add or reduce margin for a position in isolated margin mode. Use a positive value to add margin, or a negative value to reduce margin. Returns updated position details after the margin adjustment.
Agent hint: Use this to manually adjust margin on isolated margin positions. Pass positive margin to add, negative to reduce (e.g., "10" or "-10"). Max 4 decimal places. In hedge mode, specify positionIdx. Returns full updated position info including new liqPrice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| symbol | Yes | ||
| margin | Yes | ||
| positionIdx | No |