kraken-multi-pair

star 630

Monitor multiple trading pairs simultaneously for screening and comparison.

krakenfx By krakenfx schedule Updated 3/6/2026

name: kraken-multi-pair version: 1.0.0 description: "Monitor multiple trading pairs simultaneously for screening and comparison." metadata: openclaw: category: "finance" requires: bins: ["kraken"]


kraken-multi-pair

Use this skill for:

  • screening multiple pairs at once (price, spread, volume)
  • comparing relative performance across assets
  • building watchlists for agent-driven monitoring
  • identifying opportunity across a pair universe

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.c[0], volume: .value.v[1]}'

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.a[0] | tonumber) - (.value.b[0] | tonumber))}'

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

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

  • Batch pairs into a single command instead of one call per pair.
  • Use streaming for continuous monitoring; use REST snapshots for periodic checks.
  • Limit watchlist size to reduce context window consumption when passing results to an agent.
Install via CLI
npx skills add https://github.com/krakenfx/kraken-cli --skill kraken-multi-pair
Repository Details
star Stars 630
call_split Forks 80
navigation Branch main
article Path SKILL.md
More from Creator