Loading...
Loading...
Skill for detecting institutional order flow patterns (absorption, exhaustion, imbalance, sweep) from L2 market depth and trade data.
npx skill4agent add saanjaypatil78/trading-platform orderflow-analysisUse the trading-orderflow MCP server to establish WebSocket connection.
Call: connect_l2_stream(symbol: str, provider: "alpaca" | "polygon")Track bid/ask walls and imbalance ratios.
Call: get_orderbook_state(symbol: str) -> returns current book snapshotCall: analyze_footprint(symbol: str, window_seconds: int)
Returns: List[FootprintSignal] with pattern type, direction, confidence| Signal Type | Description | Suggested Action |
|---|---|---|
| ABSORPTION | Heavy volume absorbed without price movement | Fade the volume direction |
| EXHAUSTION | Declining volume at S/R | Prepare for reversal |
| IMBALANCE | 3:1+ buy/sell ratio | Follow imbalance direction |
| SWEEP | Multiple levels cleared rapidly | Momentum follow |
Call: validate_signal(signal: FootprintSignal, quantity: float) -> ConfirmationResult# Agent detects high-confidence absorption
signal = await analyze_footprint("AAPL", window_seconds=60)
if signal.signal_type == "ABSORPTION" and signal.confidence == "HIGH":
# Validate before execution
result = await validate_signal(signal, quantity=100)
if result.approved:
# Proceed to execute-trade skill
await execute_confirmed_trade(result)