Skip to content
Finance
Skill

/recipe-portfolio-snapshot-csv

Export a portfolio snapshot with balances and valuations to CSV.

From plugin
kraken-cli
81459 skills1 MCP

Claude Code

$ npx -y skills add krakenfx/kraken-cli --skill recipe-portfolio-snapshot-csv --agent claude-code

SKILL.md

recipe-portfolio-snapshot-csv.SKILL.md
name: recipe-portfolio-snapshot-csv
version: 1.0.0
description: "Export a portfolio snapshot with balances and valuations to CSV."
metadata:
  openclaw:
    category: "recipe"
    domain: "portfolio"
  requires:
    bins: ["kraken"]
    skills: ["kraken-portfolio-intel"]

Portfolio Snapshot to CSV

> **PREREQUISITE:** Load the following skill to execute this recipe: `kraken-portfolio-intel`

Capture a point-in-time portfolio snapshot combining balances, prices, and earn allocations.

Steps

1. Get all balances: `kraken balance -o json 2>/dev/null` 2. Identify held assets (non-zero balances) 3. Get prices for all held assets: `kraken ticker BTCUSD ETHUSD SOLUSD -o json 2>/dev/null` 4. Get earn allocations: `kraken earn allocations --hide-zero-allocations --converted-asset USD -o json 2>/dev/null` 5. Calculate USD value per asset 6. Check futures positions: `kraken futures positions -o json 2>/dev/null` 7. Format as CSV: `asset, balance, price_usd, value_usd, earn_allocated, total_exposure` 8. Output to stdout or write to file 9. Include timestamp and total portfolio value as header row

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`.

@krakenfx
Ships withkraken-cli

Trade on Kraken from your terminal, or let your AI agent trade for you. One install covers crypto, tokenized U.S. stocks and ETFs (for non-U.S. customers), forex, and futures. Every command can answer in JSON.

81459 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
814
Star history of krakenfx/kraken-cli on GitHub, a chart by star-history.com

Other skills on kraken-cli.

More skills from other plugins.

ccxt-cli

ccxt-cli

CCXT command-line interface (ccxt-cli) for interacting with 100+ cryptocurrency exchanges directly from the terminal — no code…

ccxt11d45k
@ccxt@ccxtInstall Skill

Questions about recipe-portfolio-snapshot-csv.

Which coding agents can use recipe-portfolio-snapshot-csv?
recipe-portfolio-snapshot-csv installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.