TL;DR
- Most multi-strategy operations want two layers of separation: course of isolation (one API key per course of) and technique isolation (subaccounts with their very own balances, P&L, and danger floor). Kraken helps each natively.
- A number of API keys remedy course of issues inside one account: separate nonce sequences, scoped permissions, clear blast radius if a single key’s compromised.
- Subaccounts isolate every technique throughout linked accounts: separate balances, separate margin calculations, separate per-account fee limits, whereas nonetheless consolidating into one quantity tier for charges.
- Subaccounts on Kraken Derivatives are open to any eligible shopper (arrange by way of assist ticket); on Kraken Spot they’re gated to institutional purchasers by way of the Kraken institutional crew.
- Run one API key per course of. Most “invalid nonce” errors in manufacturing are one key shared throughout a number of processes, not a clock-skew downside.
Two layers of separation: course of isolation vs. technique isolation
The core architectural query for systematic merchants is methods to separate methods, permissions, and balances throughout accounts and processes. Kraken supplies two distinct solutions, working at completely different layers.
- A number of API keys isolate processes and permissions inside one account. Every key carries its personal nonce sequence, might be scoped to particular permissions, and creates clear course of boundaries. Balances, quantity tier, and per-pair fee limits stay shared throughout keys.
- Subaccounts isolate what API keys can not. Every subaccount on Kraken has its personal balances, its personal P&L, its personal API keys, and its personal fee limits. Margin is calculated on the subaccount degree. A grasp account hyperlinks all subaccounts — and crucially, buying and selling quantity throughout linked accounts is consolidated for price schedule tier functions.
What every layer isolates
| Dimension | A number of API keys (one account) | Subaccounts (linked accounts) |
| Balances | Shared throughout keys | Separate per subaccount |
| Quantity tier (charges) | Shared | Consolidated throughout linked accounts |
| Fee limits | Shared per-pair | Separate per account |
| Margin and danger floor | Shared | Separate per subaccount |
| API keys | A number of per account | Generated and managed per subaccount |
Layer one: API key administration for multi-strategy operations
One API key per course of
The identical rule applies to each course of that isn’t the first buying and selling bot: monitoring dashboards, P&L reconcilers, position-flattening scripts, and backtests replaying dwell knowledge towards the REST API every want a devoted key. When a key throws an error or hits a fee restrict, you instantly know which course of to research.
Minimal permissions per position
Kraken API keys are absolutely scoped. A read-only dashboard doesn’t want order placement permissions. A reconciliation job pulling commerce historical past doesn’t want withdrawal permissions, ever.
Scope every key to precisely what its course of requires and nothing extra. The associated fee is one minute throughout key creation.
For the complete set of greatest practices (together with permission scopes, key 2FA, expiration, rotation, and per-key controls) see Kraken’s API Key Safety information and The right way to create an API key documentation.
Layer two: subaccounts on Kraken
Subaccounts ship two structural benefits for multi-strategy operations:
- Buying and selling quantity throughout linked accounts is grouped for the Payment Schedule Volumes tier.
- Funds transfer immediately and fee-free between the grasp account and subaccounts.
The canonical use case is operating a market-making guide and a directional guide in parallel with out commingling publicity. Separate mandates, separate volatility profiles, or a hedging guide towards a directional place; every operates inside its personal danger floor, stopping one technique’s drawdown from affecting one other’s margin or liquidation threshold.
The right way to create a Kraken subaccount (Derivatives and Spot)
Kraken Derivatives is open to any eligible shopper. Subaccount creation goes via the Kraken assist crew:
- Create a brand new Kraken account for the subaccount and confirm it.
- Unlock Derivatives buying and selling from the subaccount.
- Submit a Kraken Derivatives assist ticket from the grasp account e-mail tackle requesting that the accounts be linked.
As soon as linked, subaccount administration (itemizing, stability retrieval, and transfers between grasp and subaccounts or between margin accounts sharing a collateral foreign money) runs via the Futures REST API.
Kraken Spot is institutional-only. The REST API paperwork a CreateSubaccount endpoint, however availability is gated. CreateSubaccount should be referred to as utilizing an API key from the grasp account, and the endpoint requires the Withdraw Funds permission on that grasp key. Spot subaccounts are restricted to institutional purchasers. Attain this floor via your Kraken relationship supervisor.
Kraken subaccount operational caveats
- Withdrawals from subaccounts are blocked. Funds should be moved again to the grasp account earlier than they will depart Kraken Derivatives. Construct that into reconciliation and treasury workflows from the beginning.
- API keys are generated and managed individually on every subaccount. The grasp account doesn’t personal subaccount keys.
- API fee limits are managed individually per account.
- Signal-ins are separate for every subaccount.
- Short-term lockouts final about quarter-hour. They set off after too many failed API calls, invalid nonce errors, or invalid signatures in a brief interval. A misconfigured key in a good retry loop can hold a technique offline for the higher a part of an hour.
Getting began: API keys and subaccounts
- Audit present keys. What every one is used for, what permissions it has, whether or not IP restriction is on.
- Cut up keys by course of. One key per course of, minimal permissions.
- Apply IP allowlists to each manufacturing key.
- Take a look at in UAT earlier than selling any new key configuration to manufacturing.
- Determine on subaccounts. A number of keys are sufficient if methods share capital. Subaccounts are wanted when methods want separate capital, P&L, or danger. Derivatives by way of assist ticket, Spot via your Kraken relationship supervisor.
Create an API key, or for institutional subaccount setups and FIX entry, contact the Kraken Institutional crew.
FAQ
Who can use subaccounts on Kraken?
Subaccounts on Kraken Derivatives can be found to any eligible shopper and are arrange by way of a assist ticket. Subaccounts on Kraken Spot are at present out there to institutional purchasers via the Kraken institutional onboarding crew.
What’s the distinction between API keys and subaccounts on Kraken?
API keys isolate processes and permissions inside a single Kraken account. Every key has its personal nonce sequence and scoped permissions, however shares balances and fee limits. Subaccounts are separate linked accounts, every with impartial balances, margin, fee limits, and API keys, whereas nonetheless consolidating buying and selling quantity into one price tier.
Can I withdraw straight from a Kraken Derivatives subaccount?
No. Funds should be moved again to the grasp account earlier than they will depart Kraken Derivatives.
Do subaccounts on Kraken share buying and selling charges throughout linked accounts?
Sure. Buying and selling quantity throughout all linked subaccounts is consolidated right into a single price schedule quantity tier, which means your mixed exercise throughout methods contributes to decrease price charges.
