Skip to main content

Change Margin Type (TRADE)

API Description#

Change user's margin type in the specific symbol market.For Hedge Mode, LONG and SHORT positions of one symbol use the same margin type.
With ISOLATED margin type, margins of the LONG and SHORT positions are isolated from each other.

HTTP Request#

POST /dapi/v1/marginType

Request Weight#

1

Request Parameters#

NameTypeMandatoryDescription
symbolSTRINGYES
marginTypeENUMYESISOLATED, CROSSED
recvWindowLONGNO
timestampLONGYES

Response Example#

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