mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-16 19:20:31 +00:00
Add verification for volatilityfilter
This commit is contained in:
@@ -47,6 +47,9 @@ class VolatilityFilter(IPairList):
|
||||
if self._days > candle_limit:
|
||||
raise OperationalException("VolatilityFilter requires lookback_days to not "
|
||||
f"exceed exchange max request size ({candle_limit})")
|
||||
if self._sort_direction not in [None, 'asc', 'desc']:
|
||||
raise OperationalException("VolatilityFilter requires sort_direction to be "
|
||||
"either None (undefined), 'asc' or 'desc'")
|
||||
|
||||
@property
|
||||
def needstickers(self) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user