跳到正文
FunCoding

kraken-multi-pair

Monitor multiple trading pairs simultaneously for screening and comparison.

Star
825
许可证
MIT
最近提交
2026年10月29日

skills/kraken-multi-pair/SKILL.md

在 GitHub 上查看

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.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

  • 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.

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.

相似的 Skill

rea-tool-design

MOmorluto/rea485k近 7 天新增 7,690 个 star

research

MAmattpocock/skills336k近 7 天新增 4,217 个 star

benchmark-methodology

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star

brand

NEnextlevelbuilder/ui-ux-pro-max-skill156k近 7 天新增 2,623 个 star

banner-design

NEnextlevelbuilder/ui-ux-pro-max-skill156k近 7 天新增 2,623 个 star

mode-creator

THthedotmack/claude-mem121k近 7 天新增 1,354 个 star