Skip to main content
This recipe is the short-term market-data layer for a trader or quant bot. It ranks a finite watchlist across multiple timeframes, then inspects the top contracts for orderbook depth and liquidity before any execution policy can act.

Install

Script

Production notes

  • Keep tickers finite. Full-universe scans should run through a server-side index, not unbounded client polling.
  • Use continueOnError: true so one stale ticker does not stop the whole scan.
  • Inspect orderbook depth before trading from a candle signal.
  • Combine this packet with risk limits, settlement checks, external references, and explicit execution guardrails.

Next steps

Market candles guide

Read the canonical SDK and Agent SDK API shape.

Agent trader loop

Add policy-gated execution after research and risk checks.