From e478a1f08d057665f152608090bcd7ab712d0d62 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Mon, 25 May 2026 05:51:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=20Polymarket=20=E5=B8=82=E5=9C=BA?= =?UTF-8?q?=E7=9A=84=E5=9F=8E=E5=B8=82=E4=B9=9F=E7=94=9F=E6=88=90=E4=BB=85?= =?UTF-8?q?=E8=A7=82=E6=B5=8B=E8=A1=8C=EF=BC=8C=E7=BB=88=E7=AB=AF=E8=A6=86?= =?UTF-8?q?=E7=9B=96=E6=89=80=E6=9C=89=2051=20=E5=9F=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/scan_terminal_city_row.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/web/scan_terminal_city_row.py b/web/scan_terminal_city_row.py index 4c5d6f0e..48eff4aa 100644 --- a/web/scan_terminal_city_row.py +++ b/web/scan_terminal_city_row.py @@ -163,6 +163,25 @@ def _scan_city_terminal_rows( if not isinstance(raw_rows, list) or not raw_rows: raw_rows = [scan.get("primary_signal")] if isinstance(scan.get("primary_signal"), dict) else [] if not raw_rows: + # No Polymarket market for this city — still emit an observation-only row + fallback_row = { + "id": f"{city}|{target_date}|live_only", + "city": city, + "side": "", + "edge_percent": None, + "final_score": None, + "volume": None, + "selected_date": target_date, + "market_slug": None, + "is_primary_signal": True, + } + row = _build_terminal_row( + city=city, + data=data, + scan=scan, + row=fallback_row, + ) + rows.append(row) continue for raw_row in raw_rows: if not isinstance(raw_row, dict) or not raw_row: