Improve wording of log message
This commit is contained in:
@@ -370,7 +370,7 @@ class Configuration:
|
|||||||
("days", "Detected --days: {}"),
|
("days", "Detected --days: {}"),
|
||||||
("include_inactive", "Detected --include-inactive-pairs: {}"),
|
("include_inactive", "Detected --include-inactive-pairs: {}"),
|
||||||
("download_trades", "Detected --dl-trades: {}"),
|
("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_ohlcv", 'Using "{}" to store OHLCV data.'),
|
||||||
("dataformat_trades", 'Using "{}" to store trades data.'),
|
("dataformat_trades", 'Using "{}" to store trades data.'),
|
||||||
("show_timerange", "Detected --show-timerange"),
|
("show_timerange", "Detected --show-timerange"),
|
||||||
|
|||||||
@@ -629,9 +629,7 @@ def download_data_main(config: Config) -> None:
|
|||||||
trading_mode=config.get("trading_mode", TradingMode.SPOT),
|
trading_mode=config.get("trading_mode", TradingMode.SPOT),
|
||||||
)
|
)
|
||||||
|
|
||||||
if config.get("convert_trades", False) or not exchange.get_option(
|
if config.get("convert_trades") or not exchange.get_option("ohlcv_has_history", True):
|
||||||
"ohlcv_has_history", True
|
|
||||||
):
|
|
||||||
# Convert downloaded trade data to different timeframes
|
# Convert downloaded trade data to different timeframes
|
||||||
# Only auto-convert for exchanges without historic klines
|
# Only auto-convert for exchanges without historic klines
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user