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)

Best Answer

  • Jirapongse
    Jirapongse admin
    Answer ✓

    @iris.koks

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

    image

    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.

    image


Answers

  • 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?

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