Fix imports
parent
9b91ecd408
commit
ffd8bdac5f
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue