From 004ff50325f8f3c81d660f91929da5280713e9ee Mon Sep 17 00:00:00 2001 From: jackyu66git Date: Mon, 4 May 2026 00:07:32 +0800 Subject: [PATCH] =?UTF-8?q?web:=20spread=20highlight=20threshold=200.1%=20?= =?UTF-8?q?=E2=86=92=200.2%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/static/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/static/app.js b/web/static/app.js index c6ddf63..e2105d5 100644 --- a/web/static/app.js +++ b/web/static/app.js @@ -139,7 +139,7 @@ eventHandlers.prices = (prices) => { // P3-2: Add spread column const spread = row['bg_hl_spread']; - const spreadCls = spread > 0.1 ? 'text-green' : spread < -0.1 ? 'text-red' : ''; + const spreadCls = spread > 0.2 ? 'text-green' : spread < -0.2 ? 'text-red' : ''; const spreadStr = spread != null ? spread.toFixed(4) + '%' : '-'; html += `${coin}${cells.join('')}${spreadStr}`; @@ -158,7 +158,7 @@ eventHandlers.arb = (opps) => { } const html = opps.slice(0, 10).map(opp => { - const cls = opp.net_profit > 0.1 ? 'text-green' : opp.net_profit > 0.05 ? 'text-yellow' : ''; + const cls = opp.net_profit > 0.10 ? 'text-green' : opp.net_profit > 0.05 ? 'text-yellow' : ''; return ` ${opp.coin} ${opp.direction}