Skip to main content

Change CM Position Mode(TRADE)

API Description

Change user's position mode (Hedge Mode or One-way Mode ) on EVERY symbol in CM

HTTP Request

POST /papi/v1/cm/positionSide/dual

Request Weight

1

Request Parameters

NameTypeMandatoryDescription
dualSidePositionSTRINGYES"true": Hedge Mode; "false": One-way Mode
recvWindowLONGNO
timestampLONGYES

Note:

  • CM dualSidePosition must stay consistent with UM. If CM dualSidePosition is already the same as UM, changing it will be rejected with error: "The operation is rejected because the CM dual-side is not allowed to be different from UM dual-side."

Response Example

{
"code": 200,
"msg": "success"
}