Viewing DSWS Usage stats in DSWS desktop

Hi all, I have a client who is using desktop DSWS and is trying to use the code ds.get_data(tickers='STATS', fields=['DS.USERSTATS'], kind=0) to view his user stats.

Unfortunately this doesn't work for him :

Exception Traceback (most recent call last)

Cell In[21], line 1

----> 1 ds.get_data(tickers='STATS', fields=['DS.USERSTATS'], kind=0)

File c:\Users\aab\Documents\GitHub\Macro.Analysis\venv\Lib\site-packages\DatastreamPy\DS_Response.py:276, in DataClient.get_data(self, tickers, fields, start, end, freq, kind)

274 except Exception as exp:

275 DSUserObjectLogFuncs.LogException('DatastreamPy', 'DSResponse.get_data', 'Exception occured:', exp)

--> 276 raise exp


Please can you advise?

Thanks and regards,

Alison

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @Alison Quick1

    Thank you for reaching out to us.

    It could be a bug in the library. I will contact the product team to verify what the problem is.

Answers