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}