chore: add support for "walletAddress" and "privateKey"

part of #10377
This commit is contained in:
Matthias
2024-07-14 09:05:25 +02:00
parent 5b2b5285ed
commit 1c46b287d7
2 changed files with 5 additions and 0 deletions

View File

@@ -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)