diff --git a/freqtrade/optimize/hyperopt_loss/hyperopt_loss_short_trade_dur.py b/freqtrade/optimize/hyperopt_loss/hyperopt_loss_short_trade_dur.py index 12565f10e..6c6e0a8cb 100644 --- a/freqtrade/optimize/hyperopt_loss/hyperopt_loss_short_trade_dur.py +++ b/freqtrade/optimize/hyperopt_loss/hyperopt_loss_short_trade_dur.py @@ -53,4 +53,5 @@ class ShortTradeDurHyperOptLoss(IHyperOptLoss): # Create an alias for This to allow the legacy Method to work as well. -DefaultHyperOptLoss = ShortTradeDurHyperOptLoss +class DefaultHyperOptLoss(ShortTradeDurHyperOptLoss): + pass