question

Upvotes
Accepted
3 0 1 2

Python API DataStream returns NA for INDXFS, INDXS

The ds.get_data() request that used to return the different sector levels (INDXFS, INDXS) several months ago now only returns NA. I already tested for different equities (both via DSCD and RIC) and cannot solve the problem.

What am I missing?


code example:

data = ds_credentials.get_data(tickers='LTOTMKNL',
                              fields=["NAME", "RIC", "INDX", "INDXEG", "INDXFS", "INDXS", "P.U"], kind=0)
pythondatastream-apidsws-apisectors
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.

@iris.koks

Hi,

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query? If yes please click the 'Accept' text next to the most appropriate reply.

If you know the answer, please share your answer, and then accept it. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Upvotes
Accepted
79.2k 251 52 74

@iris.koks

I used the same code and verified the INDXFS, and INDXS fields. The result is shown below.

Have you received NA for all INDXFS, and INDXS fields?

First, you may check your usage.

ds.get_data(tickers='STATS', fields=['DS.USERSTATS'],kind=0, start='2021-01-15')

Then, test the request via the DswsClient website.



1610708237567.png (54.5 KiB)
1610708735893.png (54.3 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
3 0 1 2

I checked my usage, but according to my license this should not be a problem.


1 STATS Hits 47990 2021-01-01

2 STATS Requests 47971 2021-01-01

3 STATS Datatypes 183576 2021-01-01

4 STATS Datapoints 27094426 2021-01-01

5 STATS Start Date 2021-01-01 2021-01-01

6 STATS End Date 2021-01-31 2021-01-01


When testing the request with the link above, I still get 'NA' values for INDXFS and INDXS. Do you think the data usage is the issue here?

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.

@iris.koks

If you still get 'NA' when using the DswsClient website, it could be a permission issue. Please directly contact the Refinitiv Datastream Web Service support team via MyRefinitiv to verify the problem.

@iris.koks

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

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.