From 2ab3bb091c68eeb483c9754196e8347afa85af8f Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Tue, 8 Oct 2024 16:55:01 +0200 Subject: [PATCH] [HollaEx] fix exchange details parsing --- .../hollaex_autofilled/hollaex_autofilled_exchange.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Trading/Exchange/hollaex_autofilled/hollaex_autofilled_exchange.py b/Trading/Exchange/hollaex_autofilled/hollaex_autofilled_exchange.py index e14f72eef..f9312c1da 100644 --- a/Trading/Exchange/hollaex_autofilled/hollaex_autofilled_exchange.py +++ b/Trading/Exchange/hollaex_autofilled/hollaex_autofilled_exchange.py @@ -240,10 +240,10 @@ def _parse_autofilled_exchange_details(cls, tentacle_config, kit_details, exchan """ return exchanges.ExchangeDetails( exchange_name, - kit_details["api_name"], - kit_details["links"]["referral_link"], - kit_details["links"]["api"], - kit_details["logo_image"], + kit_details.get("api_name", exchange_name), + kit_details["links"].get("referral_link", ""), + kit_details["info"]["url"], # required (API url) + kit_details.get("logo_image", ""), HollaexAutofilled._has_websocket( tentacle_config, exchange_name