diff --git a/piker/brokers/ib/venues.py b/piker/brokers/ib/venues.py index ea561d86..cd2dc7b1 100644 --- a/piker/brokers/ib/venues.py +++ b/piker/brokers/ib/venues.py @@ -83,7 +83,14 @@ def has_holiday( ''' tz: str = con_deats.timeZoneId exch: str = con_deats.contract.primaryExchange - cal: ExchangeCalendar = xcals.get_calendar(exch) + + # XXX, ad-hoc handle any IB exchange which are non-std + # via lookup table.. + std_exch: dict = { + 'ARCA': 'ARCX', + }.get(exch, exch) + + cal: ExchangeCalendar = xcals.get_calendar(std_exch) end: datetime = period.end # _start: datetime = period.start # ?TODO, can rm ya?