diff --git a/services/trading/backtest_replay.py b/services/trading/backtest_replay.py index c7578d1..4f85c7b 100644 --- a/services/trading/backtest_replay.py +++ b/services/trading/backtest_replay.py @@ -109,12 +109,14 @@ class BacktestReplay: # Process recommendations for this day for rec in day_recs: # Set a timestamp within trading window for evaluation + # Use 11:00 AM ET (within trading window) for simulation + from services.trading.trading_window import ET sim_time = datetime( current_date.year, current_date.month, current_date.day, - 10, 0, 0, - tzinfo=timezone.utc, + 11, 0, 0, + tzinfo=ET, ) decision = engine.evaluate_recommendation(