switchPositionMode
Switch between one-way and hedge position modes for USDT perpetual contracts. Ensure no open positions before switching. Provide symbol or coin.
Instructions
Switch between one-way mode (mode=0) and hedge mode (mode=3). Only USDT perpetual supports hedge mode. Either symbol or coin must be provided.
Agent hint: Use this to switch between one-way (mode=0) and hedge/two-way (mode=3) position mode. Only USDT perpetual contracts support two-way mode. Ensure no open positions or orders exist on the symbol before switching. Either symbol or coin must be provided; symbol takes priority.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| symbol | No | ||
| coin | No | ||
| mode | Yes |