skills/kraken-multi-pair/SKILL.md
Monitor multiple trading pairs simultaneously for screening and comparison.
npx skillsauth add krakenfx/kraken-cli kraken-multi-pairInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill for:
Pass multiple pairs to a single ticker call:
kraken ticker BTCUSD ETHUSD SOLUSD DOTUSD -o json 2>/dev/null
The response contains one object per pair. Extract and compare:
kraken ticker BTCUSD ETHUSD SOLUSD -o json 2>/dev/null | jq 'to_entries[] | {pair: .key, last: .value.c[0], volume: .value.v[1]}'
Stream tickers for several pairs simultaneously:
kraken ws ticker BTC/USD ETH/USD SOL/USD -o json 2>/dev/null
Each NDJSON line includes a pair identifier. Route updates by pair in the agent loop:
kraken ws ticker BTC/USD ETH/USD SOL/USD -o json 2>/dev/null | while read -r line; do
PAIR=$(echo "$line" | jq -r '.data[0].symbol // empty')
LAST=$(echo "$line" | jq -r '.data[0].last // empty')
[ -n "$PAIR" ] && echo "$PAIR: $LAST"
done
List all tradable pairs:
kraken pairs -o json 2>/dev/null
Filter to USD-quoted pairs for a consistent base:
kraken pairs -o json 2>/dev/null | jq '[to_entries[] | select(.key | endswith("USD")) | .key]'
Compare bid-ask spreads across pairs to gauge liquidity:
kraken ticker BTCUSD ETHUSD SOLUSD -o json 2>/dev/null | jq 'to_entries[] | {pair: .key, spread: ((.value.a[0] | tonumber) - (.value.b[0] | tonumber))}'
Identify high-volume pairs from a watchlist:
kraken ticker BTCUSD ETHUSD SOLUSD ADAUSD DOTUSD -o json 2>/dev/null | jq 'to_entries | sort_by(-(.value.v[1] | tonumber)) | .[] | {pair: .key, vol_24h: .value.v[1]}'
Monitor multiple futures contracts:
kraken futures tickers -o json 2>/dev/null
Stream multiple futures tickers:
kraken futures ws ticker PF_XBTUSD PF_ETHUSD -o json 2>/dev/null
Define a watchlist as a space-separated string and reuse across commands:
WATCHLIST="BTCUSD ETHUSD SOLUSD ADAUSD DOTUSD"
kraken ticker $WATCHLIST -o json 2>/dev/null
kraken ws ticker $WATCHLIST -o json 2>/dev/null
tools
Connect MCP clients to kraken-cli for native tool calling without subprocess wrappers.
testing
Safely withdraw funds to a pre-approved cold storage address.
testing
Run a weekly portfolio rebalance to maintain target asset allocations.
testing
Ride a trend with a trailing stop that locks in profits on reversal.