kraken-alert-patterns
Price alerts, threshold monitoring, and notification triggers for agents.
Monitor order book depth and bid-ask imbalance for liquidity signals.
Claude Code
$ npx -y skills add krakenfx/kraken-cli --skill recipe-track-orderbook-depth --agent claude-code
Codex
$ npx skills add krakenfx/kraken-cli --skill recipe-track-orderbook-depth -a codex -y
Cursor
$ npx skills add krakenfx/kraken-cli --skill recipe-track-orderbook-depth -a cursor -y
Gemini CLI
$ npx skills add krakenfx/kraken-cli --skill recipe-track-orderbook-depth -a gemini-cli -y
GitHub Copilot
$ npx skills add krakenfx/kraken-cli --skill recipe-track-orderbook-depth -a github-copilot -y
OpenCode
$ npx skills add krakenfx/kraken-cli --skill recipe-track-orderbook-depth -a opencode -y
Windsurf
$ npx skills add krakenfx/kraken-cli --skill recipe-track-orderbook-depth -a windsurf -y
name: recipe-track-orderbook-depth
version: 1.0.0
description: "Monitor order book depth and bid-ask imbalance for liquidity signals."
metadata:
openclaw:
category: "recipe"
domain: "market-data"
requires:
bins: ["kraken"]
skills: ["kraken-market-intel", "kraken-ws-streaming"]> **PREREQUISITE:** Load the following skills to execute this recipe: `kraken-market-intel`, `kraken-ws-streaming`
Monitor order book depth for a pair and detect bid-ask imbalance as a liquidity signal.
1. Get a snapshot: `kraken orderbook BTCUSD --count 25 -o json 2>/dev/null` 2. Sum bid volume (top 10 levels) and ask volume (top 10 levels) 3. Calculate imbalance ratio: bid_volume / (bid_volume + ask_volume)
4. Start streaming for continuous monitoring: `kraken ws book BTC/USD --depth 10 -o json 2>/dev/null` 5. Parse each update and recalculate imbalance 6. Alert when imbalance crosses threshold 7. Optionally compare across pairs (one call per pair): `kraken orderbook BTCUSD --count 10 -o json 2>/dev/null` then `kraken orderbook ETHUSD --count 10 -o json 2>/dev/null`
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`.
Trade on Kraken from your terminal, or let your AI agent trade for you. One install covers crypto, tokenized U.S. stocks and ETFs (for non-U.S. customers), forex, and futures. Every command can answer in JSON.
Price alerts, threshold monitoring, and notification triggers for agents.
Progress from manual trading to full agent autonomy with controlled risk at each level.
Capture the spot-futures price spread with delta-neutral basis trades.
Dollar cost averaging with scheduled buys and performance tracking.
Discover staking strategies, allocate funds, and track earn positions.
Handle order failures, network errors, and duplicate submissions safely.
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .…
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .…