Liquidity Monitor & Order Book Analysis

SkillMonitoring & ops

About AI quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Liquidity Monitor & Order Book Analysis skill

What this skill tells your AI

The instructions your AI receives, as published by signal-execution-labs/forex-trading-ai-agent in skills/liquidity-monitor/SKILL.md and read by ahel’s review.

Description

Real-time order book depth analysis and liquidity monitoring for optimal trade execution.

Features

  • Order Book Depth - Track bid/ask depth at multiple levels
  • Liquidity Scoring - Rate asset liquidity (A-F grade)
  • Spread Analysis - Bid-ask spread monitoring with alerts
  • Slippage Estimator - Predict slippage for order sizes
  • Whale Detection - Identify large orders/walls
  • Imbalance Alerts - Order book imbalance notifications
  • VWAP Tracking - Volume-weighted average price
  • Execution Quality - Post-trade analysis vs benchmarks

Use Cases

  1. Optimal Entry - Wait for better liquidity before entry
  2. Exit Planning - Size exits based on available liquidity
  3. Market Making - Identify spread opportunities
  4. Whale Following - Track large order movements
  5. HFT Signals - Microstructure-based signals

Commands

liquidity check BTC/USDT
orderbook depth ETH/USDT --levels 20
slippage estimate BTC/USDT --size 50000
spread alert BTC/USDT --max 0.1%
whale watch BTC/USDT --min-size 1000000
vwap track SPY --window 1d
execution analyze --trade-id xyz123
liquidity heatmap --top 50

Parameters

ParameterTypeDefaultDescription
levelsint10Order book depth levels
min_sizefloat10000Minimum USD for whale detection
spread_alertfloat0.5%Alert when spread exceeds
imbalance_ratiofloat2.0Bid/ask imbalance threshold
update_intervalstring1sReal-time update frequency
exchangestringautoExchange for order book data

Liquidity Grades

GradeSpreadDepth ($1M)Description
A+<0.01%>$50MInstitutional grade
A<0.05%>$10MHighly liquid
B<0.1%>$1MGood liquidity
C<0.5%>$100KModerate
D<1%>$10KThin
F>1%<$10KIlliquid - avoid

Outputs

  • Real-time order book visualization
  • Liquidity score and grade
  • Slippage estimates for order sizes
  • Whale order alerts
  • Spread history charts
  • Execution quality reports

Technical Implementation

  • WebSocket connections to exchange order books
  • Redis for real-time data caching
  • Time-series database for historical depth
  • Streaming aggregation for VWAP
  • ML models for slippage prediction

Risk Considerations

  • Order books can be spoofed (fake orders)
  • Liquidity can evaporate quickly in volatility
  • Different exchanges have different depth
  • Latency matters for execution decisions

Signals

GitHub stars
136
Forks
870
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
liquidity-monitor
Source
github.com/signal-execution-labs/forex-trading-ai-agent