RIC name from chaincode error ,ask for help

Hello, thanks to chain_code, I can get RIC name through a very easy way .Bellow is an example

dl,e=ek.get_data('0#.HSI',["DSPLY_NAME"])
dl

and the result is

image

but when I try the "0#.KS200", there is no data

dl,e=ek.get_data('0#.KS200',["DSPLY_NAME"])
dl

image

anyone knows about it?

Thanks :)

Best Answer

  • Using real-time chains with the beta api is somewhat troublesome, I suggest you do this:

    df, e = tr.get_data(['.KS200'], ['TR.IndexConstituentRIC', 'TR.IndexConstituentName'])

Answers