Kraken official multi pair

From jiayaoqijia/cryptoskill · View interactive version

Kraken official multi pair is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Monitor multiple trading pairs simultaneously for screening and comparison.

How to use this skill

Skill file

kraken-multi-pair

Use this skill for:

Multi-Pair Ticker Snapshot

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.last_price, volume: .value.volume_24h}'

Multi-Pair Streaming

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

Pair Discovery

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]'

Spread Comparison

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.ask_price - .value.bid_price)}'

Volume Screening

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.volume_24h) | .[] | {pair: .key, vol_24h: .value.volume_24h}'

Futures Multi-Symbol

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

Watchlist Pattern

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

Context Efficiency

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.