question

Upvotes
Accepted
3 0 0 4

Hi, I am new to datastream and trying to extract data using Python. Is the text search feature possible through DS API.

This is the code I am using to get data for car sales that works on Datastream as *CAR..P but gives me an error on Python:

df = ds.get_data(tickers = "*CAR...P", start = '2021-01-01', end = '2021-09-01', freq = 'M')

Out[4]:

Instrument Datatype Value

0 *CAR...P $$ER: E100,INVALID CODE OR EXPRESSION ENTERED

datastream-api
icon clock
10 |1500

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

1 Answer

· Write an Answer
Upvotes
Accepted
21.8k 57 14 21

Hello @AISHWARYA.GOGOI ,

You can search the DSWS universe, using the Datastream navigator. The python API can be used to retrieve the data for those data types.

If you are unable to find it, please directly contact the Refinitiv Datastream Web Service via MyRefinitiv to get help from a content expert.

icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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