rd.get_data for Deal Screener

DC
DC Newcomer
1.png

I am not able to query deals data by using 'rd.get_data' with the same format as the previous 'ek.get_data'. I would like to know if there are any changes for deal screener query syntax using the new API call. (See screenshot 1.png)

Tagged:

Answers

  • Hi @DC ,

    Could you please provide the query string in text format so I can try to reproduce

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @DC

    I can run it properly.

    image.png

    The rd.get_data method returns a dataframe. It doesn't return an error.

    df = rd.get_data(…)
    
  • DC
    DC Newcomer

    Thanks for the reply. I have some additional questions.

    rd.get_data(universe = query_string, fields = noconcat_fields, field_name=True)

    I am not able to use 'field_name=True' in the parameter to get the original TR name for the columns. This worked for ek.data before. May I know if there is any changes to the name of this parameter? Thanks!

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @DC

    You can use the help command to check all parameters of the get_data method.

    image.png