Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 2 2 4

Adjusted prices using get_data

Hi, is it possible to get historic prices adjusted for corp actions using get_data? I cant get it to work. I am also returning results in USD. Below is code I am using

dfmcap2, err = ek.get_data(['GPOR.L'],['TR.Close'],{'SDate':setdate, 'EDate':sd, 'Curn':'USD'})
eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apidata
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.

Hi @brendan

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Thanks,

AHS

@brendan

Hi,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
78.9k 250 52 74

Please try TR.CLOSEPRICE with the Adjusted parameter.

dfmcap2, err = ek.get_data(['GPOR.L'],['TR.CLOSEPRICE.date','TR.CLOSEPRICE(Adjusted=1)'],{'SDate':0, 'EDate':-16, 'Curn':'USD'})

dfmcap2, err = ek.get_data(['GPOR.L'],['TR.CLOSEPRICE.date','TR.CLOSEPRICE(Adjusted=0)'],{'SDate':0, 'EDate':-16, 'Curn':'USD'}) 


output.png (40.4 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.

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.