Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
27 2 5 9

I can not get list "0#BUYSELL.SZ"

I use the code: ek.get_data("0#BUYSELL.SZ","TR.RIC" ) to get the list , but it is not work!

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
39.4k 77 11 27

I have no problem executing this statement on my end. Do you get an error message? What's the error? And if you do receive an error, are you able to view "0#BUYSELL.SZ" in a Quote app in Eikon?
If what you meant is that the call returns the data with no errors, but the data is not what you expect, i.e. it's not the constituents of the chain, but the chain itself, then try
ek.get_data("0#BUYSELL.SZ","DSPLY_NAME")
instead, which does return the chain constituents.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

thanks

I replace "TR.RIC" with "DSPLY_NAME" ,and it work !!!

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.