question

Upvotes
Accepted
11 6 8 15

Identical price data on different exchanges using datastream web service api in python

Hi everyone,

I observed a strange behavior using the datastream web service (dsws) API in python. The appending QuestionDatastreamWebServices.PNG picture shows the output of the following request:

import DatastreamDSWS as dsws

ds = dsws.Datastream(username='<username>', password='<password>')
ds.get_data(tickers="<SPRGn.F^D20>,<SPRGn.H^B21>", fields=['P','VO'],kind=1,start="2021-01-01",end="2021-03-01")


As you can see, I request the price and volume data of the company "SPRINGER VERLAG" between 01.01.2021 and 01.03.2021, but for two different exchanges (Frankfurt and Hamburg). However, the price and volume observations are identical. I also computed the average for both variables over the whole observation period, which is also the same.

I am sure that this has to be a mistake in the database. Or do I misunderstand anything here?

Thank you in advance for your help!

pythondatastream-apidsws-api
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.

@Eikon10

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

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS

1 Answer

· Write an Answer
Upvotes
Accepted
79.1k 250 52 74

@Eikon10

From my checking, the <SPRGn.F^D20> and <SPRGn.H^B21> RICs refer to the same Datastream mnemonic (D:SPR).

ds.get_data(tickers="<SPRGn.F^D20>,<SPRGn.H^B21>", fields=['MNEM'],kind=0)

1630034795650.png

You can access the Datastream Navigator website to search for "AXEL SPRINGER".

1630034999004.png


1630034795650.png (4.6 KiB)
1630034999004.png (44.7 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.