diff --git a/freqtrade/optimize/hyperopt_loss/hyperopt_loss_sharpe.py b/freqtrade/optimize/hyperopt_loss/hyperopt_loss_sharpe.py index f6798b69a..8ebb90fc5 100644 --- a/freqtrade/optimize/hyperopt_loss/hyperopt_loss_sharpe.py +++ b/freqtrade/optimize/hyperopt_loss/hyperopt_loss_sharpe.py @@ -8,9 +8,9 @@ from datetime import datetime from pandas import DataFrame -from freqtrade.optimize.hyperopt import IHyperOptLoss from freqtrade.constants import Config from freqtrade.data.metrics import calculate_sharpe +from freqtrade.optimize.hyperopt import IHyperOptLoss class SharpeHyperOptLoss(IHyperOptLoss): diff --git a/freqtrade/optimize/hyperopt_loss/hyperopt_loss_sortino.py b/freqtrade/optimize/hyperopt_loss/hyperopt_loss_sortino.py index 64a332e9a..a0122a0bf 100644 --- a/freqtrade/optimize/hyperopt_loss/hyperopt_loss_sortino.py +++ b/freqtrade/optimize/hyperopt_loss/hyperopt_loss_sortino.py @@ -8,9 +8,9 @@ from datetime import datetime from pandas import DataFrame -from freqtrade.optimize.hyperopt import IHyperOptLoss from freqtrade.constants import Config from freqtrade.data.metrics import calculate_sortino +from freqtrade.optimize.hyperopt import IHyperOptLoss class SortinoHyperOptLoss(IHyperOptLoss):