Merge pull request #469 from pikers/emsd_loglevel_fix
Fix `loglevel` not getting propagated to `emsd`explicit_write_pps_on_exit
commit
26146097eb
|
@ -1437,7 +1437,8 @@ async def display_symbol_data(
|
||||||
feed,
|
feed,
|
||||||
godwidget,
|
godwidget,
|
||||||
fqsns[0],
|
fqsns[0],
|
||||||
order_mode_started
|
order_mode_started,
|
||||||
|
loglevel=loglevel
|
||||||
) as mode
|
) as mode
|
||||||
):
|
):
|
||||||
|
|
||||||
|
|
|
@ -658,6 +658,7 @@ async def open_order_mode(
|
||||||
godw: GodWidget,
|
godw: GodWidget,
|
||||||
fqsn: str,
|
fqsn: str,
|
||||||
started: trio.Event,
|
started: trio.Event,
|
||||||
|
loglevel: str = 'info'
|
||||||
|
|
||||||
) -> None:
|
) -> None:
|
||||||
'''Activate chart-trader order mode loop:
|
'''Activate chart-trader order mode loop:
|
||||||
|
@ -685,7 +686,7 @@ async def open_order_mode(
|
||||||
|
|
||||||
# spawn EMS actor-service
|
# spawn EMS actor-service
|
||||||
async with (
|
async with (
|
||||||
open_ems(fqsn) as (
|
open_ems(fqsn, loglevel=loglevel) as (
|
||||||
book,
|
book,
|
||||||
trades_stream,
|
trades_stream,
|
||||||
position_msgs,
|
position_msgs,
|
||||||
|
|
Loading…
Reference in New Issue