Hi,
I'm running the following chunk of code:
symbol_list = ['SG7LH6000009', 'SGXF67021638', 'SGXF65793287', 'SG7OI0000007', 'SGXF31305620', 'SGXF13486208', 'SGXF67857619', 'SGXF88972611', 'SGXF42837876', 'SGXF53577940', 'SG7T16943604', 'SGXF83009245', 'SG7IC4000008']
response = symbol_conversion.Definition(
symbols= symbol_list,
from_symbol_type=symbol_conversion.SymbolTypes.ISIN,
to_symbol_types=[
symbol_conversion.SymbolTypes.RIC
],
).get_data()
response = historical_pricing.summaries.Definition(
universe = list(response.data.df.RIC.values),
interval = historical_pricing.Intervals.DAILY, # Supported intervals: DAILY, WEEKLY, MONTHLY, QUARTERLY, YEARLY.
count = 1,
fields = ["BID", "ASK"]
).get_data()
# Extract in DataFrame format
response.data.df
This is the error message I'm getting:
RDError: Error code 1 | No data to return, please check errors: ERROR: No successful response. (TS.Interday.UserNotPermission.70112, User does not have permission for this universe), (TS.Interday.UserRequestError.70005, The universe is not found)
But the quotes are available on desktop, e.g. taking the first entry
SG7LH6000009
Also, for historical_pricing.summaries.Definition(), is there a way for the universe to take in ISINs directly?