Change Position Mode(TRADE)
API Description
Change user's position mode (Hedge Mode or One-way Mode ) on EVERY symbol.
After CM migration, UM and CM share the same dualSidePosition setting. Calling this endpoint flips both UM and CM at once. If either side has any open order or open position, the change is rejected:
-4067(open orders exist)-4068(open position exists)
HTTP Request
POST /fapi/v1/positionSide/dual
Request Weight
1
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| dualSidePosition | STRING | YES | "true": Hedge Mode; "false": One-way Mode |
| recvWindow | LONG | NO | |
| timestamp | LONG | YES |
Response Example
{
"code": 200,
"msg": "success"
}