From d59283d36dc07c3e39c18e15ed115e99a33b34b0 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 21 Mar 2019 22:14:22 -0400 Subject: [PATCH] Update optschain cli entrypoint to pass primitive arg types --- piker/cli.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/piker/cli.py b/piker/cli.py index 21b51611..dcdf3f06 100644 --- a/piker/cli.py +++ b/piker/cli.py @@ -385,7 +385,7 @@ def optschain(config, symbol, date, tl, rate, test): """ # global opts loglevel = config['loglevel'] - brokermod = config['brokermod'] + brokername = config['broker'] from .ui.option_chain import _async_main @@ -395,9 +395,10 @@ def optschain(config, symbol, date, tl, rate, test): ) as portal: # run app "main" await _async_main( - symbol, portal, - brokermod, + symbol, + brokername, rate=rate, + loglevel=loglevel, test=test, )