Agent Skillskrakenfx/kraken-cli › kraken-multi-pair

kraken-multi-pair

GitHub

用于同时监控多个交易对,支持批量快照、流式传输、价差与成交量筛选及期货监控,辅助构建观察列表和机会识别。

skills/kraken-multi-pair/SKILL.md krakenfx/kraken-cli

Trigger Scenarios

需要同时查看多个交易对的实时价格或行情 比较不同资产的表现、流动性或成交量 构建自动化交易监控列表

Install

npx skills add krakenfx/kraken-cli --skill kraken-multi-pair -g -y
More Options

Use without installing

npx skills use krakenfx/kraken-cli@kraken-multi-pair

指定 Agent (Claude Code)

npx skills add krakenfx/kraken-cli --skill kraken-multi-pair -a claude-code -g -y

安装 repo 全部 skill

npx skills add krakenfx/kraken-cli --all -g -y

预览 repo 内 skill

npx skills add krakenfx/kraken-cli --list

SKILL.md

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

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.

Version History

  • aa56e59 Current 2026-08-20 04:44

    v0.4.0更新:响应Schema标准化,新增kraken feedback命令,Futures WebSocket URL增加可信主机白名单限制,以及工具链升级。

  • aa32814 2026-07-25 10:28

Same Skill Collection

skills/kraken-alert-patterns/SKILL.md
skills/kraken-autonomy-levels/SKILL.md
skills/kraken-basis-trading/SKILL.md
skills/kraken-dca-strategy/SKILL.md
skills/kraken-earn-staking/SKILL.md
skills/kraken-error-recovery/SKILL.md
skills/kraken-fee-optimization/SKILL.md
skills/kraken-funding-carry/SKILL.md
skills/kraken-funding-ops/SKILL.md
skills/kraken-futures-risk/SKILL.md
skills/kraken-grid-trading/SKILL.md
skills/kraken-lab-experiment/SKILL.md
skills/kraken-liquidation-guard/SKILL.md
skills/kraken-market-intel/SKILL.md
skills/kraken-mcp-integration/SKILL.md
skills/kraken-order-types/SKILL.md
skills/kraken-paper-strategy/SKILL.md
skills/kraken-paper-to-live/SKILL.md
skills/kraken-playground/SKILL.md
skills/kraken-portfolio-intel/SKILL.md
skills/kraken-rate-limits/SKILL.md
skills/kraken-rebalancing/SKILL.md
skills/kraken-risk-operations/SKILL.md
skills/kraken-setup/SKILL.md
skills/kraken-spot-execution/SKILL.md
skills/kraken-stop-take-profit/SKILL.md
skills/kraken-subaccount-ops/SKILL.md
skills/kraken-tax-export/SKILL.md
skills/kraken-twap-execution/SKILL.md
skills/kraken-ws-streaming/SKILL.md
skills/recipe-basis-trade-entry/SKILL.md
skills/recipe-daily-pnl-report/SKILL.md
skills/recipe-drawdown-circuit-breaker/SKILL.md
skills/recipe-earn-yield-compare/SKILL.md
skills/recipe-emergency-flatten/SKILL.md
skills/recipe-fee-tier-progress/SKILL.md
skills/recipe-funding-rate-scan/SKILL.md
skills/recipe-futures-hedge-spot/SKILL.md
skills/recipe-launch-grid-bot/SKILL.md
skills/recipe-morning-market-brief/SKILL.md
skills/recipe-multi-pair-breakout-watch/SKILL.md
skills/recipe-paper-strategy-backtest/SKILL.md
skills/recipe-playground-dca-triggered/SKILL.md
skills/recipe-playground-dca/SKILL.md
skills/recipe-playground-price-alert/SKILL.md
skills/recipe-playground-rebalance/SKILL.md
skills/recipe-playground-webhook/SKILL.md
skills/recipe-portfolio-snapshot-csv/SKILL.md
skills/recipe-price-level-alerts/SKILL.md

Metadata

Files
0
Version
aa56e59
Hash
0daff56f
Indexed
2026-07-25 10:28

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 12:29
浙ICP备14020137号-1 $Гость$