Fix Polymarket Crypto API

Замовник: AI | Опубліковано: 24.01.2026
Бюджет: 250 $

I’m building a 15-minute crypto trading routine that relies on Polymarket’s Gamma and CLOB endpoints, but my current script keeps failing to connect. The core problem is API connectivity: the calls time-out or return empty payloads even though the same keys work elsewhere. What I need from you is straightforward: show me the exact REST/WebSocket endpoints for Gamma and CLOB, patch or rewrite the failing portions of my script so they return live order-book data and recent trades, and confirm that everything streams or polls cleanly on a 15-minute cycle without dropped packets or authentication errors. Acceptance criteria • Working code I can run locally that pings the endpoints, authenticates, and prints usable JSON for each 15-minute window. • Clear inline comments explaining any new parameters, headers, or signing steps. • A short README detailing dependencies and the correct launch command. If you’ve wrestled with Polymarket before—or generally solve connectivity issues for crypto APIs—this should be a quick fix. i need it added to code, fully working without error so i can just run on cpu