Support accountId as exchange secret

This commit is contained in:
Matthias 2024-07-16 18:26:51 +02:00
parent 5c371133a0
commit f5a92fcfc5
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ def sanitize_config(config: Config, *, show_sensitive: bool = False) -> Config:
"exchange.secret",
"exchange.password",
"exchange.uid",
"exchange.accountId",
"exchange.walletAddress",
"exchange.privateKey",
"telegram.token",

View File

@ -342,6 +342,7 @@ class Exchange:
"secret": exchange_config.get("secret"),
"password": exchange_config.get("password"),
"uid": exchange_config.get("uid", ""),
"accountId": exchange_config.get("accountId", ""),
# DEX attributes:
"walletAddress": exchange_config.get("walletAddress"),
"privateKey": exchange_config.get("privateKey"),