How to know the currency in which my data is collected ? (using Python Eikon Data API)

Dear network,

I am currently collecting companies financial data for my master's thesis, using Python Eikon Data API.

I want all my data in USD but some companies have different standardized currency (eg file attached). When I collect the data with Jupyter, I don't know the currency of the data, and then how to convert it in USD.

I tried with curn:"USD" but I gives a wrong data.

Could you help me on this please ?

Best,

Antoine

screenshot-2024-08-16-at-164329-large.jpegimage

Best Answer

  • raksina.samasiri
    Answer ✓

    Hi @antoine.lecointre ,

    Using Data Item Browser, the output currency can be used to retrieve currency data of the field as below

    df, err = ek.get_data(['4296964643'],
                        ['TR.F.TotRevenue','TR.F.TotRevenue.currency'],
                        {'SDate':'0FY', 'Period':'FY0'})
    df

    1724038781195.png

    However, regarding the content, as the moderators
    on this forum are expertise on our APIs usage. However, they do not have
    deep expertise in every type of content available through our products.
    Such expertise is available through helpdesk, which can be reached
    via MyAccount and the support team is going to contact you soon to assist with this.

    Hope this helps
    and please let me know in case you have any further questions

Answers