chore: don't modify original dict when initializing ccxt

This commit is contained in:
Matthias
2024-11-07 07:03:01 +01:00
parent 979f7ba78c
commit 29c1cca990

View File

@@ -379,7 +379,7 @@ class Exchange:
logger.info("Applying additional ccxt config: %s", ccxt_kwargs)
if self._ccxt_params:
# Inject static options after the above output to not confuse users.
ccxt_kwargs = deep_merge_dicts(self._ccxt_params, ccxt_kwargs)
ccxt_kwargs = deep_merge_dicts(self._ccxt_params, deepcopy(ccxt_kwargs))
if ccxt_kwargs:
ex_config.update(ccxt_kwargs)
try: