From f455e3327c555755fcee93ec981ec22b1be960f9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 19 Mar 2023 15:01:37 +0100 Subject: [PATCH] Simplify method further --- freqtrade/optimize/optimize_reports.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/freqtrade/optimize/optimize_reports.py b/freqtrade/optimize/optimize_reports.py index 2ac1a785b..c2425deb3 100644 --- a/freqtrade/optimize/optimize_reports.py +++ b/freqtrade/optimize/optimize_reports.py @@ -73,9 +73,9 @@ def _store_backtest_analysis_data( def store_backtest_analysis_results( recordfilename: Path, candles: Dict[str, Dict], trades: Dict[str, Dict], - dtappendix: str) -> Path: - _store_backtest_analysis_data(Path(recordfilename), candles, dtappendix, "signals") - _store_backtest_analysis_data(Path(recordfilename), trades, dtappendix, "rejected") + dtappendix: str) -> None: + _store_backtest_analysis_data(recordfilename, candles, dtappendix, "signals") + _store_backtest_analysis_data(recordfilename, trades, dtappendix, "rejected") def _get_line_floatfmt(stake_currency: str) -> List[str]: