MN://WORK/polymarket-analyzer
Polymarket Analyzer
Realtime terminal dashboard over Polymarket public APIs — Gamma discovery, CLOB REST and WebSocket, and the Data API — with live prices and automatic reconnection.
- TypeScript
- Bun
- WebSocket
- TUI
$ trace "polymarket-analyzer"
- Gamma discovery
- CLOB stream
- reconnect
- TUI panels
The problem
Prediction market data is spread across a discovery API, an order book API and a data API, and a browser tab is a poor place to watch all three move.
The constraint
The data is live production data, not a mock, so a dropped WebSocket has to recover on its own rather than silently freeze the screen.
The approach
Gamma discovery, CLOB REST and WebSocket and the Data API feed an eight-panel terminal dashboard covering market data, order book, history and holders, with reconnection on exponential backoff.
The outcome
A terminal interface where the reconnection behaviour is part of the product, because the feed is real.
Next route
Open another project
The index is the wider system.