Log msg tweak
parent
0ef5da0881
commit
070b9f3dc1
|
@ -207,8 +207,6 @@ async def get_bars(
|
||||||
|
|
||||||
except RequestError as err:
|
except RequestError as err:
|
||||||
msg = err.message
|
msg = err.message
|
||||||
# why do we always need to rebind this?
|
|
||||||
# _err = err
|
|
||||||
|
|
||||||
if 'No market data permissions for' in msg:
|
if 'No market data permissions for' in msg:
|
||||||
# TODO: signalling for no permissions searches
|
# TODO: signalling for no permissions searches
|
||||||
|
@ -778,7 +776,9 @@ async def stream_quotes(
|
||||||
# generally speaking these feeds don't
|
# generally speaking these feeds don't
|
||||||
# include vlm data.
|
# include vlm data.
|
||||||
atype = syminfo['asset_type']
|
atype = syminfo['asset_type']
|
||||||
log.info(f'Non-volume asset {sym}@{atype}, skipping quote poll.')
|
log.info(
|
||||||
|
f'Non-vlm asset {sym}@{atype}, skipping quote poll...'
|
||||||
|
)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# wait for real volume on feed (trading might be closed)
|
# wait for real volume on feed (trading might be closed)
|
||||||
|
|
Loading…
Reference in New Issue