question

Upvotes
Accepted
3 0 0 2

DataStreamWebService: Retrieving annual reports figures for previous years

Hello,
I want to use DataStream DSWS on Python to download yearly figures from Refinitiv, such as the revenue (WC01001) for a list of ISIN codes. Those figures should be obtained for the last 5 fiscal years. Is there a way to retrieve that information using a datatype formula (like it is possible to do with Eikon excel's plugin)? The constraint would be to send a request at the date of today to avoid sending multiple requests with different dates (that should be computed with the fiscal year end in mind).


Thanks,

Simon

dsws-apidatastream
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.

Hi @simon.gilissen

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

1 Answer

· Write an Answer
Upvote
Accepted
78.8k 250 52 74

@simon.gilissen

You can try the following code.

df = ds.get_data(tickers="US4592001014", fields= ['WC01001'],kind=1, freq='Y', start='-10Y')

It returns:

1658122166937.png

You can refer to the Datastream Navigator to search for available data types, or refer to this page.


1658122166937.png (23.9 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.