resolved mypy error

error: Signature of "hyperopt_loss_function" incompatible with supertype "IHyperOptLoss"
This commit is contained in:
Robert Roman 2021-09-27 17:33:29 -05:00 committed by GitHub
parent c3414c3b78
commit 626a40252d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,8 @@ class CalmarHyperOptLossDaily(IHyperOptLoss):
trade_count: int, trade_count: int,
min_date: datetime, min_date: datetime,
max_date: datetime, max_date: datetime,
config: Dict,
processed: Dict[str, DataFrame],
backtest_stats: Dict[str, Any], backtest_stats: Dict[str, Any],
*args, *args,
**kwargs **kwargs