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 youssef.amine · Jan 13, 2020 at 10:07 PM · datastream-apidsws-apiforex

FX Time-series requests Datastream Web Service

I am using C# to get FX data form Datastream webservice. The request is as follow.


DSGetDataRequest request = new DSGetDataRequest()

{

TokenValue = this.token,

DataRequest = new DSDataRequest()

{

Instrument = instrument,

DataTypes = prgDataTypes,

Date = new DSDate()

{

Kind = DSDateKind.TimeSeries,

Start = startDate.ToString("yyyy-MM-dd"),

End = endDate.ToString("yyyy-MM-dd"),

Frequency = FrequencySymbol

},

}

};

where:

instrument.Value="GBP=,DKK=,EUR=,SEK=".

DataTypes.Value = "ER"

I am getting no data back.

response.Dates = null

I believe the instrument.Value is wrong but I don't what is the correct format.

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.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Jirapongse · Jan 14, 2020 at 03:18 AM

@youssef.amine

To use RIC as an instrument, you need to enclose it with angle brackets <>. Therefore, the instrument.Value should be:

instrument.Value="<GBP=>,<DKK=>,<EUR=>,<SEK=>"


Comment
youssef.amine

People who like this

1 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

Datastream currency conversion for historical price timeseries

Datastream Web Service: how to get a DSCode based on ISIN and Currency

Python API: can not request equity indices timeseries in EUR currency

Is NPCUR available wherever PCUR is available ?

Where can I change the currency when I use an Excel Request Table?

  • 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