Hi, so i have a list of RICs that I passed to get a specific time price. However, some RICs are not opened for that specific time, but all the RICs would fail, is it possible to let it not fail but give me partial answers? If I run the list one by one, it would be too slow.
I am thinking I can get trading status to eliminate the closed stocks but looks like I can’t get the trading status for a specific time.
Sample <1530.HK> 12pm UTC
def eikon_price_request(symbols, start_date, end_date):
intraday_prices = pd.DataFrame()
symbols = list(set(symbols))
try:
intraday_prices = ek.get_timeseries(symbols, start_date=start_date.isoformat(), end_date=end_date.isoformat(), interval='hour')
except Exception as e:
print(f"Error fetching data for {symbols}: {e}")
print(e)
return intraday_prices