krakenfx/kraken-cli/kraken-portfolio-intel

Claude Code and agent skill by krakenfx/kraken-cli

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Portfolio analysis, P&L tracking, trade history, and export reports.

Install

npx vskill@latest install krakenfx/kraken-cli/kraken-portfolio-intel

SKILL.md

kraken-portfolio-intel

Use this skill for:

  • reading balances and computing portfolio value
  • tracking trade history and P&L
  • analyzing fee impact and volume tiers
  • exporting reports for external analysis

Balance Overview

Simple balance:

bash
kraken balance -o json 2>/dev/null

Extended balance (includes credit and held amounts):

bash
kraken extended-balance -o json 2>/dev/null

Trade balance (margin, equity, free margin):

bash
kraken trade-balance --asset USD -o json 2>/dev/null

Portfolio Valuation

Combine balances with current prices to compute total portfolio value:

bash
# Get all balances
kraken balance -o json 2>/dev/null
# Get prices for held assets
kraken ticker BTCUSD ETHUSD SOLUSD -o json 2>/dev/null
# Agent calculates:
# value_per_asset = balance * price
# total_value = sum of all values
# weight_per_asset = value / total_value

Trade History

Recent trades:

bash
kraken trades-history -o json 2>/dev/null

With ledger entries for cost basis:

bash
kraken trades-history --ledgers -o json 2>/dev/null

Consolidated taker trades (merge partial fills):

bash
kraken trades-history --consolidate-taker -o json 2>/dev/null

Time-filtered:

bash
kraken closed-orders --start 1704067200 --end 1706745600 -o json 2>/dev/null

Query specific trades by TXID:

bash
kraken query-trades <TXID1> <TXID2> -o json 2>/dev/null

Ledger Analysis

View all ledger entries (trades, deposits, withdrawals, staking):

bash
kraken ledgers -o json 2>/dev/null

Filter by type:

bash
kraken ledgers --type trade -o json 2>/dev/null
kraken ledgers --type deposit -o json 2>/dev/null
kraken ledgers --type withdrawal -o json 2>/dev/null
kraken ledgers --type staking -o json 2>/dev/null

Filter by asset:

bash
kraken ledgers --asset BTC -o json 2>/dev/null

Time range:

bash
kraken ledgers --asset BTC --type trade --start 1704067200 --end 1706745600 -o json 2>/dev/null

Fee Analysis

Check current volume and fee tier:

bash
kraken volume --pair BTCUSD -o json 2>/dev/null

The response includes 30-day volume and the corresponding maker/taker fee rates.

Export Reports

Request a trade or ledger export for offline analysis:

bash
kraken export-report --report trades --description "Q1 2024 trades" --format CSV --starttm 1704067200 --endtm 1711929600 -o json 2>/dev/null

Check export status:

bash
kraken export-status --report trades -o json 2>/dev/null

Download when ready:

bash
kraken export-retrieve <REPORT_ID> -o json 2>/dev/null

Clean up old reports (export-delete is flagged dangerous — the report is gone and must be regenerated, so confirm with the user first):

bash
kraken export-delete <REPORT_ID> -o json 2>/dev/null

Futures Portfolio

Futures account summary:

bash
kraken futures accounts -o json 2>/dev/null

Futures fill history:

bash
kraken futures fills --since 2024-01-01T00:00:00Z -o json 2>/dev/null

Futures execution history:

bash
kraken futures history-executions --sort desc -o json 2>/dev/null

Futures account log (CSV export):

bash
kraken futures history-account-log-csv --since 2024-01-01T00:00:00Z -o json 2>/dev/null

Open Positions

Spot margin positions:

bash
kraken positions --show-pnl -o json 2>/dev/null

Futures positions:

bash
kraken futures positions -o json 2>/dev/null

Context Efficiency

  • Use --offset to page through trades-history, closed-orders and ledgers; deposit status, withdrawal status and earn strategies page with --cursor and --limit.
  • Use --without-count on large history queries to skip count computation.
  • Filter by asset and time range to reduce response size.
  • Use exports for bulk data instead of paginating through REST.

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.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
74
Repository forks
10
7-day trend score
22

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/krakenfx/kraken-cli/kraken-portfolio-intel/badge)](https://verified-skill.com/skills/krakenfx/kraken-cli/kraken-portfolio-intel)

Something wrong with this skill or its page? Tell us.