SenderCompID
Every FIX message — including the initial Logon — requires aSenderCompID (tag 49). This identifier is assigned to you by Kraken during onboarding.
- Spot sessions use your standard SenderCompID
- Derivatives sessions use a SenderCompID with a
DRVsuffix - Trading and Market Data sessions use the same SenderCompID but connect to different ports
Contact your Account Manager to request your SenderCompID and connection details.
API Key Setup
Private trading sessions require an API Key with FIX permissions. Create one in Kraken Pro settings.
Note that a FIX key is created as a Spot key, even when used for Derivatives trading.
We recommend using separate API Keys for Spot and Derivatives, even though the authentication mechanism is identical.
Authentication Flow
Market Data sessions authenticate with the SenderCompID alone. Trading sessions require an additional HMAC signature:- Generate a
Nonce— current time in milliseconds since Unix epoch - Build the
MessageInputstring from fixed FIX fields - Compute
SHA256(MessageInput + Nonce) - Sign it with
HMAC-SHA512using your base64-decoded API Secret - base64-encode the result → this is your
Password(tag 554) - Send the Logon with
UserName(tag 553),Password(tag 554), andNonce(tag 5025)