New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

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
7.5k 18 2 8

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.