add_reduce_margin
Add or reduce margin for a position in isolated margin mode. Provide symbol, category, and margin amount (positive to add, negative to reduce).
Instructions
Add or reduce margin for a position (isolated margin mode).
Args: category: Product type: linear, inverse. symbol: Symbol, e.g., BTCUSDT. margin: Positive to add (e.g., "10"), negative to reduce (e.g., "-10"). position_idx: 0: one-way, 1: hedge-Buy, 2: hedge-Sell (default: 0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| symbol | Yes | ||
| margin | Yes | ||
| position_idx | No |