From 99e94f81beba27ec1a66a0e927752ee8a68729a5 Mon Sep 17 00:00:00 2001 From: jaredgoldman Date: Sun, 19 Mar 2023 14:48:47 -0400 Subject: [PATCH] Make broker creds/auth optional --- piker/brokers/kucoin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) ):