question

Upvotes
Accepted
1 0 0 0

Datastream futures contract retrieval

How can we find all the contracts that are used to construct the continuous series?
Is there a way to automatically generate the tickers for the contracts that are yet to expire?

The question is platform and coding language agnostic.

#product#contentdatastreamcommodities
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
Upvotes
Accepted
80k 257 52 75

@michele.costa

Thanks for reaching out to us.

As I knew, there are RIC rules used to create future RICs.

1669697797326.png

RICs can be used in Datastream Web Service.

df = ds.get_data(tickers='<JKBZ2>',fields=['NAME','X'],
                 kind=0)
df

The output is:

1669697935757.png

However, to confirm these rules or generate other codes, please contact the Refinitiv Datastream Web Service support team directly via MyRefinitiv.


1669697797326.png (44.6 KiB)
1669697935757.png (13.5 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.

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.