diff --git a/sysproduction/reporting/data/pandl.py b/sysproduction/reporting/data/pandl.py index 17e77d6f93..08bc9d8157 100644 --- a/sysproduction/reporting/data/pandl.py +++ b/sysproduction/reporting/data/pandl.py @@ -80,7 +80,7 @@ def get_strategy_pandl_and_residual(self): total_pandl = get_total_capital_pandl(self.data, self.start_date, self.end_date) residual_pandl = total_pandl - total_pandl_strategies residual_dfrow = pd.DataFrame(dict(codes=["residual"], pandl=residual_pandl)) - strategies_pandl = strategies_pandl.append(residual_dfrow) + strategies_pandl = strategies_pandl._append(residual_dfrow) strategies_pandl.pandl = strategies_pandl.pandl return strategies_pandl