Move lookback_period to parent __init__

This commit is contained in:
Matthias
2020-12-07 08:27:14 +01:00
parent f13e9ce5ed
commit eb952d77be
5 changed files with 3 additions and 3 deletions

View File

@@ -24,6 +24,7 @@ class IProtection(LoggingMixin, ABC):
self._config = config
self._protection_config = protection_config
self._stop_duration = protection_config.get('stop_duration', 60)
self._lookback_period = protection_config.get('lookback_period', 60)
LoggingMixin.__init__(self, logger)