diff --git a/piker/brokers/kucoin.py b/piker/brokers/kucoin.py index b8d9c503..947d0a3b 100644 --- a/piker/brokers/kucoin.py +++ b/piker/brokers/kucoin.py @@ -156,7 +156,8 @@ class Client: config = get_config() if ( - float("key_id" in config) + config + and float("key_id" in config) and ("key_secret" in config) and ("key_passphrase" in config) ):