Get the off-book max leverage cap
curl --request GET \
--url https://futures.kraken.com/derivatives/api/v3/rfq-assignment/max-leverage \
--header 'APIKey: <api-key>' \
--header 'Authent: <api-key>'import requests
url = "https://futures.kraken.com/derivatives/api/v3/rfq-assignment/max-leverage"
headers = {
"APIKey": "<api-key>",
"Authent": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {APIKey: '<api-key>', Authent: '<api-key>'}};
fetch('https://futures.kraken.com/derivatives/api/v3/rfq-assignment/max-leverage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://futures.kraken.com/derivatives/api/v3/rfq-assignment/max-leverage"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("APIKey", "<api-key>")
req.Header.Add("Authent", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"result": "success",
"serverTime": "2022-06-28T15:01:12.762Z",
"maxLeverage": 10
}Trading Settings
Get the off-book max leverage cap
Returns the account-level off-book maximum leverage cap, or null when no cap is
configured.
The cap limits the effective leverage (gross open-position notional / margin equity) the account is willing to reach through off-book fills — liquidation assignments and RFQ offer fills. It is set per master account; book (maker/taker) orders are never affected.
A cap of 0 means the account takes no exposure-increasing off-book fill at all, and is
the way to opt out of assignments and RFQ fills without withdrawing each assignment
preference individually.
Only master accounts may call this endpoint.
GET
/
rfq-assignment
/
max-leverage
Get the off-book max leverage cap
curl --request GET \
--url https://futures.kraken.com/derivatives/api/v3/rfq-assignment/max-leverage \
--header 'APIKey: <api-key>' \
--header 'Authent: <api-key>'import requests
url = "https://futures.kraken.com/derivatives/api/v3/rfq-assignment/max-leverage"
headers = {
"APIKey": "<api-key>",
"Authent": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {APIKey: '<api-key>', Authent: '<api-key>'}};
fetch('https://futures.kraken.com/derivatives/api/v3/rfq-assignment/max-leverage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://futures.kraken.com/derivatives/api/v3/rfq-assignment/max-leverage"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("APIKey", "<api-key>")
req.Header.Add("Authent", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"result": "success",
"serverTime": "2022-06-28T15:01:12.762Z",
"maxLeverage": 10
}Authorizations
General API key with at least read-only access
Authentication string
Response
200 - application/json
OK
- Success Response
- Errors
Was this page helpful?