ib: ignore throttles on `.get_head_time()`

epoch_index_backup
Tyler Goodlet 2022-12-08 15:46:27 -05:00
parent 734c818ed0
commit ac6a1b1521
1 changed files with 4 additions and 1 deletions

View File

@ -135,7 +135,10 @@ async def open_history_client(
# fx cons seem to not provide this endpoint?
'idealpro' not in fqsn
):
head_dt = await proxy.get_head_time(fqsn=fqsn)
try:
head_dt = await proxy.get_head_time(fqsn=fqsn)
except RequestError:
head_dt = None
async def get_hist(
timeframe: float,