Skip to main content

Switch Position Modes

Description

Switch the current position mode. Please ensure you do not have open positions and open orders under this mode before the switch.

HTTP Request

POST /v3/position/mode

Request Parameters

ParameterRequiredTypeDescription
posModeYesStringPosition mode, HEDGE: LONG/SHORT, ONE_WAY: BOTH

Response Parameters

ParameterTypeDescription

Request Example

{
"posMode": "ONE_WAY"
}

Response Example

{
"code":200,
"data":{
},
"msg":"Success"
}