recipe-portfolio-snapshot-csv
Export a portfolio snapshot with balances and valuations to CSV.
Best use case
recipe-portfolio-snapshot-csv is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Export a portfolio snapshot with balances and valuations to CSV.
Teams using recipe-portfolio-snapshot-csv should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/kraken-official-recipe-portfolio-snapshot-csv/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How recipe-portfolio-snapshot-csv Compares
| Feature / Agent | recipe-portfolio-snapshot-csv | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Export a portfolio snapshot with balances and valuations to CSV.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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
Related Skills
okx-wallet-portfolio
This skill should be used when the user asks to 'check my wallet balance', 'show my token holdings', 'how much OKB do I have', 'what tokens do I have', 'check my portfolio value', 'view my assets', 'how much is my portfolio worth', 'what\'s in my wallet', or mentions checking wallet balance, total assets, token holdings, portfolio value, remaining funds, DeFi positions, or multi-chain balance lookup. Supports XLayer, Solana, Ethereum, Base, BSC, Arbitrum, Polygon, and 20+ other chains. Do NOT use for general programming questions about balance variables or API documentation. Do NOT use when the user is asking how to build or integrate a balance feature into code.
okx-cex-portfolio
This skill should be used when the user asks about 'account balance', 'how much USDT do I have', 'my funding account', 'show my positions', 'open positions', 'position P&L', 'unrealized PnL', 'closed positions', 'position history', 'realized PnL', 'account bills', 'transaction history', 'trading fees', 'fee tier', 'account config', 'max order size', 'how much can I buy', 'withdrawable amount', 'transfer funds', 'move USDT to trading account', or 'switch position mode'. Requires API credentials. Do NOT use for market prices (use okx-cex-market), placing/cancelling orders (use okx-cex-trade), or grid/DCA bots (use okx-cex-bot).
recipe-withdrawal-to-cold-storage
Safely withdraw funds to a pre-approved cold storage address.
recipe-weekly-rebalance
Run a weekly portfolio rebalance to maintain target asset allocations.
recipe-trailing-stop-runner
Ride a trend with a trailing stop that locks in profits on reversal.
recipe-track-orderbook-depth
Monitor order book depth and bid-ask imbalance for liquidity signals.
recipe-subaccount-capital-rotation
Rotate capital between subaccounts based on strategy performance.
recipe-start-dca-bot
Set up and run a dollar cost averaging bot from paper test to live.
recipe-price-level-alerts
Set up price level alerts that notify when key levels are crossed.
recipe-paper-strategy-backtest
Backtest a trading strategy using paper trading against live prices.
recipe-multi-pair-breakout-watch
Monitor multiple pairs for price breakouts from defined ranges.
recipe-morning-market-brief
Generate a morning market summary with prices, volume, and portfolio state.