question

Upvotes
Accepted
5 0 1 3

Map a RIC to a Datastream ID

Hello,

If I had a RIC (for instance AUG05750722=), is there a function which can map this RIC to a Datastream ID?

Thanks,

Edward

datastream-apirics
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.

Upvotes
Accepted
79.2k 251 52 74

@Edward

You can use Datastream Web Service to get datastream codes from RICs.

The Python code looks like this.

ds.get_data(tickers='<AUG05750722=>', fields=['DSCD'], kind=0)

1640240838978.png


1640240838978.png (8.7 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.

Upvotes
5 0 1 3

Thank you, just what I wanted!

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.

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.