Socket programming to TREP

Hi,
I am new to this TREP API. In Current system, Socket programming was using in Java language to send tag based request & response.
And we need to convert this Socket connection programming logic using TREP API in Java.
Kindly someone advice how should I proceed.
Regards,
Raj
Best Answer
-
What kind of data you want from TREP?
Basically, the TREP APIs consume the streaming and snapshot data from the TREP infrastructure via the RSSL connection which is a Thomson Reuters proprietary protocol. The API uses the Open Message Model (OMM) which is a collection of message header and data constructs. OMM data constructs can be combined in various ways to model data ranging from simple primitive types to complex data structures. The message between the API and the infrastructure is in the RWF (Reuters Wire Format) which is the encoded representation of OMM. RWF is a highly-optimized, binary format.
The TREP APIs are consist of the EMA Java, RFA Java and ETA/UPA Java APIs. The lowest-level access API is the ETA/UPA Java edition.
I suggest you check the following links to learn more about each API:- EMA Java: https://developers.thomsonreuters.com/elektron/elektron-sdk-java
- RFA Java: https://developers.thomsonreuters.com/thomson-reuters-enterprise-platform/robust-foundation-api-rfa-0
- ETA/UPA Java: https://developers.thomsonreuters.com/thomson-reuters-enterprise-platform/ultra-performance-api-upa-0
Please check the different between each API in the API_ConceptsGuide.pdf file at the https://developers.thomsonreuters.com/elektron/elektron-sdk-java/docs?content=8756&type=documentation_item link.
0
Answers
-
Hi Wasin Waeosri/Team,
Currently our application using Socket programming to send
request and get response from Reuters server in normal message format.And our application running on jdk 1.6.
I visited some docs of EMA Java (https://developers.thomsonreuters.com/elektron/elektron-sdk-java/downloads)
and all places showing as it is tested fine in java 7 and 8. Please advise which is the suitable package for our application with
java 6.Thanks & Regards,
Raj
0 -
Raj, JDK 1.6 is not supported, neither is raw socket interface to TREP infrastructure. The API handles all underlying socket communication.
What API does your existing application use and what does it connect to? What is a Reuters Server?
0 -
Hi Gurpreet,
We are
connecting to TOFIP Server using java.net.Socket
using specific IP and Port number.Sample Request to tofIpClient >><FS>332<US>AA<GS>RTNS#INFO<FS>
and we will get response of transaction
information in string message from the server.Please advice which API of TREP we can use.
Thanks & Regards,
Raj
0 -
Hi,
It looks like you are connecting directly a Ticket Output Feed which is an old legacy system as far as I am aware.
You should speak to your Market Data team to confirm that the information you require (which look like Dealing Data Info records) is now available on the TREP backbone as a TREP Service. This should be the case - as other clients I have worked with certainly consume #INFO records using the TREP APIs
Once you have confirmed which service your local Market Data team is using to publish the data onto the TREP you should then evaluate EMA Java to consume the data. e.g. work through the tutorial on this page EMA Consumer - Requesting and displaying MarketPrice data
and amend the request as per your requirements e.g.
consumer.registerClient(
EmaFactory.createReqMsg()
.serviceName("your service name")
.name("RTNS#INFO"),0 -
Hi Umer Nalla,
Thanks for reply. You are correct. As
per Wong, Roy Kl [ICG-IT] from Market Data Team, we need use the TREP
service.Could you please provide information or sample
how the request and response format will be to/from TREP. So that we can analyze
further for the existing code modifications required.0 -
Raj, Please follow the quick start for EMA Java at: EMA Quick Start
You can download tutorial source code from downloads tab.
0 -
Hi Team,
Kindly clarify below queries.
- 1.What is channel / protocol it uses when we
connect to TREP using EMA API? - 2.Is it secured protocol by default or do we need
to install any ssl certificates at our side? - 3.Is there any SSL Mutual authentication between our
application - TREP server
Highly appreciate your quick response.
Thanks.
Raj
0 - 1.What is channel / protocol it uses when we
-
The next time you have new questions, please post them as a new question post, not in the same thread.
The EMA API uses RSSL connection which is a Thomson Reuters proprietary protocol to connect to TREP infrastructure. The RSSL connection is based on the TCP/IP protocol. All data/messages in the RSSL connection are encrypted in binary format which requires the EMA API to decode/encode it.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛