diff --git a/freqtrade/configuration/config_secrets.py b/freqtrade/configuration/config_secrets.py index 273b597ed..c1775c247 100644 --- a/freqtrade/configuration/config_secrets.py +++ b/freqtrade/configuration/config_secrets.py @@ -18,6 +18,8 @@ def sanitize_config(config: Config, *, show_sensitive: bool = False) -> Config: "exchange.secret", "exchange.password", "exchange.uid", + "exchange.walletAddress", + "exchange.privateKey", "telegram.token", "telegram.chat_id", "discord.webhook_url", diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 8ed311825..4b824c48f 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -342,6 +342,9 @@ class Exchange: "secret": exchange_config.get("secret"), "password": exchange_config.get("password"), "uid": exchange_config.get("uid", ""), + # DEX attributes: + "walletAddress": exchange_config.get("walletAddress"), + "privateKey": exchange_config.get("privateKey"), } if ccxt_kwargs: logger.info("Applying additional ccxt config: %s", ccxt_kwargs)