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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 1

How Can I Get Unadjusted OHLCV Data?

I need to download historical OHLCV data, both adjusted and unadjusted. I don't think using `get_timeseries` would be the best solution as it has a 3000-row limit each call.

Below is the code I'm using for unadjusted data:

ek.get_data(
    instruments=instruments,
    fields=[
        'TR.PriceClose.date',
        'TR.PriceOpen',
        'TR.PriceHigh',
        'TR.PriceLow',
        'TR.PriceClose',
        'TR.Volume',
    ],
    parameters=dict(
        Adjusted='0',
        SDate=sdate,
        EDate=edate,
        Frq='D'
    )
)

But the result turned out still dividend adjusted (I verified that against the output from setting `Adjusted` to '1'). Can anyone point out a solution here?

eikoneikon-data-apipythonworkspacerefinitiv-dataplatform-eikonworkspace-data-apidataunadjusted
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

Upvotes
Accepted
39.3k 76 11 27

There have been several previous discussions on the subject on this forum. See the threads here, here and here.

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.