How to extract FX rates from DSS using Rest or SOAP
Hi,
I am looking to find a method or URL to extract the FX rates from TR DSS. Can anyone provide the WSDL location or Rest API Link which contains any method to extract FX rates from DSS. There is no clear blog available on this.
Thanks in Advance!
Regards,
Anil
Best Answer
-
@anilsumanth.yakkali
What's your integration plan?
- FX list?
- Input data format? CSV or JSON?
- Which fields do you want? Rate/Last price only?
- The frequency of update? Daily?
The easiest solution would be writing a console application that fetches DSS's FX rate and updates exchange rates with SAP SDK. Then use Windows Task Scheduler to execute your program.
DSS has .NET SDK, and there are tutorials on DSS portal. You can follow the .Net SDK Tutorial 5 and change extraction request to IntradayPricingExtractionRequest and change fields to "Last Price".
You also need the RICs (Reuters Instrument Codes) of FXs that you want. You can use RIC search tool here.
0
Answers
-
@annisumanth.yakkali
For REST API, you can download DSS postman sample collections from here.
Then try tutorial 3b: request intraday data.
You can use FX RIC such as EUR= or JPY=
This is my sample request:
POST https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/Extract HTTP/1.1
Prefer: respond-async
Content-Type: application/json
Authorization: Token <your token here>
cache-control: no-cache
Postman-Token: fa889da2-34db-4448-9773-a9ce2fe8ef24
User-Agent: PostmanRuntime/7.1.1
Accept: */*
Host: hosted.datascopeapi.reuters.com
cookie: DSSAPI-COOKIE=R3148268809
accept-encoding: gzip, deflate
content-length: 991
Connection: close
{
"ExtractionRequest": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.IntradayPricingExtractionRequest",
"ContentFieldNames": [
"RIC",
"Ask Price",
"Asset Type",
"Bid Price",
"Currency Code",
"Exchange Code",
"High Price",
"Instrument ID",
"Instrument ID Type",
"Low Price",
"Open Price",
"Previous Close Date",
"Previous Close Price",
"Security Description",
"Settlement Price",
"Trade Date",
"User Defined Identifier",
"Volume"
],
"IdentifierList": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [{
"Identifier": "JPY=",
"IdentifierType": "Ric"
},{
"Identifier": "EUR=",
"IdentifierType": "Ric"
}]
},
"Condition": {
"ScalableCurrency": true
}
}
}And this is the sample result:
HTTP/1.1 200 OK
Set-Cookie: DSSAPI-COOKIE=R3148268809; path=/
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.5
X-Request-Execution-Correlation-Id: b3d4b16f-3130-421f-a753-2396eb2f56bc
X-App-Id: Custom.RestApi
X-App-Version: 11.2.662.64
Date: Sat, 06 Jan 2018 04:27:17 GMT
Connection: close
Content-Length: 1074
@{"@odata.context":"https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#Collection(ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.ExtractionRow)","value":[{"IdentifierType":"Ric","Identifier":"JPY=","RIC":"JPY=","Ask Price":113.1,"Asset Type":"MONY","Bid Price":113.06,"Currency Code":"JPY","Exchange Code":"RCT","High Price":113.06,"Instrument ID":"JPY=","Instrument ID Type":"RIC","Low Price":113.06,"Open Price":113.06,"Previous Close Date":"2018-01-05","Previous Close Price":113.06,"Security Description":"US Dollar/Japanese Yen FX Spot Rate","Settlement Price":null,"Trade Date":"2018-01-05","Volume":1},{"IdentifierType":"Ric","Identifier":"EUR=","RIC":"EUR=","Ask Price":1.2032,"Asset Type":"MONY","Bid Price":1.2028,"Currency Code":"USD","Exchange Code":"RCT","High Price":1.2028,"Instrument ID":"EUR=","Instrument ID Type":"RIC","Low Price":1.2028,"Open Price":1.2028,"Previous Close Date":"2018-01-05","Previous Close Price":1.2028,"Security Description":"Euro/US Dollar FX Spot Rate","Settlement Price":null,"Trade Date":"2018-01-05","Volume":1}]}For WSDL, you can find more information from this document.
However, it is advisable to use REST API.
0 -
Hello Chavlit,
Thanks for your response!
I am trying to do integration of SAP with DSS, to do that what is the rest api solution along with how to know the fields which mandatory to send request to DSS for intraday exchange rates.
Regards,
Anil
0 -
Hello Chavlit,
Thanks for your response!
I am trying to do integration of SAP with DSS, to do that what is the rest api solution along with how to know the fields which mandatory to send request to DSS for intraday exchange rates.
Regards,
Anil
1 -
Hello Warat,
Thanks for the reply.
My Integration plan is to fetch the FX rates from TR DSS and update in SAP. About frequency we are not yet finalized but planning to work with REST approach. For achieving this using REST I need the below points fulfilled:
1.What is the endpoint URL for fetching FX rates?
2. What is the request content format and where can I get that?
3.Any certificates need to be installed for SSL handshake?
4.What is the time limit for token expiry.
Thanks in advance!
Regards,
Anil
0 -
- The endpoint URL is
https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/Extract
But please do check out the tutorials first. - The request formats of every requests can be found here: DSS API Reference Tree. You need DSS account to login.
- No SSL certificates needed.
- 24 hours.
0 - The endpoint URL is
-
Hello Anil, I'm trying also creating SAP Web-Service to integrate DSS. Can you help me?
Best regards,
Herbert
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛