NewsAtlas/backend/app
Amir Alexander Abdelbaki d66c6b08aa Add Polymarket trending-bets panel with an independently-scrolling split rail
New backend/app/polymarket.py polls Polymarket's public Gamma REST API
(gamma-api.polymarket.com, no key/wallet needed) for the top 10 markets by
24h volume. Their site itself renders market data entirely client-side —
confirmed by inspecting the raw HTML response, which contains no embedded
listings — so this is the only way to get real data; there's nothing to
scrape from the page. In-memory snapshot like flights.py, not persisted.

Right rail is now a fixed 50/50 split between the Polymarket list and the
markets ticker, each scrolling independently instead of one long list
pushing the other down.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Um48tTvZDrEgDeweFyhPYC
2026-07-20 16:02:49 +02:00
..
data Add flights overlay, globe icon sprites, and economic incident history 2026-07-20 14:31:21 +02:00
__init__.py Initial commit: NewsAtlas news globe 2026-07-20 13:49:00 +02:00
clustering.py Add heuristic incident correlation, IRNA source, flatten news icon color 2026-07-20 14:49:09 +02:00
config.py Add Polymarket trending-bets panel with an independently-scrolling split rail 2026-07-20 16:02:49 +02:00
conflict.py Initial commit: NewsAtlas news globe 2026-07-20 13:49:00 +02:00
db.py Volatility-adaptive spike detection + multi-instrument overlay charts 2026-07-20 15:21:37 +02:00
flights.py Add flights overlay, globe icon sprites, and economic incident history 2026-07-20 14:31:21 +02:00
geocode.py Initial commit: NewsAtlas news globe 2026-07-20 13:49:00 +02:00
ingest.py Initial commit: NewsAtlas news globe 2026-07-20 13:49:00 +02:00
main.py Add Polymarket trending-bets panel with an independently-scrolling split rail 2026-07-20 16:02:49 +02:00
markets.py Backfill a week of market history on first startup; UI polish 2026-07-20 15:44:53 +02:00
models.py Volatility-adaptive spike detection + multi-instrument overlay charts 2026-07-20 15:21:37 +02:00
polymarket.py Add Polymarket trending-bets panel with an independently-scrolling split rail 2026-07-20 16:02:49 +02:00
scheduler.py Add Polymarket trending-bets panel with an independently-scrolling split rail 2026-07-20 16:02:49 +02:00
sources.yaml Add heuristic incident correlation, IRNA source, flatten news icon color 2026-07-20 14:49:09 +02:00
textutil.py Add heuristic incident correlation, IRNA source, flatten news icon color 2026-07-20 14:49:09 +02:00
wikipedia.py Initial commit: NewsAtlas news globe 2026-07-20 13:49:00 +02:00