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 secret is 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 through assist ticket); on Kraken Spot they’re gated to institutional purchasers through the Kraken institutional staff.
- 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 find out how to separate methods, permissions, and balances throughout accounts and processes. Kraken gives 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, will 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 stage. A grasp account hyperlinks all subaccounts — and crucially, buying and selling quantity throughout linked accounts is consolidated for payment 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’s not the first buying and selling bot: monitoring dashboards, P&L reconcilers, position-flattening scripts, and backtests replaying stay information in opposition to 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 analyze.
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 price is one minute throughout key creation.
For the total set of finest practices (together with permission scopes, key 2FA, expiration, rotation, and per-key controls) see Kraken’s API Key Safety information and The best 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 Charge Schedule Volumes tier.
- Funds transfer immediately and fee-free between the grasp account and subaccounts.
The canonical use case is working a market-making ebook and a directional ebook in parallel with out commingling publicity. Separate mandates, separate volatility profiles, or a hedging ebook in opposition to 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 best way to create a Kraken subaccount (Derivatives and Spot)
Kraken Derivatives is open to any eligible shopper. Subaccount creation goes via the Kraken assist staff:
- 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 electronic mail deal with 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 forex) 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 need to 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 preserve 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.
- Check in UAT earlier than selling any new key configuration to manufacturing.
- Resolve 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 through assist ticket, Spot via your Kraken relationship supervisor.
Create an API key, or for institutional subaccount setups and FIX entry, contact the Kraken Institutional staff.
FAQ
Who can use subaccounts on Kraken?
Subaccounts on Kraken Derivatives can be found to any eligible shopper and are arrange through a assist ticket. Subaccounts on Kraken Spot are at the moment out there to institutional purchasers via the Kraken institutional onboarding staff.
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 payment tier.
Can I withdraw immediately from a Kraken Derivatives subaccount?
No. Funds need to 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 payment schedule quantity tier, that means your mixed exercise throughout methods contributes to decrease payment charges.
