kraken-alert-patterns
Price alerts, threshold monitoring, and notification triggers for agents.
Export trade history, ledgers, and cost basis data for tax reporting.
Claude Code
$ npx -y skills add krakenfx/kraken-cli --skill kraken-tax-export --agent claude-code
Codex
$ npx skills add krakenfx/kraken-cli --skill kraken-tax-export -a codex -y
Cursor
$ npx skills add krakenfx/kraken-cli --skill kraken-tax-export -a cursor -y
Gemini CLI
$ npx skills add krakenfx/kraken-cli --skill kraken-tax-export -a gemini-cli -y
GitHub Copilot
$ npx skills add krakenfx/kraken-cli --skill kraken-tax-export -a github-copilot -y
OpenCode
$ npx skills add krakenfx/kraken-cli --skill kraken-tax-export -a opencode -y
Windsurf
$ npx skills add krakenfx/kraken-cli --skill kraken-tax-export -a windsurf -y
name: kraken-tax-export
version: 1.0.0
description: "Export trade history, ledgers, and cost basis data for tax reporting."
metadata:
openclaw:
category: "finance"
requires:
bins: ["kraken"]
skills: ["kraken-portfolio-intel"]Use this skill for:
Request a full trade export for a tax year:
kraken export-report --report trades --description "2024 tax year" --format CSV --starttm 1704067200 --endtm 1735689600 -o json 2>/dev/null
Check status:
kraken export-status --report trades -o json 2>/dev/null
Download when ready:
kraken export-retrieve <REPORT_ID> -o json 2>/dev/null
Clean up after download:
kraken export-delete <REPORT_ID> -o json 2>/dev/null
Ledgers capture all account activity (trades, deposits, withdrawals, staking rewards, fees):
kraken export-report --report ledgers --description "2024 full ledger" --format CSV --starttm 1704067200 --endtm 1735689600 -o json 2>/dev/null
For smaller date ranges, query directly:
kraken trades-history --ledgers --consolidate-taker -o json 2>/dev/null
Filter by time:
kraken closed-orders --start 1704067200 --end 1735689600 -o json 2>/dev/null
Futures trades are exported separately:
kraken futures history-executions --since 2024-01-01T00:00:00Z --before 2025-01-01T00:00:00Z --sort asc -o json 2>/dev/null
Futures account log (CSV):
kraken futures history-account-log-csv --since 2024-01-01T00:00:00Z --before 2025-01-01T00:00:00Z -o json 2>/dev/null
Complete picture for tax reconciliation:
kraken deposit status --start 1704067200 --end 1735689600 -o json 2>/dev/null kraken withdrawal status --start 1704067200 --end 1735689600 -o json 2>/dev/null
Staking rewards appear as ledger entries of type `staking`:
kraken ledgers --type staking --start 1704067200 --end 1735689600 -o json 2>/dev/null
1. Export all trades for the tax year (CSV). 2. Import into tax software (Koinly, CoinTracker, etc.). 3. Verify deposit/withdrawal records match exchange data. 4. Cross-reference staking rewards from ledger entries. 5. Generate tax report.
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.
Price alerts, threshold monitoring, and notification triggers for agents.
Progress from manual trading to full agent autonomy with controlled risk at each level.
Capture the spot-futures price spread with delta-neutral basis trades.
Dollar cost averaging with scheduled buys and performance tracking.
Discover staking strategies, allocate funds, and track earn positions.
Handle order failures, network errors, and duplicate submissions safely.
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .…
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .…