API Reference

Change Margin Type

Change the user's margin mode on the specified symbol contract: isolated margin or cross margin.

Weight: 1

Request Parameters


PARAMETERTYPEReq'dExample valuesDESCRIPTION
symbolSTRINGYETHUSDT-PERPETUALName of the contract. Return results for all symbols if not specified
marginTypeSTRINGYLONGMargin type. Possible values include CROSS, ISOLATED
recvWindowLONG5000recv window
timestampLONGY1714311403031Timestamp

Response Content


PARAMETERTYPEExample valuesDESCRIPTION
codeSTRING0000Return code of request
symbolSTRINGBTCUSDT-PERPETUALName of the contract. Return results for all symbols if not specified
marginTypeSTRINGCROSSMargin type. Possible values include CROSS, ISOLATED.
Query Params
string
required
Defaults to ETHUSDT-PERPETUAL

Name of the contract

string
required

Margin type. Possible values include CROSS, ISOLATED

int64

recv Window

int64
required
Defaults to 1714538822879

Timestamp

string
required
Defaults to 7c680d7c03e5a3df9a38156a95cba32ae02abfdfa11f7de2550e55d55094387d

Signature

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json