Get position percentile of unwind queue
curl --request GET \
--url https://futures.kraken.com/derivatives/api/v3/unwindqueue \
--header 'APIKey: <api-key>' \
--header 'Authent: <api-key>'import requests
url = "https://futures.kraken.com/derivatives/api/v3/unwindqueue"
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/unwindqueue', 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/unwindqueue"
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-13T18:01:18.695Z",
"queue": [
{
"symbol": "PF_GMTUSD",
"percentile": 100
},
{
"symbol": "FI_ETHUSD_220624",
"percentile": 20
},
{
"symbol": "PF_UNIUSD",
"percentile": 80
}
]
}Account
Get position percentile of unwind queue
This endpoint returns the percentile of the open position in case of unwinding.
GET
/
unwindqueue
Get position percentile of unwind queue
curl --request GET \
--url https://futures.kraken.com/derivatives/api/v3/unwindqueue \
--header 'APIKey: <api-key>' \
--header 'Authent: <api-key>'import requests
url = "https://futures.kraken.com/derivatives/api/v3/unwindqueue"
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/unwindqueue', 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/unwindqueue"
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-13T18:01:18.695Z",
"queue": [
{
"symbol": "PF_GMTUSD",
"percentile": 100
},
{
"symbol": "FI_ETHUSD_220624",
"percentile": 20
},
{
"symbol": "PF_UNIUSD",
"percentile": 80
}
]
}Authorizations
General API key with at least read-only access
Authentication string
Response
200 - application/json
- Success Response
- Errors
A list containing structures with information on open positions' percentile rank in the unwind/termination queue.
Show child attributes
Show child attributes
Available options:
success Example:
"success"
Server time in Coordinated Universal Time (UTC)
Example:
"2020-08-27T17:03:33.196Z"
Was this page helpful?