Use `symbol_data()` in watclist UI

kivy_mainline_and_py3.8
Tyler Goodlet 2018-03-27 16:27:55 -04:00
parent 19303cf0ad
commit 801b9f860b
1 changed files with 2 additions and 2 deletions

View File

@ -393,11 +393,11 @@ async def _async_main(name, tickers, brokermod, rate):
async with brokermod.get_client() as client: async with brokermod.get_client() as client:
async with trio.open_nursery() as nursery: async with trio.open_nursery() as nursery:
# get long term data including last days close price # get long term data including last days close price
sd = await client.symbols(tickers) sd = await client.symbol_data(tickers)
nursery.start_soon( nursery.start_soon(
partial(poll_tickers, client, brokermod.quoter, tickers, queue, partial(poll_tickers, client, brokermod.quoter, tickers, queue,
rate=rate) rate=rate)
) )
# get first quotes response # get first quotes response