kraken-pro

Manage Kraken exchange accounts — portfolio, market data, trading, earn/staking, ledger export. REST API via python-kraken-sdk. Use when the user wants to check crypto portfolio, get prices, place/cancel orders, manage staking, export ledger for taxes, deposit/withdraw funds, or interact with Kraken in any way.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "kraken-pro" with this command: npx skills add in-liberty420/kraken-pro

Kraken Skill

Manage your Kraken exchange account via CLI.

Setup

pip3 install -r requirements.txt

Set credentials via environment variables or OpenClaw config (skills.entries.kraken-pro.env).

Get API key: https://www.kraken.com/u/security/api

Commands

Run: python3 kraken_cli.py <command> [options]

All commands accept --json for raw JSON output.

Portfolio (auth required)

CommandDescription
summaryPortfolio overview (handles flex vs bonded earn correctly)
net-worthSingle net worth number
holdingsAsset breakdown with USD values
balanceRaw asset quantities

Market Data (no auth)

CommandDescription
ticker --pair XBTUSDPrice and 24h stats
pairsTrading pairs
assetsAsset list

Order History (auth required)

CommandDescription
open-ordersActive orders
closed-orders [--limit N]Completed orders
trades [--limit N] [--csv]Trade execution history (CSV for export)

Ledger (auth required)

ledger [--start YYYY-MM-DD] [--end YYYY-MM-DD] [--asset BTC] [--type trade|deposit|withdrawal|staking] [--csv] [--limit N]

Auto-paginates (Kraken returns max 50/request). --csv dumps raw Kraken data.

Trading (auth required)

All trading commands require --confirm. Use --validate for dry-run.

CommandDescription
buy --pair XBTUSD --type market|limit --amount N [--price P] --confirmPlace buy order
sell --pair XBTUSD --type market|limit --amount N [--price P] --confirmPlace sell order
cancel-order --id OXXXXX --confirmCancel specific order
cancel-all --confirmCancel all open orders

Always confirm with the user before placing real orders. Use --validate first.

Earn/Staking (auth required)

CommandDescription
earn-positionsCurrent staking allocations
earn-strategiesAvailable yield programs
earn-statusPending requests
earn-allocate --strategy-id ID --amount N --confirmStake funds
earn-deallocate --strategy-id ID --amount N --confirmUnstake funds

Funding (auth required)

CommandDescription
deposit-methods --asset BTCDeposit methods for an asset
deposit-address --asset BTCGet deposit address
withdraw --asset BTC --key NAME --amount N --confirmWithdraw to saved address
withdraw-statusRecent withdrawal status

Withdrawal notes:

  • Addresses must be pre-configured in Kraken's web UI (can't add via API)
  • Can't list saved address names via API — ask the user for the key name
  • Addresses are per-asset: a SOL address won't work for USDC withdrawals even if it's the same wallet. Each asset needs its own entry.
  • --key is the saved address name in Kraken, not the actual address

Example Usage

User RequestCommand
What's my portfolio?summary
BTC price?ticker --pair XBTUSD
Export 2025 ledger for taxesledger --start 2025-01-01 --end 2025-12-31 --csv
Export trade historytrades --csv
Buy 0.1 BTC at marketbuy --pair XBTUSD --type market --amount 0.1 --confirm
Show staking positionsearn-positions

Kraken Pair Naming

Kraken uses non-standard names: XBT (not BTC), XETH (not ETH), Z-prefix for fiat (ZUSD, ZCAD). When unsure of a pair name, run pairs --json and grep for the asset.

Portfolio Logic

Kraken has two earn types:

  • Auto Earn (flex): in main wallet, included in trade balance equity
  • Bonded staking: separate earn wallet, NOT in trade balance

summary calculates: Total = Trade Balance Equity + Bonded Staking Only

API Permissions

FeaturePermission
Balances, portfolio, ledgerQuery Funds
Orders, trades (view)Query Open/Closed Orders & Trades
Place/cancel ordersCreate & Modify Orders
Earn allocate/deallocateWithdraw Funds
WithdrawalsWithdraw Funds
Market dataNone

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Ai Freelancing Guide

Provides a complete guide to AI freelancing including niche analysis, pricing, client acquisition, proposal templates, and delivery workflows.

Registry SourceRecently Updated
Coding

Ai Code Assistant

提供多语言AI智能代码处理与批量自动化,显著提升开发效率,适合企业、团队及自由职业者。

Registry SourceRecently Updated
Coding

Life Control

Orchestrate the Life Control CLI skill for OpenClaw agent fleets: initialize the Life Control database, register agent personas, wire Telegram bots, and run daily routines (Morning Alignment, Body Protocol, Financial Pulse, Social Radar, Work Priming, Shutdown). Use when a user asks to create or run a Life Control system, OpenClaw skill integration, or agent persona automation for personal life tracking.

Registry SourceRecently Updated