Set the leverage setting for a market
PUT/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
Responses
- 200
OK