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.

@michele.costa

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,
AHS

1 Answer

· Write an Answer
Upvotes
Accepted
78.8k 250 52 74

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