[SQUASH] Fix parameter configs not loading.

This commit is contained in:
Rokas Kupstys 2021-03-26 14:25:17 +02:00
parent 424cd2a914
commit bbe6ece38d
2 changed files with 2 additions and 1 deletions

View File

@ -146,7 +146,7 @@ class HyperStrategyMixin(object):
strategy logic. strategy logic.
""" """
def __init__(self): def __init__(self, *args, **kwargs):
""" """
Initialize hyperoptable strategy mixin. Initialize hyperoptable strategy mixin.
""" """

View File

@ -141,6 +141,7 @@ class IStrategy(ABC, HyperStrategyMixin):
self.config = config self.config = config
# Dict to determine if analysis is necessary # Dict to determine if analysis is necessary
self._last_candle_seen_per_pair: Dict[str, datetime] = {} self._last_candle_seen_per_pair: Dict[str, datetime] = {}
super().__init__(config)
@abstractmethod @abstractmethod
def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame: def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame: