Skip to main content

Set the leverage setting for a market

PUT 

/v3/leveragepreferences

Sets a contract's margin mode, either "isolated" or "cross" margin.

When specifying a max leverage, the contract's margin mode will be isolated.

Calling this endpoint can result in the following error codes:

  • 87: Contract does not exist
  • 88: Contract not a multi-collateral futures contract
  • 41: Would cause liquidation

Request

Query Parameters

    symbol string

    Symbol for the leverage preference.

    maxLeverage number

    Max leverage to set.

    When present, the symbol's margin mode will be set to "isolated".

Responses

OK

Schema
    oneOf
    serverTime string

    Server time in Coordinated Universal Time (UTC)

    result string

    Possible values: [success]

Loading...