This commit is contained in:
gbojen
2021-04-07 22:25:54 +02:00
parent 5ee879a747
commit f8244d9d76
2 changed files with 6 additions and 5 deletions

View File

@@ -94,8 +94,9 @@ class VolatilityFilter(IPairList):
:return: True if the pair can stay, false if it should be removed
"""
# Check symbol in cache
if pair in self._pair_cache:
return self._pair_cache[pair]
cached_res = self._pair_cache.get(pair, None)
if cached_res is not None:
return cached_res
result = False
if daily_candles is not None and not daily_candles.empty: