question

Upvotes
Accepted
1 0 0 1

Index constituents Python

I'm trying to pull index constituents from Datastream. I tried following the example shown here:

https://community.developers.refinitiv.com/questions/100587/python-index-constituents.html

However when I run this I do not get back any constituents, the response only shows the Index I passed.


Request:


1683752185239.png



Response:


1683752019440.png

#productdatastream-apipython apiconstituents
1683752019440.png (17.7 KiB)
1683752185239.png (21.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.

1 Answer

· Write an Answer
Upvotes
Accepted
78.6k 248 52 74

@bshea

Thanks for reaching out to us.

I used the same request and I got the data properly.

1683768363356.png

The response is:

1683768415054.png

Please contact the Refinitiv Datastream Web Service support team directly via MyRefinitiv to verify what the problem is. It could be a permission issue.

I hope that this information is of help.


1683768363356.png (28.8 KiB)
1683768415054.png (32.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.