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
27 2 5 9

How to get adjusted historical OHLC?

HI:

I want to get adjusted historical OHLC,for example:

df =ek.get_timeseries('2330.TW',fields=["Open","High","Low","Close","Volume" ], start_date = "2016-08-07" , end_date = "2016-08-12" ,interval='daily')

it does not get the price considered split or dividend.

Thanks

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-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.

1 Answer

· Write an Answer
Upvote
Accepted
3.8k 4 4 6

Hi @andy.ej

Please have a look at the optional argument of the function ek.get_timeseries():

Here is the example RIC and time window where you can compare the outputs:

ek.get_timeseries('VOD.L',fields=["Open","High","Low","Close","Volume" ], start_date = "2014-02-15" , end_date = "2014-02-20" , interval='daily', corax = 'unadjusted' )

corax.jpg (76.1 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.