ChangeLeverageReq
symbolstringrequired
Trading symbol to update (e.g., BTC-PERP).
leveragenumberrequired
Target leverage multiplier to apply.
positionModestring
Position mode: ONE_WAY (single net position per symbol) or HEDGE (separate long and short positions). Defaults to ONE_WAY when omitted.
Possible values: [ONE_WAY, HEDGE, ISOLATED]
positionDirectionstring
Position direction (LONG or SHORT). Used together with HEDGE position mode to identify which side to update when positionId is not supplied.
Possible values: [LONG, SHORT]
marginModestring
Margin mode to apply: CROSS or ISOLATED.
Possible values: [CROSS, ISOLATED]
positionIdstring
Existing position identifier to update. Optional; disambiguates the target position in hedge mode.
ChangeLeverageReq
{
"symbol": "string",
"leverage": 0,
"positionMode": "ONE_WAY",
"positionDirection": "LONG",
"marginMode": "CROSS",
"positionId": "string"
}