Update optschain cli entrypoint to pass primitive arg types

kivy_mainline_and_py3.8
Tyler Goodlet 2019-03-21 22:14:22 -04:00
parent 884fcaa88e
commit d59283d36d
1 changed files with 4 additions and 3 deletions

View File

@ -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,
) )