diff --git a/piker/brokers/questrade.py b/piker/brokers/questrade.py index 6c0427ed..330580af 100644 --- a/piker/brokers/questrade.py +++ b/piker/brokers/questrade.py @@ -261,14 +261,10 @@ class Client: """Return stock quotes for each ticker in ``tickers``. """ t2ids = await self.tickers2ids(tickers) - ids = ','.join(t2ids.values()) - quotes = (await self.api.quotes(ids=ids)) - - # set None for all symbols not found - if len(t2ids) < len(tickers): - for ticker in tickers: - if ticker not in quotes: - quotes[ticker] = None + quotes = [] + if t2ids: + ids = ','.join(t2ids.values()) + quotes = (await self.api.quotes(ids=ids)) return quotes