From a28cf7adbab9eea856d0ff011a8b3e945c4629c4 Mon Sep 17 00:00:00 2001 From: anor Date: Tue, 10 Mar 2026 13:33:45 +1000 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=B8=D1=81=D0=BA=D0=BB=D1=8E=D1=87?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20phantom=5Fcleanup=20=D0=B8=D0=B7=20=D1=83?= =?UTF-8?q?=D1=82=D1=80=D0=B5=D0=BD=D0=BD=D0=B5=D0=B3=D0=BE=20=D0=BE=D1=82?= =?UTF-8?q?=D1=87=D1=91=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- src/remizov_trader/notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remizov_trader/notify.py b/src/remizov_trader/notify.py index 7eb000b..e671d51 100644 --- a/src/remizov_trader/notify.py +++ b/src/remizov_trader/notify.py @@ -272,7 +272,7 @@ def format_morning_report(cfg, conn) -> str: rows = conn.execute( "SELECT ticker, direction, entry_price, exit_price, exit_reason, pnl_net, pnl_pct " "FROM positions WHERE status='closed' AND exit_date >= ? " - "AND exit_reason NOT IN ('live_buy_failed', 'manual_reset') " + "AND exit_reason NOT IN ('live_buy_failed', 'manual_reset', 'phantom_cleanup') " "ORDER BY id DESC", (since[:10],) ).fetchall()