diff --git a/main.py b/main.py index f6c96be..6b65cce 100644 --- a/main.py +++ b/main.py @@ -831,7 +831,7 @@ def run_daily_test(self, test_date=None, pipeline_stats=None, backtest_signals=N invested_notional = float((open_positions_now["entry_price"] * open_positions_now["quantity"]).sum() or 0.0) available_cash = float(current_capital) - invested_notional - period_start_core = self.tracker.get_performance_period_start() + period_start_core = self.core_tracker.get_performance_period_start() report = { 'date': test_date.date(), 'performance_period_start': period_start_core,