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
)