From 4634f1f3fce566e371c52ac83eaeee6badad9bb5 Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Thu, 16 Apr 2026 00:07:29 +0000 Subject: [PATCH] fix: remove unused skip_count variable (lint) --- services/trading/backtest_replay.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/services/trading/backtest_replay.py b/services/trading/backtest_replay.py index e891d7e..8170149 100644 --- a/services/trading/backtest_replay.py +++ b/services/trading/backtest_replay.py @@ -146,7 +146,6 @@ class BacktestReplay: day_recs = recs_by_date.get(current_date, []) act_count = 0 - skip_count = 0 # Process recommendations for this day for rec in day_recs: @@ -194,8 +193,8 @@ class BacktestReplay: if day_recs: logger.info( - "Backtest day %s: %d recs, %d act, %d skip, positions=%d, pool=$%.2f", - current_date, len(day_recs), act_count, len(day_recs) - act_count, + "Backtest day %s: %d recs, %d act, positions=%d, pool=$%.2f", + current_date, len(day_recs), act_count, len(simulated_positions), portfolio_state.active_pool, )