Per-contract window tracking
Separate state machines for 5m (30s), 15m (60s), and 4h (60s) averaging windows.
An open-source polymarket twap trading bot rebuilt for Polymarket's time-weighted average price settlement — tracking 5m, 15m, and 4h windows with Chainlink RTDS feeds and CLOB execution on Polygon.
Polymarket crypto Up/Down markets no longer settle on a single price tick. This polymarket trading bot forecasts the projected final average inside each settlement window — the only signal that matters after August 7, 2026.
Separate state machines for 5m (30s), 15m (60s), and 4h (60s) averaging windows.
Trade decisions gated on projected final TWAP, not current spot price.
Sits out windows when Chainlink RTDS feed lag exceeds safety threshold.
Traffic budgeted per window to avoid tripping limits during peak volatility.
Production-oriented polymarket twap bot tooling for automated prediction market trading.
Real-time Polymarket order book and Chainlink TWAP oracle feeds.
Track 5m, 15m, and 4h contracts simultaneously without cross-contamination.
Entry/exit rules against projected TWAP average and market odds.
Validate strategies against reconstructed TWAP windows before going live.
From Chainlink oracle feed to Polymarket CLOB execution.
┌─────────────────┐ ┌──────────────────┐ ┌───────────────────┐
│ Chainlink RTDS │────▶│ TWAP Window │────▶│ Strategy Engine │
│ (oracle feed) │ │ Tracker (per │ │ (projected-average │
│ │ │ contract type) │ │ decisioning) │
└─────────────────┘ └──────────────────┘ └───────────────────┘
│
▼
┌───────────────────┐
│ Polymarket Order │
│ Execution Layer │
└───────────────────┘