Add default to minimal_roi to avoid failures

closes #5796
This commit is contained in:
Matthias
2021-10-27 06:29:35 +02:00
parent 20a61e03da
commit f80d3d48e4
2 changed files with 13 additions and 9 deletions

View File

@@ -65,9 +65,9 @@ class IStrategy(ABC, HyperStrategyMixin):
_populate_fun_len: int = 0
_buy_fun_len: int = 0
_sell_fun_len: int = 0
_ft_params_from_file: Dict = {}
_ft_params_from_file: Dict
# associated minimal roi
minimal_roi: Dict
minimal_roi: Dict = {}
# associated stoploss
stoploss: float