Hi @MichaelQIU,
If you are looking for assistance with Datastream product usage rather then Datastream API requests, I would suggest involving Datastream support via Refinitiv Helpdesk, select "I need help using product" and select product "Datastream" from the drop-down list.
Refer to the DSWS USER STATS AND LIMITS guide, to get usage stats, you can use “STATS” keyword as an instrument and “DS.USERSTATS” in data type.
I think that you can use it with the fetch command, as mentioned in the GETTING STARTED WITH EVIEWS guide.
unfortunately this does not work; i have used the following command that e.g. working for fetching pe data from the msci energy sector
fetch(d="ds_db") enegyus(pe) = this works (with ds_db being my alias)
fetch(d="ds_db") STATS(DS.USERSTATS) = this does not work, i believe this must be because the retrieved data is a statistic but not a series;
could you pls clarify which command to use exactly
much appreciated, thx!
regs
M
Hello @MichaelQIU,
Perhaps something like this?
ds.get_data(tickers='STATS', fields=['DS.USERSTATS',], start='2020-05-20', kind=0)
I am also basing this guess on the document sited by @Jirapongse
hi Zoya
thx for the suggestions, unfortunately, this does not work in eviews, it just produces an error; this syntax is not applicable in eviews
best
michael
Let us know how this works for you,
There will likely be other developers with same or similar questions that can be helped by your generous sharing of the relevant information.
Thanks,
-AHS
thx Zoya, ill do that!
Michael