From 626a40252d445d7f2108175a931820e41db4f7bf Mon Sep 17 00:00:00 2001 From: Robert Roman Date: Mon, 27 Sep 2021 17:33:29 -0500 Subject: [PATCH] resolved mypy error error: Signature of "hyperopt_loss_function" incompatible with supertype "IHyperOptLoss" --- freqtrade/optimize/hyperopt_loss_calmar_daily.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freqtrade/optimize/hyperopt_loss_calmar_daily.py b/freqtrade/optimize/hyperopt_loss_calmar_daily.py index c7651a72a..e99bc2c99 100644 --- a/freqtrade/optimize/hyperopt_loss_calmar_daily.py +++ b/freqtrade/optimize/hyperopt_loss_calmar_daily.py @@ -26,6 +26,8 @@ class CalmarHyperOptLossDaily(IHyperOptLoss): trade_count: int, min_date: datetime, max_date: datetime, + config: Dict, + processed: Dict[str, DataFrame], backtest_stats: Dict[str, Any], *args, **kwargs