recipe-track-orderbook-depth

Monitor order book depth and bid-ask imbalance for liquidity signals.

23 stars

Best use case

recipe-track-orderbook-depth is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Monitor order book depth and bid-ask imbalance for liquidity signals.

Teams using recipe-track-orderbook-depth should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/kraken-official-recipe-track-orderbook-depth/SKILL.md --create-dirs "https://raw.githubusercontent.com/jiayaoqijia/cryptoskill/main/skills/exchanges/kraken-official-recipe-track-orderbook-depth/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/kraken-official-recipe-track-orderbook-depth/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How recipe-track-orderbook-depth Compares

Feature / Agentrecipe-track-orderbook-depthStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Monitor order book depth and bid-ask imbalance for liquidity signals.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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

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)
   - Ratio > 0.6: strong bid-side (buying pressure)
   - Ratio < 0.4: strong ask-side (selling pressure)
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`

Related Skills