kraken-subaccount-ops

Create and manage subaccounts with inter-account transfers.

23 stars

Best use case

kraken-subaccount-ops is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Create and manage subaccounts with inter-account transfers.

Teams using kraken-subaccount-ops should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/kraken-official-subaccount-ops/SKILL.md --create-dirs "https://raw.githubusercontent.com/jiayaoqijia/cryptoskill/main/skills/exchanges/kraken-official-subaccount-ops/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/kraken-official-subaccount-ops/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How kraken-subaccount-ops Compares

Feature / Agentkraken-subaccount-opsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Create and manage subaccounts with inter-account transfers.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# kraken-subaccount-ops

Use this skill for:
- creating subaccounts for strategy isolation
- transferring funds between main and subaccounts
- managing futures subaccount trading status
- isolating risk across multiple strategies

## Why Subaccounts

Subaccounts isolate balances and positions. Use them to:
- Run different strategies with separate capital pools.
- Limit risk exposure per strategy.
- Track P&L per strategy independently.
- Give different agents access to different subaccounts with restricted API keys.

## Create a Subaccount

```bash
kraken subaccount create "dca-bot" "dca-bot@example.com" -o json 2>/dev/null
```

## Transfer Between Accounts

Move funds from main account to subaccount (requires human approval):

```bash
kraken subaccount transfer USD 5000 --from <MAIN_IIBAN> --to <SUB_IIBAN> -o json 2>/dev/null
```

Move funds back:

```bash
kraken subaccount transfer USD 5000 --from <SUB_IIBAN> --to <MAIN_IIBAN> -o json 2>/dev/null
```

## Futures Subaccounts

List futures subaccounts:

```bash
kraken futures subaccounts -o json 2>/dev/null
```

Check subaccount trading status:

```bash
kraken futures subaccount-status <UID> -o json 2>/dev/null
```

Enable or disable trading for a subaccount:

```bash
kraken futures set-subaccount-status <UID> true -o json 2>/dev/null
kraken futures set-subaccount-status <UID> false -o json 2>/dev/null
```

Transfer between futures wallets:

```bash
kraken futures wallet-transfer <FROM_WALLET> <TO_WALLET> USD 1000 -o json 2>/dev/null
```

## Strategy Isolation Pattern

1. Create a subaccount per strategy (e.g., "grid-btc", "dca-eth").
2. Allocate capital to each subaccount.
3. Configure separate API keys per subaccount with minimum required permissions.
4. Each agent operates only within its assigned subaccount.
5. The main account retains reserve capital not allocated to any strategy.

## Monitoring

Check all balances from the main account to see aggregate state. Individual subaccount balances are visible through their respective API keys.

For centralized monitoring, use the main account's credentials with query permissions across subaccounts.

## Hard Rules

- Subaccount transfers are flagged as dangerous. Never execute without explicit human approval.
- Never share API keys across subaccounts; create separate keys per subaccount.
- Verify IIBAN values before initiating transfers; incorrect IIBANs will fail.
- Disable futures trading on subaccounts that should not trade futures.

Related Skills

Kraken Crypto Skill

23
from jiayaoqijia/cryptoskill

Use the kraken_cli.py wrapper to query your Kraken account.

openclaw_kraken

23
from jiayaoqijia/cryptoskill

Use a Bash CLI to query Kraken Spot and Futures APIs, inspect account state, run guarded trading and funding actions, and work with Kraken websocket payloads using OpenClaw-managed secrets.

kraken-ws-streaming

23
from jiayaoqijia/cryptoskill

Real-time data streaming via WebSocket for spot and futures.

kraken-twap-execution

23
from jiayaoqijia/cryptoskill

Execute large orders as time-weighted slices to reduce market impact.

kraken-tax-export

23
from jiayaoqijia/cryptoskill

Export trade history, ledgers, and cost basis data for tax reporting.

kraken-stop-take-profit

23
from jiayaoqijia/cryptoskill

Manage stop-loss and take-profit orders for risk-bounded positions.

kraken-spot-execution

23
from jiayaoqijia/cryptoskill

Execute spot orders with validation, confirmation gates, and post-trade checks.

kraken-shared

23
from jiayaoqijia/cryptoskill

Shared runtime contract for kraken-cli: auth, invocation, parsing, and safety.

kraken-risk-operations

23
from jiayaoqijia/cryptoskill

Operational risk controls for live agent trading sessions.

recipe-subaccount-capital-rotation

23
from jiayaoqijia/cryptoskill

Rotate capital between subaccounts based on strategy performance.

kraken-rebalancing

23
from jiayaoqijia/cryptoskill

Portfolio rebalancing to maintain target allocations across assets.

kraken-rate-limits

23
from jiayaoqijia/cryptoskill

Understand Kraken API rate limits and adapt agent behavior when limits are hit.