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:
curl --request PUT \
--url https://futures.kraken.com/derivatives/api/v3/leveragepreferences \
--header 'APIKey: <api-key>' \
--header 'Authent: <api-key>'{
"result": "success",
"serverTime": "2022-06-28T14:48:58.711Z"
}Documentation Index
Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
General API key with full access
Authentication string
Symbol for the leverage preference.
Max leverage to set.
When present, the symbol's margin mode will be set to "isolated". When missing, the symbol's margin mode will be set to "cross".
curl --request PUT \
--url https://futures.kraken.com/derivatives/api/v3/leveragepreferences \
--header 'APIKey: <api-key>' \
--header 'Authent: <api-key>'{
"result": "success",
"serverTime": "2022-06-28T14:48:58.711Z"
}