vfilimonov / pydatastream

Python interface to the Refinitiv Datastream (former Thomson Reuters Datastream)
MIT License
71 stars 30 forks source link

Query an instrument using its SEDOL / RIC #30

Closed micycle1 closed 6 months ago

micycle1 commented 2 years ago

Is it possible to fetch data of an instrument using its SEDOL or RIC field? ISIN and Mnemonic seem to work with DS.fetch(), but querying based on other fields (like SEDOL and RIC) do not -- is this a limitation of the library or the API?

vfilimonov commented 2 years ago

It should be possible, but I suspect that you would need a special query string for that. Once you have a string, you could simply use it in the fetch method.

Unfortunately I could not consult you on this, as I’ve never used it. Please ask the support of Reginitiv.

micycle1 commented 6 months ago

For RICs, they can be enclosed with < and > and then searched as normal, e.g. <AAPL.O>.