The PNL currency preference is used to determine which currency to pay out when realizing PNL gains.
curl --request GET \
--url https://futures.kraken.com/derivatives/api/v3/pnlpreferences \
--header 'APIKey: <api-key>' \
--header 'Authent: <api-key>'{
"result": "success",
"serverTime": "2022-06-28T15:04:06.710Z",
"preferences": [
{
"symbol": "PF_XBTUSD",
"pnlCurrency": "BTC"
}
]
}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 at least read-only access
Authentication string
curl --request GET \
--url https://futures.kraken.com/derivatives/api/v3/pnlpreferences \
--header 'APIKey: <api-key>' \
--header 'Authent: <api-key>'{
"result": "success",
"serverTime": "2022-06-28T15:04:06.710Z",
"preferences": [
{
"symbol": "PF_XBTUSD",
"pnlCurrency": "BTC"
}
]
}