I am trying to retrieve the value for a particular RIC code and I am only getting back MetaData, any ideas what I am doing wrong pls?
eikon_service_disc = EikonServiceDiscovery(user, password, scope, clientid, region, hotstandby)
test_list = ['RIC_7YZ3MZ'] # ir
position_host = socket.gethostname()
position = socket.gethostbyname(position_host) + "/" + position_host
sts_token, refresh_token, expire_time = eikon_service_disc.get_sts_token(None)
if not sts_token:
sys.exit(1)
if not eikon_service_disc.query_service_discovery():
# logger.critical("Failed to retrieve endpoints from EDP Service Discovery. Exiting...")
sys.exit(1)
original_expire_time = expire_time
datetime_now = datetime.now()
session1 = WebSocketSession(
"session1", eikon_service_disc.get_hostlist()[0], test_list, position, sts_token
)
session1.connect()
The output is below:
{
"services":[
{
"dataFormat":[
"tr_json2"
],
"endpoint":"ap-southeast-1-aws-1-sm.optimized-pricing-api.refinitiv.net",
"location":[
"ap-southeast-1a"
],
"port":443,
"provider":"aws",
"transport":"websocket"
},
{
"dataFormat":[
"tr_json2"