Drop tractor stream shielding use

pause_feeds_on_sym_switch
Tyler Goodlet 2021-09-01 08:26:26 -04:00
parent 2df16e11ed
commit 26cb7aa660
2 changed files with 1 additions and 3 deletions

View File

@ -479,7 +479,6 @@ async def open_feed(
loglevel: Optional[str] = None,
tick_throttle: Optional[float] = None, # Hz
shielded_stream: bool = False,
) -> Feed:
'''
@ -512,7 +511,7 @@ async def open_feed(
) as (ctx, (init_msg, first_quote)),
ctx.open_stream(shield=shielded_stream) as stream,
ctx.open_stream() as stream,
):
# we can only read from shm

View File

@ -180,7 +180,6 @@ async def cascade(
async with data.feed.maybe_open_feed(
brokername,
[symbol],
shielded_stream=True,
) as (feed, stream):
assert src.token == feed.shm.token