From 801b9f860b104eaca1d22166517824a90e85ca6b Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 27 Mar 2018 16:27:55 -0400 Subject: [PATCH] Use `symbol_data()` in watclist UI --- piker/ui/watchlist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piker/ui/watchlist.py b/piker/ui/watchlist.py index 4aa3b268..b6bc410c 100644 --- a/piker/ui/watchlist.py +++ b/piker/ui/watchlist.py @@ -393,11 +393,11 @@ async def _async_main(name, tickers, brokermod, rate): async with brokermod.get_client() as client: async with trio.open_nursery() as nursery: # get long term data including last days close price - sd = await client.symbols(tickers) + sd = await client.symbol_data(tickers) nursery.start_soon( partial(poll_tickers, client, brokermod.quoter, tickers, queue, - rate=rate) + rate=rate) ) # get first quotes response