Pull data from datastream

I'm trying to pull data from datastream into Python. I can do it successfully using the eikon.get_data package and using the data identifiers from the Eikon platform. However, there are data (e.g. I/B/E/S indices) that can't be accessed from the Reuters platform, but can from Refinitiv Datastream in Excel. Could you please let me know if there is a way to get the exact same data I can get through datastream in excel in Python? thanks a lot for the help

Best Answer

Answers

  • FYI I have tried with pydatastream and DatastreamDSWS but I can't connect to my account with my logins credentials. Any idea on how this should be set up?

    Error received:

    _get_token : Exception Occured

    (<class 'requests.exceptions.ConnectionError'>, ConnectionError(MaxRetryError("HTTPSConnectionPool(host='product.datastream.com', port=443): Max retries exceeded with url: /DSWSClient/V1/DSService.svc/rest/GetToken (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000000000E6FA080>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))")), <traceback object at 0x0000000002254408>)

    None