Hello, I am using following code to connect to Refinitiv using refinitiv-data module. However, I am getting error while connecting.
Code Snippet:
import refinitiv.data as rd
rd.session.platform.Definition(
app_key = '9505**********************',
grant = rd.session.platform.GrantPassword(
username = 'lisa*****',
password = '********'
)
).get_session()
rd.open_session()
df = rd.get_data(
universe=['IBM.N', 'VOD.L'],
fields=['BID', 'ASK', 'TR.Revenue']
)
print(df)
Error:
An error occurred while requesting URL('http://localhost:9000/api/status').
ConnectError('[WinError 10061] No connection could be made because the target machine actively refused it')
An error occurred while requesting URL('http://localhost:9060/api/status').
ConnectError('[WinError 10061] No connection could be made because the target machine actively refused it')
Error: no proxy address identified.
Check if Desktop is running.
An error occurred while requesting URL('http://localhost:9000/api/handshake').
ConnectError('[WinError 10061] No connection could be made because the target machine actively refused it')
Please can you point out what is going wrong.
Thanks