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); }