question

AISHWARYA.GOGOI avatar image
3 0 0 3

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
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

Gurpreet avatar image
14.7k 39 12 18

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.

10 |1500

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