question

Upvotes
3 0 0 0

DSWS value currency change

How do I convert the default currency to another in DSWS API using Python?

eg. KRW in USD

datastream-apidsws-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
681 2 2 1

Hi,

As with any platform, the tilda function allows you to convert. X(P)~USD

Best regards


James

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
23k 22 9 14

Hello @Won Young.Jang,

Does this previous discussion address your question as well?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
23k 22 9 14

Hello @Won Young.Jang,

Please also refer to infobase reference on this subject.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
23k 22 9 14

Hello @Won Young.Jang,

Try

ds.get_data(tickers='VOD, KO:SGL', fields=['X(P)~USD'], start='-1M', freq='D')

Let us know how this works for you


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea