Commit Graph

4 Commits (main)

Author SHA1 Message Date
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
Amir Alexander Abdelbaki 54022ad66f Volatility-adaptive spike detection + multi-instrument overlay charts
Spike detection now requires a move to clear an absolute floor AND (once
there's enough price history) be a configurable multiple of that
instrument's own recent typical move — MARKET_SPIKE_VOLATILITY_MULTIPLIER,
_recent_volatility() in markets.py — so a routinely volatile instrument
needs a bigger move to register than a normally-calm one, instead of one
fixed percentage for everything. Falls back to the floor alone until
there's enough history.

Economic Incident History: each incident gets two lazy-loaded overlay
charts (all tracked instruments, and just the incident's own), each
instrument normalized to % change from the window start so they're
comparable despite very different price scales/currencies — makes it easy
to see whether a move was isolated or broad, and to spot counter-reactions.
Backend: /api/markets/history now accepts an explicit start/end window
alongside the existing hours= param.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Um48tTvZDrEgDeweFyhPYC
2026-07-20 15:21:37 +02:00
Amir Alexander Abdelbaki 8e2c5efdbe Add flights overlay, globe icon sprites, and economic incident history
Flights: live OpenSky global air traffic as airplane-icon sprites, magenta
for heuristically-flagged military aircraft vs. globe-tint violet for
civilian, with a military-only filter and hover tooltips.

Globe rendering: news clusters and conflict events switch from three-globe's
built-in point/ring primitives to a custom Sprite-based objects layer so
they render as tinted newspaper/helmet icons respectively, while keeping
existing click/hover behavior and the conflict pulsing-ring effect.

Economic Incident History: a dedicated view (new top-left "i" button) listing
every detected market spike with a full-clock-hour correlation window and
the complete list of articles published in it, not just a relevance-capped
preview.

Also: LXC/Proxmox deployment scripts (deploy/lxc/) driven by a gitignored
prebuild-config.json, and three additional RSS sources (CNN, Jacobin, Der
Standard).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Um48tTvZDrEgDeweFyhPYC
2026-07-20 14:31:21 +02:00
Amir Alexander Abdelbaki d52cb8b12e Initial commit: NewsAtlas news globe
nginx-fronted stack that pulls RSS from an ideologically mixed set of
outlets, geocodes stories onto a 3D globe with zoom-adaptive clustering,
tracks market/oil prices with spike-to-article correlation, and overlays
weather, conflict events, Wikipedia lookups, and parliament diagrams.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Um48tTvZDrEgDeweFyhPYC
2026-07-20 13:49:00 +02:00