@Ren
I assume that you are using the Python Datastream Webservice library.
You can use RIC by enclosing it with the angle brackets <>.
The code looks like this.
ds.get_data(tickers='US4592001014,<GOOG.O>', fields=['DSCD','MNEM'], kind=0)
The output is:
Hi @Jirapongse
How about other libraries? Only this library can get DSCD?
These APIs can be used to retrieve financial data.
Eikon Data API retrieves data through Eikon. It can be used to retrieve the data, such as Fundamental and Reference Data, Pricing Data, Historical Data, Symbology, News, etc. Typically, Eikon Data API supports RICs but you can also use other instrument types, such as ISIN, SEDOL, CUSIP, and PermID.
Datastream API can run on any machine that can connect to the Internet. It can be used to retrieve the data, such as Fundamental and Reference Data, Pricing Data, Historical Data, Symbology, etc. However, the fields or data types are different from Eikon. It supports several instrument types, such as RIC, Datastream Code, Datastream Mnemonic, and ISIN.
Refinitiv Data Platform provides simple web-based API access to a broad range of content, such as client file store, ESG, Historical Pricing, Instrument Pricing Analytics, News, Search, Symbology, etc. You can use it on any machine that can connect to the Internet.
All these APIs are available in Codebook.
For more information, please refer to the following pages:
@Jirapongse Thank you very much!