Remove block from download-trades for futures

This commit is contained in:
Matthias
2024-03-02 13:22:41 +01:00
parent 66e43f2fe8
commit 5e7868a28d

View File

@@ -520,8 +520,6 @@ def download_data_main(config: Config) -> None:
# Start downloading
try:
if config.get('download_trades'):
if config.get('trading_mode') == 'futures':
raise OperationalException("Trade download not supported for futures.")
pairs_not_available = refresh_backtest_trades_data(
exchange, pairs=expanded_pairs, datadir=config['datadir'],
timerange=timerange, new_pairs_days=config['new_pairs_days'],