Add duration_explanation functions

This commit is contained in:
Matthias
2020-12-07 11:08:54 +01:00
parent c993831a04
commit 0e2a43ab4d
6 changed files with 63 additions and 14 deletions

View File

@@ -29,7 +29,7 @@ class StoplossGuard(IProtection):
Short method description - used for startup-messages
"""
return (f"{self.name} - Frequent Stoploss Guard, {self._trade_limit} stoplosses "
f"within {self._lookback_period} minutes.")
f"within {self.lookback_period_str}.")
def _reason(self) -> str:
"""