question

Upvotes
Accepted
1 0 0 1

Currency for Datatype in DSWS

I am just wondering whether/how I can specify a currency for datatypes in the REST Desktop Web service (Datastream).

An example of monthly outputs from a Timeseries request are below for EPS1FD12 (12m forward EPS) for A:BHPX. The default currency value is in US$.

{'DataType': 'EPS1FD12', 'SymbolValues': [{'Currency': 'U$', 'Symbol': 'A:BHPX', 'Type': 10, 'Value': [2, 2.057, 2.28, 2.376]}]}

Is there a way to add a parameter to this request to query the AUD value?

datastream-apidsws-apiforexdata-type
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.

1 Answer

Upvotes
Accepted
681 2 2 1

Hi,

Yes you can. You can use the tilda function to change currency.

X(EPS1FD12)~AUD

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.

Click below to post an Idea Post Idea