Fix null match

pre_flow
Tyler Goodlet 2022-04-24 12:33:48 -04:00
parent 243a9aa905
commit 621cbdd015
1 changed files with 1 additions and 1 deletions

View File

@ -1631,7 +1631,7 @@ async def open_history_client(
# TODO: add logic here to handle tradable hours and only grab # TODO: add logic here to handle tradable hours and only grab
# valid bars in the range # valid bars in the range
if out == (None, None): if out is None:
# could be trying to retreive bars over weekend # could be trying to retreive bars over weekend
log.error(f"Can't grab bars starting at {end_dt}!?!?") log.error(f"Can't grab bars starting at {end_dt}!?!?")
raise NoData( raise NoData(