From b61f43835d20a5b3b18120bcc944fcbf244de8de Mon Sep 17 00:00:00 2001 From: hroff-1902 Date: Thu, 5 Dec 2019 01:11:06 +0300 Subject: [PATCH] Make flake happy --- freqtrade/optimize/hyperopt.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/freqtrade/optimize/hyperopt.py b/freqtrade/optimize/hyperopt.py index 97810d75a..eb3546756 100644 --- a/freqtrade/optimize/hyperopt.py +++ b/freqtrade/optimize/hyperopt.py @@ -354,11 +354,11 @@ class Hyperopt: if self.has_space('trailing'): self.backtesting.strategy.trailing_stop = params_dict['trailing_stop'] self.backtesting.strategy.trailing_stop_positive = \ - params_dict['trailing_stop_positive'] + params_dict['trailing_stop_positive'] self.backtesting.strategy.trailing_stop_positive_offset = \ - params_dict['trailing_stop_positive_offset'] + params_dict['trailing_stop_positive_offset'] self.backtesting.strategy.trailing_only_offset_is_reached = \ - params_dict['trailing_only_offset_is_reached'] + params_dict['trailing_only_offset_is_reached'] processed = load(self.tickerdata_pickle)