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 2

Can you please assist on modifying the formula to get historical?

import refinitiv.data as rd

from refinitiv.data.discovery import Chain

import datetime

from IPython.display import display, clear_output


rd.open_session()


dic_parametros = {

'SDate': '0',

'EDate': '-25',

# 'Frq': 'D',

'Curn': 'BRL',

# "CH": "calcdate",

# "RH": "IN",

"scale": "6"

}


rd.get_data(

universe = 'CEEBB2=ANBI',

parameters = dic_parametros

)

pythonworkspace#technologycodebookrefinitiv-data-libraries
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
Upvotes
Accepted
1.3k 3 2 4

Hi,

With rd.get_data() function, the user needs to specify which fields he want to retrieve.

The user can find examples:

1) in CodeBook application for Eikon & Workspace:

  • __Examples__/01.Data Retrieval and Discovery/01.01.Refinitiv Data Library/Access__Get_Data.ipynb
  • __Examples__/01.Data Retrieval and Discovery/01.01.Refinitiv Data Library/Content_Historical_Pricing.ipynb

2) in Example.DataLibrary.Python :

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.