Add warning about cache problems

This commit is contained in:
Matthias
2022-01-16 18:01:05 +01:00
parent 062d00e8f2
commit 2bcfc0c90c
2 changed files with 5 additions and 0 deletions

View File

@@ -753,6 +753,7 @@ class Backtesting:
}
# Load previous result that will be updated incrementally.
# This can be circumvented in certain instances in combination with downloading more data
if self.timerange.stopts == 0 or datetime.fromtimestamp(
self.timerange.stopts, tz=timezone.utc) > datetime.now(tz=timezone.utc):
self.config['no_backtest_cache'] = True