Don't reassign method, but implement it properly

This commit is contained in:
Matthias
2022-05-24 06:45:56 +02:00
parent 0a713faca8
commit 904f094b80
2 changed files with 5 additions and 4 deletions

View File

@@ -282,6 +282,7 @@ def refresh_backtest_ohlcv_data(exchange: Exchange, pairs: List[str], timeframes
pairs_not_available = []
data_handler = get_datahandler(datadir, data_format)
candle_type = CandleType.get_default(trading_mode)
process = ''
for idx, pair in enumerate(pairs, start=1):
if pair not in exchange.markets:
pairs_not_available.append(pair)