Backend: backfill_market_history() fetches 7 days of hourly price bars per instrument on first container start (skipped once an instrument has more than a day of real history, so restarts don't re-run it) and runs the same spike-detection logic retroactively, so the Economic Incident History view is already populated instead of empty for a week. Runs as a genuine one-time APScheduler job, separate from the recurring polls. Also: FROZEN/ERROR overlay badges on market ticker items (MOEX's known-stale Yahoo feed, and any instrument whose last poll actually failed), each labeled with the instrument name; a big magenta date/time heading per economic incident; and the incident article list is now a collapsed fold-out (some incidents merge to 60 stories) instead of always fully expanded. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Um48tTvZDrEgDeweFyhPYC |
||
|---|---|---|
| .. | ||
| app | ||
| Dockerfile | ||
| requirements.txt | ||