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!

Best Answer

  • Alex Putkov.1
    Answer ✓

    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.

Answers

  • thanks

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