fix: remove unused skip_count variable (lint)
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user