chore: Support apiKey as config value

(aligns secret configuration with ccxt)
This commit is contained in:
Matthias
2024-07-14 08:57:23 +02:00
parent b9c2868dff
commit 5b2b5285ed
2 changed files with 2 additions and 1 deletions

View File

@@ -338,7 +338,7 @@ class Exchange:
raise OperationalException(f"Exchange {name} is not supported by ccxt")
ex_config = {
"apiKey": exchange_config.get("key"),
"apiKey": exchange_config.get("apiKey", exchange_config.get("key")),
"secret": exchange_config.get("secret"),
"password": exchange_config.get("password"),
"uid": exchange_config.get("uid", ""),