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
Parameter | Required | Type | Description |
---|---|---|---|
posMode | Yes | String | Position mode, HEDGE : LONG /SHORT , ONE_WAY : BOTH |
Response Parameters
Parameter | Type | Description |
---|
Request Example
{
"posMode": "ONE_WAY"
}
Response Example
{
"code":200,
"data":{
},
"msg":"Success"
}