Merge pull request #11027 from xzmeng/fix-cond

fix: invert API download condition from `and` to `or`
This commit is contained in:
Matthias
2024-12-02 18:22:58 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ class Binance(Exchange):
if ( if (
self._config["exchange"].get("only_from_ccxt", False) self._config["exchange"].get("only_from_ccxt", False)
and or
# only download timeframes with significant improvements, # only download timeframes with significant improvements,
# otherwise fall back to rest API # otherwise fall back to rest API
not ( not (