recipe-track-orderbook-depth
Monitor order book depth and bid-ask imbalance for liquidity signals.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 80
- Forks
- 17
01 前言 Front Matter
- name
- recipe-track-orderbook-depth
- version
- 1.0.0
- metadata
- { "openclaw": { "domain": "market-data", "category": "recipe" }, "requires": { "bins": [ "kraken" ], "skills": [ "kraken-market-intel", "kraken-ws-streaming" ] } }
- description
- Monitor order book depth and bid-ask imbalance for liquidity signals.
02 资源文件 3
- 许可证LICENSE1.0 KB
- 参考文档SOURCE.md171 B
- 参考文档TRUST.auto.yaml2.2 KB
03 SKILL.md 正文
Track Order Book Depth
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.
Steps
- Get a snapshot:
kraken orderbook BTCUSD --count 25 -o json 2>/dev/null - Sum bid volume (top 10 levels) and ask volume (top 10 levels)
- Calculate imbalance ratio: bid_volume / (bid_volume + ask_volume)
- Ratio > 0.6: strong bid-side (buying pressure)
- Ratio < 0.4: strong ask-side (selling pressure)
- Start streaming for continuous monitoring:
kraken ws book BTC/USD --depth 10 -o json 2>/dev/null - Parse each update and recalculate imbalance
- Alert when imbalance crosses threshold
- Optionally compare across pairs (one call per pair):
kraken orderbook BTCUSD --count 10 -o json 2>/dev/nullthenkraken 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.
04 同仓库更多 Skills
recipe-performance
Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold/warm/background-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout/paint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.
mexc-spot-websocket
MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.
mexc-spot-rest
MEXC Spot REST workflows for public data, signed account requests, orders, wallet/admin actions, and secure signing without exposing API keys.
mexc-futures-websocket
MEXC Futures WebSocket workflows for public streams, private account/order/position streams, ping/pong, subscriptions, and depth maintenance.
0xklen-version-and-refresh-sanctions-lists
暂无简介
verify-tests-cover-changed-lines
Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.