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()