How to use RIC or ISIN to get the datastream code (DSCD) in Python API?

How to use RIC or ISIN to get the datastream code (DSCD) in Python API?

Best Answer

  • Jirapongse
    Jirapongse admin
    Answer ✓

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

    1637902333863.png

Answers