Need help to transform a code from CODEBK into a code using API without Eikon.

augusto_krappa
augusto_krappa Newcomer
edited February 24 in Refinitiv Data Platform

I am having problem with the parameter "CH", which is not supporter in the fundamental_and_reference.Definition. And there is nothing about it in the docummentation here https://cdn.refinitiv.com/public/rd-lib-python-doc/1.0.0.0/book/en/sections/content-layer/fundamental-reference/fundamental-and-reference-definition.html

from refinitiv.data.content import fundamental_and_reference
df_earnings_surprise= pd.DataFrame()

definition= fundamental_and_reference.Definition(
universe= br_instruments,
fields=['TR.NetProfitPreSurprise.calcdate','TR.NetprofitSmartEst(Period=CY2025)'],
parameters= {
'SDate':'1',
'EDate':'-24',
'Frq': 'W',
'Curn': 'BRL', #'CH': 'IN;Fd' #Here is the problem, #'RH': 'date'
'Scale': 6
},
row_headers= 'date'
).get_data()

Answers