Works with the AI Agents you already use

    Orderbook Microstructure Analysis

    by BanditXBT

    1

    Analyze limit order books: imbalance, OFI, microprice, queue fills, VPIN toxicity, spoofing signs, and venue structure.

    $29

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    About this skill

    Goal: extract short-horizon information from LOB data without confusing it with artifacts of data quality, latency, or venue rules.

    • Know the feed: L1, L2 (aggregated by price), L3 (per-order, with IDs). Queue position and cancel-vs-trade attribution need L3 or inference.

    • Reconstruct the book from snapshot + incremental updates; verify sequence numbers, handle gaps/resyncs, and crossed/locked books. Use exchange timestamps and measure feed-vs-receive skew. Misaligned timestamps between book and trades create fake "predictive" signals.

    • Equities: SIP vs. direct feeds differ in latency. Crypto: per-venue books, no consolidated tape; depth channels may be truncated or throttled.

    • Spread, depth, imbalance: I = (Qb - Qa)/(Qb + Qa) at top-k levels. Weight levels by distance. Top-of-book imbalance is commonly reported to predict the next mid move over very short horizons, with an edge that decays fast and often does not survive spread and fees; test it.

    • Microprice (Stoikov 2018, "The micro-price: a high-frequency estimator of future prices", Quantitative Finance 18(12)): martingale-based estimator of fair price conditioned on imbalance and spread; the common simple form is (Pb*Qa + Pa*Qb)/(Qa+Qb) (an approximation, not the full estimator).

    • Order flow imbalance, OFI (Cont, Kukanov, Stoikov 2014): signed net of best-quote size changes; mid-price changes are approximately linear in OFI, with slope inversely related to depth. Prefer OFI over static imbalance for returns regressions.

    • Trade sign: Lee-Ready is a classic inference on quote-trade data; in crypto use the venue's aggressor flag when given.

    • Realized spread vs. effective spread vs. price impact: effective = 2*s*(P - M0)/M0, realized = 2*s*(P - M_{t+Δ})/M0, impact = effective - realized. Negative realized spread for a maker = adverse selection.

    • Price-time priority: position = shares ahead at your price. Estimate fill probability from queue ahead, arrival rate of marketable orders, and cancel rates ahead of you (cancels ahead move you up). Pro-rata or size-priority venues (some futures) change this logic.

    • Backtests that assume fill at touch ignore queue and overstate maker PnL. Model with a simulator calibrated on L3 or at least discount fills by queue-ahead/fill-rate.

    Educational analysis, not investment advice. Does not supply market data; regulatory dates should be re-checked.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 13 days ago

    Software
    Python 3L2/L3 order book data

    Permissions

    No special permissions declared or detected

    Listed13 days ago

    What's inside

    Frequently Asked Questions

    Analyze limit order books: imbalance, OFI, microprice, queue fills, VPIN toxicity, spoofing signs, and venue structure.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use orderbook-microstructure-analysis on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.