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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythondataunadjusted
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
39.2k 75 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea