From 7ba11ecdcb557f606ed6deebe2df4583d427bcb6 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Sun, 15 Mar 2026 21:19:56 -0700 Subject: [PATCH] Refactor: Set paper trade notifications to priority 1 --- lib/paper/engine.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/paper/engine.js b/lib/paper/engine.js index f4369e2..ff1cc70 100644 --- a/lib/paper/engine.js +++ b/lib/paper/engine.js @@ -160,7 +160,7 @@ export class PaperEngine { const msg = `๐Ÿ“ PAPER [${trade.strategy}] ${trade.side.toUpperCase()} @ ${trade.price}ยข ($${cost}) | ${trade.reason}`; console.log(`[Paper] ${msg}`); - await notify(msg, `Paper: ${trade.strategy}`); + await notify(msg, `Paper: ${trade.strategy}`, '1'); return trade; } @@ -224,7 +224,7 @@ export class PaperEngine { const emoji = won ? 'โœ…' : 'โŒ'; const msg = `${emoji} [${strategyName}] ${side.toUpperCase()} ${won ? 'WON' : 'LOST'} | PnL: $${pnl.toFixed(2)} | Bal: $${acct.balance.toFixed(2)}`; console.log(`[Paper] ${msg}`); - await notify(msg, won ? `${strategyName} Win!` : `${strategyName} Loss`); + await notify(msg, won ? `${strategyName} Win!` : `${strategyName} Loss`, '1'); allSettled.push(pos); }