Merge pull request #2276 from freqtrade/keep_original_config

Allow easy printing of loaded configuration
This commit is contained in:
hroff-1902
2019-09-20 20:59:33 +03:00
committed by GitHub
3 changed files with 25 additions and 5 deletions

View File

@@ -90,6 +90,9 @@ class Configuration:
# Load all configs
config: Dict[str, Any] = self.load_from_files(self.args["config"])
# Keep a copy of the original configuration file
config['original_config'] = deepcopy(config)
self._process_common_options(config)
self._process_optimize_options(config)