惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LangChain Blog
V
V2EX
爱范儿
爱范儿
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Martin Fowler
Martin Fowler
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Apple Machine Learning Research
Apple Machine Learning Research
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
宝玉的分享
宝玉的分享
Last Week in AI
Last Week in AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
小众软件
小众软件
Vercel News
Vercel News
博客园 - 司徒正美
阮一峰的网络日志
阮一峰的网络日志
V
Visual Studio Blog
J
Java Code Geeks
P
Proofpoint News Feed
MongoDB | Blog
MongoDB | Blog
B
Blog
美团技术团队
量子位

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Building a free Polymarket screener: how I turned 13,963 ...
manja316 · 2026-05-26 · via DEV Community

manja316

Polymarket has thousands of markets. Their UI is built for depth on a single market — bet slip, orderbook, charts — not for scanning across the universe. If you want to ask "what dropped 20pp overnight" or "which crypto markets are sub-20¢ with real volume," there's no built-in view.

So I built one. It's free, it's static, it rebuilds from the public Gamma API every few hours, and the source is on GitHub. This post is how it works.

The data layer

The Polymarket Gamma API (https://gamma-api.polymarket.com/markets) is paginated and unauthenticated. The "active universe" is much smaller than the lifetime market count Polymarket advertises:

import requests

def fetch_active_markets():
    out, offset = [], 0
    while True:
        r = requests.get(
            "https://gamma-api.polymarket.com/markets",
            params={"closed": "false", "limit": 500, "offset": offset},
            timeout=30,
        ).json()
        if not r:
            break
        out.extend(r)
        offset += 500
    return out

Enter fullscreen mode Exit fullscreen mode

That pulls ~1,200 currently-tradable markets in 3 paginated calls. The other ~12,800 indexed are resolved or expired — useful for backtesting but not for a "what's moving now" screener.

Ranking: movers vs volume

Two top-of-page lists:

Top 24h movers: sorted by abs(one_day_change) descending, filtered to volume24hr > 1000 to drop dust.

Volume leaders: sorted by volume24hr descending. Mostly the same 8-10 megamarkets day-to-day (election props, BTC year-end), which is exactly why you need the movers view.

Crash signal: one_day_change <= -0.15 — a proxy for "fell off a recent local high." Backtested on a separate dataset (5,629 events, see cross-signal-data) at 73% mean-reversion rate, but the live screener column is a proxy not the same signal — caveats are in the repo's methodology discussion.

Why static + GitHub Pages

The screener regenerates as a flat HTML file every few hours via a single Python script. No backend, no database, no auth, no costs. The whole site is docs/index.html + per-market detail pages + a small CSS file. Deploy = git push. Total hosting bill = $0.

The tradeoff: data is up to a few hours stale. For a screener that's a feature, not a bug — you're scanning for setups, not executing in microseconds.

What I'd build next (and won't, alone)

  • WebSocket layer for live price ticks on top of the static base
  • Open-interest column (not in Gamma; needs CLOB orderbook crawl)
  • Alerts: "ping me when any crypto market crosses 20pp overnight"
  • A "movers within volume" intersection view (asked about it in Discussion #5 — feedback welcome)

Try it

The screener itself stays free forever. The historical SQLite dataset (10.8M snapshots, 43+ days of depth) is what funds the hosting.