question

Upvotes
Accepted
11 7 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.

1 Answer

· Write an Answer
Upvotes
Accepted
86k 292 53 78

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