FreeFloat is Nan

I am using the following formula with python api :

df=ek.get_data(listRIC, ['TR.FreeFloatPct'], {'SDate':'0', 'EDate':'-0'})


Unfortunatly, until the 1st april the result is nan for all ric.

I check the same query on excel and it is still work.

Do you have any idea where the problem come from ?

Best Answer

  • chavalit-jintamalit
    Answer ✓

    Hi @m.barr

    The Eikon Excel and Eikon Data API provide the same information.

    image


    I think if you just want to retrieve the latest information, you can omit the SDate and EDate parameters.

Answers

  • Hi @m.barr Thanks for your question - the issue with your query is inclusion of the SDate and EDate parameters (particularly EDate -0) please omit these for the most recent actual figure - see code below:

    df, err =ek.get_data('VOD.L', ['TR.FreeFloatPct'])
    df

    image

    I hope this can help.

  • m.barr
    m.barr Newcomer

    Thank you it works.