Update optschain cli entrypoint to pass primitive arg types
parent
884fcaa88e
commit
d59283d36d
|
@ -385,7 +385,7 @@ def optschain(config, symbol, date, tl, rate, test):
|
||||||
"""
|
"""
|
||||||
# global opts
|
# global opts
|
||||||
loglevel = config['loglevel']
|
loglevel = config['loglevel']
|
||||||
brokermod = config['brokermod']
|
brokername = config['broker']
|
||||||
|
|
||||||
from .ui.option_chain import _async_main
|
from .ui.option_chain import _async_main
|
||||||
|
|
||||||
|
@ -395,9 +395,10 @@ def optschain(config, symbol, date, tl, rate, test):
|
||||||
) as portal:
|
) as portal:
|
||||||
# run app "main"
|
# run app "main"
|
||||||
await _async_main(
|
await _async_main(
|
||||||
symbol, portal,
|
symbol,
|
||||||
brokermod,
|
brokername,
|
||||||
rate=rate,
|
rate=rate,
|
||||||
|
loglevel=loglevel,
|
||||||
test=test,
|
test=test,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue