| name | recipe-subaccount-capital-rotation |
| version | 1.0.0 |
| description | Rotate capital between subaccounts based on strategy performance. |
| metadata | {"openclaw":{"category":"recipe","domain":"portfolio"},"requires":{"bins":["kraken"],"skills":["kraken-subaccount-ops","kraken-portfolio-intel"]}} |
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
- Check main account balance:
kraken balance -o json 2>/dev/null
- Check each subaccount balance (via their API keys or main account view)
- Review trade history per subaccount to calculate P&L
- Rank strategies by risk-adjusted return
- Calculate new allocation (increase capital for outperformers, reduce for underperformers)
- Obtain IIBANs from account settings or the Kraken web UI (IIBANs are account-specific identifiers like
ABCD 1234 EFGH 5678)
- 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
- Transfer from main to outperforming subaccount:
kraken subaccount transfer USD 2000 --from $MAIN_IIBAN --to $SUB_IIBAN -o json 2>/dev/null
- 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.