Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Datastream /
avatar image
Question by c.aydemir · Jul 02, 2019 at 05:51 AM · datastream-apidsws-apitime-seriesmatlab

DWS download time series not in reference currency

There's a way to download a time series not in reference currency?

For instance this instrument is in euro 805YGJ, however I want it in USD.

data = history(connection, "805YGJ", "RI", 21-Jun-2019,02-Jul-2019,"D")

Based on the function description is it possible to pass additional parameters (NAME/VALUE)

%   D = HISTORY(C,SEC,FIELDS,STARTDATE,ENDDATE,PERIOD,NAME,VALUE,...) returns 
%   historical end of period data given the DATASTREAMWS object, C, the 
%   security, SEC, field list, FIELDS, STARTDATE, ENDDATE and PERIOD. 
%   NAME/VALUE pairs are used for additional API settings input.  Each NAME
%   and VALUE can be input as a string scalar or character vector.

Thank you in advance

Cihan

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by James.Bright1 · Jul 02, 2019 at 06:42 AM

Hi,

You can currency convert using ~ for example X(RI)~USD. Could you elaborate on your other question?

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by c.aydemir · Jul 02, 2019 at 07:59 AM

Thank you James for your replay.

I'm trying to elaborate the question.

I'm using Matlab 2019a, in order to download data from Datastream, using the Datastream Web Service (before I'm using DWE) via the Datafeed toolbox.

I started downloading the time series in instrument reference currency, but now I want to download it in a different one. I was thinking that it's enough to add the history function the reference currency I want. But as you suggested, I use it works.

data = history(connection,"805YGJ",["RI"; "X(RI)~USD"], 21-Jun-2019,02-Jul-2019,"D")

However, what type of parameters are allowed insert in the function? (NAME, VALUE)

thank you

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
7 People are following this question.

Related Questions

Converting Mnemonic to RIC and getting timeseries data (RI and NR) with EIKON Data API

How to extract ESG Pillar Scores time series with TR function?

Datastream Functions in DSWS

how to get first release economic data

Get time series data for each constituent in an equity index

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges