Agent Skillskrakenfx/kraken-cli › kraken-subaccount-ops

kraken-subaccount-ops

GitHub

用于Kraken交易所子账户的全生命周期管理,包括创建、资金划转及期货权限控制。支持策略隔离与风险管控,提供CLI操作指南及安全规范,确保多策略独立运行。

skills/kraken-subaccount-ops/SKILL.md krakenfx/kraken-cli

Trigger Scenarios

需要为不同交易策略分配独立资金和API密钥 执行主账户与子账户之间的资金转账 管理或查询期货子账户的交易状态

Install

npx skills add krakenfx/kraken-cli --skill kraken-subaccount-ops -g -y
More Options

Use without installing

npx skills use krakenfx/kraken-cli@kraken-subaccount-ops

指定 Agent (Claude Code)

npx skills add krakenfx/kraken-cli --skill kraken-subaccount-ops -a claude-code -g -y

安装 repo 全部 skill

npx skills add krakenfx/kraken-cli --all -g -y

预览 repo 内 skill

npx skills add krakenfx/kraken-cli --list

SKILL.md

Frontmatter
{
    "name": "kraken-subaccount-ops",
    "version": "1.0.0",
    "metadata": {
        "openclaw": {
            "category": "finance"
        },
        "requires": {
            "bins": [
                "kraken"
            ]
        }
    },
    "description": "Create and manage subaccounts with inter-account transfers."
}

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

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):

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

Move funds back:

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

Futures Subaccounts

List futures subaccounts:

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

Check subaccount trading status:

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

Enable or disable trading for a subaccount:

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:

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 and subaccount create are flagged as dangerous. Never execute without explicit human approval — a created subaccount cannot be removed through the API.
  • 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.
  • 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.

Version History

  • aa56e59 Current 2026-08-20 04:45
  • aa32814 2026-07-25 10:29

Same Skill Collection

skills/kraken-alert-patterns/SKILL.md
skills/kraken-autonomy-levels/SKILL.md
skills/kraken-basis-trading/SKILL.md
skills/kraken-dca-strategy/SKILL.md
skills/kraken-earn-staking/SKILL.md
skills/kraken-error-recovery/SKILL.md
skills/kraken-fee-optimization/SKILL.md
skills/kraken-funding-carry/SKILL.md
skills/kraken-funding-ops/SKILL.md
skills/kraken-futures-risk/SKILL.md
skills/kraken-grid-trading/SKILL.md
skills/kraken-lab-experiment/SKILL.md
skills/kraken-liquidation-guard/SKILL.md
skills/kraken-market-intel/SKILL.md
skills/kraken-mcp-integration/SKILL.md
skills/kraken-multi-pair/SKILL.md
skills/kraken-order-types/SKILL.md
skills/kraken-paper-strategy/SKILL.md
skills/kraken-paper-to-live/SKILL.md
skills/kraken-playground/SKILL.md
skills/kraken-portfolio-intel/SKILL.md
skills/kraken-rate-limits/SKILL.md
skills/kraken-rebalancing/SKILL.md
skills/kraken-risk-operations/SKILL.md
skills/kraken-setup/SKILL.md
skills/kraken-spot-execution/SKILL.md
skills/kraken-stop-take-profit/SKILL.md
skills/kraken-tax-export/SKILL.md
skills/kraken-twap-execution/SKILL.md
skills/kraken-ws-streaming/SKILL.md
skills/recipe-basis-trade-entry/SKILL.md
skills/recipe-daily-pnl-report/SKILL.md
skills/recipe-drawdown-circuit-breaker/SKILL.md
skills/recipe-earn-yield-compare/SKILL.md
skills/recipe-emergency-flatten/SKILL.md
skills/recipe-fee-tier-progress/SKILL.md
skills/recipe-funding-rate-scan/SKILL.md
skills/recipe-futures-hedge-spot/SKILL.md
skills/recipe-launch-grid-bot/SKILL.md
skills/recipe-morning-market-brief/SKILL.md
skills/recipe-multi-pair-breakout-watch/SKILL.md
skills/recipe-paper-strategy-backtest/SKILL.md
skills/recipe-playground-dca-triggered/SKILL.md
skills/recipe-playground-dca/SKILL.md
skills/recipe-playground-price-alert/SKILL.md
skills/recipe-playground-rebalance/SKILL.md
skills/recipe-playground-webhook/SKILL.md
skills/recipe-portfolio-snapshot-csv/SKILL.md
skills/recipe-price-level-alerts/SKILL.md

Metadata

Files
0
Version
aa56e59
Hash
adf7d7b0
Indexed
2026-07-25 10:29

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 09:00
浙ICP备14020137号-1 $Гость$