question

Upvotes
Accepted
1 1 1 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 512.0 KiB each and 1.0 MiB total.

Escalated to DSWS Escalation Support

Hello @jason82

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar 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
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 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.