Improve wording of log message

This commit is contained in:
Matthias
2024-05-18 20:20:58 +02:00
parent c0d43f6d03
commit c6a5134815
2 changed files with 2 additions and 4 deletions

View File

@@ -370,7 +370,7 @@ class Configuration:
("days", "Detected --days: {}"),
("include_inactive", "Detected --include-inactive-pairs: {}"),
("download_trades", "Detected --dl-trades: {}"),
("convert_trades", "Detected --convert - Converting Trade data to OHCV {}"),
("convert_trades", "Detected --convert: {} - Converting Trade data to OHCV {}"),
("dataformat_ohlcv", 'Using "{}" to store OHLCV data.'),
("dataformat_trades", 'Using "{}" to store trades data.'),
("show_timerange", "Detected --show-timerange"),

View File

@@ -629,9 +629,7 @@ def download_data_main(config: Config) -> None:
trading_mode=config.get("trading_mode", TradingMode.SPOT),
)
if config.get("convert_trades", False) or not exchange.get_option(
"ohlcv_has_history", True
):
if config.get("convert_trades") or not exchange.get_option("ohlcv_has_history", True):
# Convert downloaded trade data to different timeframes
# Only auto-convert for exchanges without historic klines