Nest async withs

cached_feeds
Tyler Goodlet 2021-04-05 08:09:26 -04:00
parent a18a4b5a4c
commit 3506bbe05c
1 changed files with 73 additions and 75 deletions

View File

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