From 9d777cb2c69ef1d98675b474054bc2007380dd48 Mon Sep 17 00:00:00 2001 From: Brandon Li Date: Sun, 30 Aug 2026 18:41:20 -0500 Subject: [PATCH] Stop logging the autoLiq floor for every account One line per account on every sync, which on a multi-firm instance buries anything worth reading in `pm2 logs autofirmer`. The threshold is still recorded on the client and still drives the dead-account checks; it just is not narrated any more. Co-Authored-By: Claude Opus 5 --- lib/tradovate-class.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/tradovate-class.ts b/lib/tradovate-class.ts index bd47495..4058ff3 100644 --- a/lib/tradovate-class.ts +++ b/lib/tradovate-class.ts @@ -283,9 +283,6 @@ export class TradovateClient { const isSentinel = limit >= 999999999; const floor = (!isSentinel && limit > 0 && drawdown > 0) ? limit - drawdown : 0; this.autoLiqThresholds[accountId] = floor; - if (floor > 0) { - console.log(`[autoLiq] account ${accountId} → floor $${floor} (hwm=$${limit} drawdown=$${drawdown})`); - } } this.accountList = ((response.accounts ?? []) as AccountItem[]).map((account) => {