From 218a253c2cdd73ef676c2ea4c42a4974eb2e78be Mon Sep 17 00:00:00 2001 From: Marc Blatter Date: Sat, 4 Jul 2026 13:25:44 +0200 Subject: [PATCH] Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py --- src/__pycache__/web_dashboard.cpython-310.pyc | Bin 19685 -> 19519 bytes src/web_dashboard.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/__pycache__/web_dashboard.cpython-310.pyc b/src/__pycache__/web_dashboard.cpython-310.pyc index d93c44922496bc5da953f613999e8d5fa535ba53..149aff9fec962e369cfbe5ab73051194471bc893 100644 GIT binary patch delta 50 zcmaDllX3qHM&5j0UM>b8*!b8sC(m)bz>uMupm>j<>n;8<*LC6Dk{|}iJ3W-0eLwJcD4!z z3ib->+Ug2c3hL^$2r0die7DSs)D#UPO(fCy12AAZQB<5f@7$${k TFiaG?!INbzBsa%eJQ4-~H1|L@ diff --git a/src/web_dashboard.py b/src/web_dashboard.py index a7243c4..4c4af9d 100644 --- a/src/web_dashboard.py +++ b/src/web_dashboard.py @@ -531,13 +531,13 @@ html_content = """ const dailyPnl = data.daily_pnl || 0; const dailyPnl_chf = dailyPnl * 0.84; const dailyPnlEl = document.getElementById('daily-pnl'); - dailyPnlEl.textContent = `$${dailyPnl >= 0 ? '+' : ''}${dailyPnl.toFixed(2)}${dailyPnl_chf >= 0 ? '+' : ''}`; + dailyPnlEl.textContent = ; dailyPnlEl.className = 'card-value ' + (dailyPnl >= 0 ? 'positive' : 'negative'); const totalPnl = data.total_pnl || 0; const totalPnl_chf = totalPnl * 0.84; const totalPnlEl = document.getElementById('total-pnl'); - totalPnlEl.textContent = `$${totalPnl >= 0 ? '+' : ''}${totalPnl.toFixed(2)}${totalPnl_chf >= 0 ? '+' : ''}`; + totalPnlEl.textContent = ; totalPnlEl.className = 'card-value ' + (totalPnl >= 0 ? 'positive' : 'negative'); // Update performance