Skip to main content
Version: Next

Update Leverage

Update the leverage multiplier and margin mode for a specified futures trading pair.

API Information

  • Method: POST
  • Path: /api/v1/futures/open-api/account/leverage

Request Parameters

ParameterTypeRequiredDescription
symbolstringYesFutures trading pair, e.g. AAPL
leveragestringYesLeverage multiplier, e.g. "10"
marginModeintYesMargin mode: 1=Cross, 2=Isolated

Request Example

{
"symbol": "AAPL",
"leverage": "10",
"marginMode": 1
}

Response Fields

FieldTypeDescription
codeintStatus code, 0 indicates success
data.symbolstringFutures trading pair
data.leveragestringEffective leverage multiplier
data.marginModeintEffective margin mode

Response Example

{
"code": 0,
"data": {
"symbol": "AAPL",
"leverage": "10",
"marginMode": 1
}
}

Error Codes

Business errors are returned with HTTP 200. Use the body code field to identify the specific error.

codeDescription
3000Trading pair not found
8007Insufficient initial margin to adjust leverage
8008Failed to adjust leverage
8011Leverage error
8014Cannot reduce leverage while holding an isolated position