Remove float conversion of key_id again

small_kucoin_fixes
jaredgoldman 2023-03-24 20:23:33 -04:00
parent 788e158d9f
commit dfd030a6aa
1 changed files with 1 additions and 2 deletions

View File

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