question

Upvotes
Accepted
15 3 8 7

How to find symbols of specific item

I am trying to get Symbols (such as Mnemonic, RIC, and/or ISIN) of items that I am specifically searching for with keywords (e.g. Apple, Amazon, Google, etc) with Datastream Python API. Is there any way to get such information as a dataframe?

Also, in the above question, I am looking for that specific item. But, if search gives more results (such as Apple Credit, Apple Rush when I search for Apple), is there also a way to get all these items and their info as dataframe (as in DFO Navigator result format)?

pythondatastream-apidsws-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
Upvote
Accepted
78.6k 248 52 74

@sjh0724

You can use the DS.SYMBOLLOOKUP data type to find symbols.

The python code looks like:

df = ds.get_data(tickers="Apple", fields=["DS.SYMBOLLOOKUP"], kind=0)
df

The result is:


1587109819229.png (18.8 KiB)
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.

Thank you so much :) And also, I would like to know data type for getting RIC, ISIN, CODE, MNEMONIC.

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.