From 04a887b04dce084b9035473c9b45ede3a1c28e77 Mon Sep 17 00:00:00 2001 From: gavindiaz Date: Sat, 18 Jul 2026 00:20:21 +0800 Subject: [PATCH] feat(dashboard): add paper/live toggle - /api/live endpoint serves copybot_live_real.json (live bot feed) - Toggle button switches between paper (/api/feed) and live (/api/live) - Live mode shows red button label for visual distinction --- live/bot_dashboard.html | 16 ++++++++++++++-- live/serve_dashboard.py | 5 ++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/live/bot_dashboard.html b/live/bot_dashboard.html index 5e3220fd..c6b9d295 100644 --- a/live/bot_dashboard.html +++ b/live/bot_dashboard.html @@ -53,8 +53,9 @@ footer{text-align:center;color:var(--dim);font-size:12px;margin-top:30px}

Polymarket 跟单 Bot · 实时

连接中… - · 数据更新于 + · 数据更新于 - · 浏览器每 30 秒自动拉取 + ·
@@ -102,8 +103,19 @@ footer{text-align:center;color:var(--dim);font-size:12px;margin-top:30px}