validate config for utils too

This commit is contained in:
Matthias 2020-01-02 10:41:10 +01:00
parent 9325880fe5
commit 20fc3b7978

View File

@ -12,7 +12,8 @@ from colorama import init as colorama_init
from tabulate import tabulate
from freqtrade.configuration import (Configuration, TimeRange,
remove_credentials)
remove_credentials,
validate_config_consistency)
from freqtrade.configuration.directory_operations import (copy_sample_files,
create_userdata_dir)
from freqtrade.constants import USERPATH_HYPEROPTS, USERPATH_STRATEGY
@ -40,6 +41,7 @@ def setup_utils_configuration(args: Dict[str, Any], method: RunMode) -> Dict[str
# Ensure we do not use Exchange credentials
remove_credentials(config)
validate_config_consistency(config)
return config