Remove float conversion of key_id again
parent
3b1078bcba
commit
79956abc5e
|
@ -164,7 +164,7 @@ class Client:
|
||||||
config: BrokerConfig | None = get_config()
|
config: BrokerConfig | None = get_config()
|
||||||
|
|
||||||
if (
|
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._authenticated = True
|
||||||
self._key_id = config.key_id
|
self._key_id = config.key_id
|
||||||
|
@ -397,7 +397,6 @@ def fqsn_to_kucoin_sym(
|
||||||
fqsn: str,
|
fqsn: str,
|
||||||
pairs: dict[str, KucoinMktPair]
|
pairs: dict[str, KucoinMktPair]
|
||||||
|
|
||||||
|
|
||||||
) -> str:
|
) -> str:
|
||||||
pair_data = pairs[fqsn]
|
pair_data = pairs[fqsn]
|
||||||
return pair_data.baseCurrency + "-" + pair_data.quoteCurrency
|
return pair_data.baseCurrency + "-" + pair_data.quoteCurrency
|
||||||
|
|
Loading…
Reference in New Issue