Avoid "n" as name since it conflicts with pdb
parent
b9ee0997a7
commit
85fd0a7a30
|
@ -1708,7 +1708,6 @@ async def display_symbol_data(
|
||||||
tick_throttle=_clear_throttle_rate,
|
tick_throttle=_clear_throttle_rate,
|
||||||
|
|
||||||
) as feed,
|
) as feed,
|
||||||
trio.open_nursery() as n,
|
|
||||||
):
|
):
|
||||||
|
|
||||||
ohlcv: ShmArray = feed.shm
|
ohlcv: ShmArray = feed.shm
|
||||||
|
@ -1800,11 +1799,11 @@ async def display_symbol_data(
|
||||||
|
|
||||||
async with (
|
async with (
|
||||||
|
|
||||||
trio.open_nursery() as n,
|
trio.open_nursery() as ln,
|
||||||
|
|
||||||
):
|
):
|
||||||
# load initial fsp chain (otherwise known as "indicators")
|
# load initial fsp chain (otherwise known as "indicators")
|
||||||
n.start_soon(
|
ln.start_soon(
|
||||||
spawn_fsps,
|
spawn_fsps,
|
||||||
linkedsplits,
|
linkedsplits,
|
||||||
fsp_conf,
|
fsp_conf,
|
||||||
|
@ -1816,7 +1815,7 @@ async def display_symbol_data(
|
||||||
)
|
)
|
||||||
|
|
||||||
# start graphics update loop(s)after receiving first live quote
|
# start graphics update loop(s)after receiving first live quote
|
||||||
n.start_soon(
|
ln.start_soon(
|
||||||
chart_from_quotes,
|
chart_from_quotes,
|
||||||
chart,
|
chart,
|
||||||
feed.stream,
|
feed.stream,
|
||||||
|
@ -1824,7 +1823,7 @@ async def display_symbol_data(
|
||||||
wap_in_history,
|
wap_in_history,
|
||||||
)
|
)
|
||||||
|
|
||||||
n.start_soon(
|
ln.start_soon(
|
||||||
check_for_new_bars,
|
check_for_new_bars,
|
||||||
feed,
|
feed,
|
||||||
ohlcv,
|
ohlcv,
|
||||||
|
|
Loading…
Reference in New Issue