reinitializing Edge calculated data in case of inability to download
backtesting data
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user