Improve tests of volatilityfilter

This commit is contained in:
Matthias
2020-11-21 16:01:52 +01:00
parent f8fab5c4f8
commit 2e1551a2eb
3 changed files with 36 additions and 3 deletions

View File

@@ -31,8 +31,8 @@ class VolatilityFilter(IPairList):
if self._days < 1:
raise OperationalException("VolatilityFilter requires volatility_over_days to be >= 1")
if self._days > exchange.ohlcv_candle_limit:
raise OperationalException("VolatilityFilter requires volatility_over_days to not exceed "
"exchange max request size "
raise OperationalException("VolatilityFilter requires volatility_over_days to not "
"exceed exchange max request size "
f"({exchange.ohlcv_candle_limit})")
@property