question

Upvotes
Accepted
1 0 0 1

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.jpeg

eikon-data-apiapi#contentpython 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.

Upvotes
Accepted
15.5k 33 5 10

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


1724038781195.png (26.3 KiB)
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.

Upvotes
1 0 0 1

Hello @raksina.samasiri,

Thank you very much for your answer.

best,

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.

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.