Fix imports

questrade_candles
Tyler Goodlet 2020-05-26 13:15:12 -04:00
parent 9b91ecd408
commit ffd8bdac5f
1 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ def monitor(config, rate, name, dhost, test, tl):
log.error(f"No symbols found for watchlist `{name}`?") log.error(f"No symbols found for watchlist `{name}`?")
return return
from .ui.monitor import _async_main from ..ui.monitor import _async_main
async def main(tries): async def main(tries):
async with maybe_spawn_brokerd_as_subactor( async with maybe_spawn_brokerd_as_subactor(
@ -284,7 +284,7 @@ def optschain(config, symbol, date, tl, rate, test):
loglevel = config['loglevel'] loglevel = config['loglevel']
brokername = config['broker'] brokername = config['broker']
from .ui.option_chain import _async_main from ..ui.option_chain import _async_main
async def main(tries): async def main(tries):
async with maybe_spawn_brokerd_as_subactor( async with maybe_spawn_brokerd_as_subactor(