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
1 0 0 0

Hello, how to get the RIC code BRIMAB=ANDS historical data series by python api?

I'm doing like this:

import refinitiv.data.eikon as ek

import refinitiv.data as rd


df_teste2 = rd.get_history(


universe = [

"BRIMAB=ANDS",

],

fields=["CF_LAST"],

interval = "daily"

)


the output is a empty

eikon-data-api#technologyapirefinitiv-data-platform
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
5.9k 18 2 7

Hi @natanael.fernandes ,

That is because there is no CF_LAST prices for this instruments (I have quickly checked via DIB in Workspace). Consider using "TRDPRC_1" as a field name as shown:

df_teste2 = rd.get_history(universe = ["BRIMAB=ANDS"],fields=["TRDPRC_1"],
                           start = '2023-01-01', end = '2023-02-06', interval = "daily")
df_teste2

screenshot-2023-02-06-at-185153.png


Hope this helps, please let me know if you have any further questions.


Best regards,

Haykaz


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.