question

Upvotes
Accepted
1 0 1 1

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

pythonrdp-apirefinitiv-data-platformdatastream-apifields
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

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

1 Answer

Upvotes
Accepted
38.1k 71 35 53

@cecilia.mariotti

The connection error looks similar to this question. You may need to set the http_proxy or https_proxy environment variables.


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea