...ia Python Script
Hi everyone,
I am trying to integrate some RIC information into Power BI through python scripts that have already been tested on Refinitiv Eikon API with CodeBook. All scripts worked just fine, both historical and real-time data, as shown below.
Below are the codes used in the examples above.
1)
"import refinitiv.data as rd
rd.open_session()
rics = [
'/HOM24',
'/HON24',
'/HOQ24',
'/HOU24',
'/HOV24',
'/HOX24',
'/HOZ24',
'/HOF25',
'/HOG25',
'/HOH25',
'/HOJ25',
'/HOK24'
]
ho = rd.get_data(
universe = rics,
fields = [
'DSPLY_NAME',
'TRDPRC_1',
'PCTCHNG',
'HST_CLOSE',
'TR.ACCUMULATEDVOLUME',
'EXPIR_DATE',
'TR.FOFirstDeliveryDay',
'TR.FOLastDeliveryDay'
]
)
ho"
2)
"import refinitiv.data as rd
rd.open_session()
rics = ['BRL=']
brl = rd.get_data(
universe = rics,
fields = [
'CF_ASK',
'CF_LAST'
]
)
brl"
Historical data scripts are already integrated correctly, but real-time data scripts do not sync, as shown below.
I'm missing any step here? Thanks for all help.