Nest async withs
parent
a18a4b5a4c
commit
3506bbe05c
|
@ -321,9 +321,7 @@ async def start_order_mode(
|
||||||
async with open_ems(
|
async with open_ems(
|
||||||
brokername,
|
brokername,
|
||||||
symbol,
|
symbol,
|
||||||
) as (book, trades_stream):
|
) as (book, trades_stream), open_order_mode(
|
||||||
|
|
||||||
async with open_order_mode(
|
|
||||||
symbol,
|
symbol,
|
||||||
chart,
|
chart,
|
||||||
book,
|
book,
|
||||||
|
|
Loading…
Reference in New Issue