Hello,
There is a following link, which helps retrieve data in Elektron https://github.com/Refinitiv/websocket-api/tree/master/Applications/Examples/RDP/python . Inside this folder are 2 python files. I am trying to run both of the codes however got the following error
Sending authentication request with password to https://api.refinitiv.com:15000/auth/oauth2/v1/token ...
EDP-GW authentication exception failure: HTTPSConnectionPool(host='api.refinitiv.com', port=15000): Max retries exceeded with url: /auth/oauth2/v1/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001F4E99B9488>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
Process finished with exit code 1
I have set following variables:
# Global Default Variables app_id = '256' auth_url = 'https://api.refinitiv.com:443/auth/oauth2/v1/token' hostname = '127.0.0.1' password = 'PASSWORD WHEN REGISTER MACHINE ID' position = '' sts_token = '' refresh_token = '' user = 'MY EMAIL ADDRESS' clientid = 'APP KEY VIA https://emea1.apps.cp.thomsonreuters.com/apps/AppkeyGenerator' port = '443' client_secret = '' scope = 'trapi' ric = '/TRI.N' service = 'ELEKTRON_DD'
What should I do to retreive the market prices?