reinitializing Edge calculated data in case of inability to download

backtesting data
This commit is contained in:
misagh
2018-11-07 19:24:53 +01:00
parent 3330d327ed
commit 866da8aaa1
2 changed files with 4 additions and 2 deletions

View File

@@ -92,6 +92,8 @@ class Edge():
)
if not data:
# Reinitializing cached pairs
self._cached_pairs = {}
logger.critical("No data found. Edge is stopped ...")
return False