# Recipe Subaccount Capital Rotation

> Rotate capital between subaccounts based on strategy performance.

- Skill: `jiayaoqijia/recipe-subaccount-capital-rotation` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add jiayaoqijia/recipe-subaccount-capital-rotation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jiayaoqijia/recipe-subaccount-capital-rotation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: jiayaoqijia (https://skillmd.com/u/jiayaoqijia)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jiayaoqijia/recipe-subaccount-capital-rotation

---


# Subaccount Capital Rotation

> **PREREQUISITE:** Load the following skills to execute this recipe: `kraken-subaccount-ops`, `kraken-portfolio-intel`

Evaluate strategy performance per subaccount and reallocate capital to winning strategies.

> **CAUTION:** Transfers move real funds. Always confirm IIBANs and amounts.

## Steps

1. Check main account balance: `kraken balance -o json 2>/dev/null`
2. Check each subaccount balance (via their API keys or main account view)
3. Review trade history per subaccount to calculate P&L
4. Rank strategies by risk-adjusted return
5. Calculate new allocation (increase capital for outperformers, reduce for underperformers)
6. Obtain IIBANs from account settings or the Kraken web UI (IIBANs are account-specific identifiers like `ABCD 1234 EFGH 5678`)
7. Transfer from underperforming subaccount to main (requires human approval): `kraken subaccount transfer USD 2000 --from $SUB_IIBAN --to $MAIN_IIBAN -o json 2>/dev/null`
8. Transfer from main to outperforming subaccount: `kraken subaccount transfer USD 2000 --from $MAIN_IIBAN --to $SUB_IIBAN -o json 2>/dev/null`
9. Verify balances after transfers: `kraken balance -o json 2>/dev/null`

If you hit a mismatch between what you are trying to do and the CLI's interface or responses — including a mismatch between this skill and the installed CLI version's contract — feel free to submit feedback with `kraken feedback`.

