PolymarketClickHouse Workshops

Polymarket learner track

A two-hour path from public live data to a ClickHouse Cloud market pulse dashboard.

Your computer
macOS terminal: Run workshop commands in Terminal using zsh or bash.

Work the modules in order. Each page states its input, exact commands, expected result, and completion check.

Progress

  1. Setup — prepare macOS or WSL 2, create the Cloud service, and load the environment.
  2. Discover markets — inspect active markets, outcomes, condition IDs, and token IDs.
  3. Model the data — create typed tables and the one-minute midpoint materialized view.
  4. Stream live data — run the collector and verify live or degraded-but-current ingestion.
  5. Real-time aggregates — read quote-midpoint OHLC from an incremental aggregate.
  6. Investigate movement — query movers, spread, freshness, and volume velocity.
  7. Cloud dashboard — save the queries and publish the market pulse dashboard.
  8. AI market analyst — make a ClickHouse Agent detect a move, investigate it, and referee its answer with SQL.
  9. Wrap up — prove completion, stop the collector, and understand the Kafka/ClickPipes scale-up path.

Guardrails

  • Public market data only. No wallet, trading account, API secret, order, or financial advice.
  • ClickHouse Cloud is the only database. Docker runs one stateless collector.
  • Live mode is preferred. Fixture mode is an explicit fallback for a blocked or quiet feed.
  • Never commit .env.polymarket.

Start with Module 00.

On this page

Track your progress?

Optional. We email a link to confirm your address; progress records once you open it.

Please use your work email address, not a personal one.

Progress tracking also requires accepting the current Terms of Service in Privacy settings.

EN