From 2f3cf07579d70b26883a3807436363bd3ca86f9c Mon Sep 17 00:00:00 2001 From: matteoettam09 Date: Tue, 5 Sep 2023 17:30:38 +0000 Subject: [PATCH] fix: no active return dump --- backtest/export/quants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backtest/export/quants.py b/backtest/export/quants.py index 8fb0158..7c843df 100644 --- a/backtest/export/quants.py +++ b/backtest/export/quants.py @@ -110,6 +110,6 @@ def finalize(self) -> None: if self.html_output_file is not None: if self.auto_override or not os.path.exists(self.html_output_file): - quantstats.reports.html(returns, benchmark=benchmark, output=self.html_output_file) + quantstats.reports.html(returns, benchmark=benchmark, output=self.html_output_file, active_returns=False) else: print(f"[warning] {self.html_output_file} already exists", file=sys.stderr) \ No newline at end of file