From 79956abc5eee4aa116ac47a3c46f067a86ab90db Mon Sep 17 00:00:00 2001 From: jaredgoldman Date: Fri, 24 Mar 2023 20:23:33 -0400 Subject: [PATCH] Remove float conversion of key_id again --- piker/brokers/kucoin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/piker/brokers/kucoin.py b/piker/brokers/kucoin.py index 2748a778..2fbfcbc5 100644 --- a/piker/brokers/kucoin.py +++ b/piker/brokers/kucoin.py @@ -164,7 +164,7 @@ class Client: config: BrokerConfig | None = get_config() if ( - config and float(config.key_id) and config.key_secret and config.key_passphrase + config and config.key_id and config.key_secret and config.key_passphrase ): self._authenticated = True self._key_id = config.key_id @@ -397,7 +397,6 @@ def fqsn_to_kucoin_sym( fqsn: str, pairs: dict[str, KucoinMktPair] - ) -> str: pair_data = pairs[fqsn] return pair_data.baseCurrency + "-" + pair_data.quoteCurrency