Web Socket API vs RFA Java
We currently use RFA Java API to get level 1, level 2, time and sales and historic market data. I am trying to find out if all these features are supported by the Web Socket API?
If the features are supported, is there a performance impact if I use web socket API instead of RFA Java API to get the market data.
Best Answer
-
Hello @paresh.zawar
Domain Data support
Please be informed that the Elektron WebSocket API support level 1 (Market Price) and level 2 (Market By Price, Market By Order) data. The protocol also supports the following domains
We suggest you use TRTH (Tick History) API for the time and sale/history data instead because TRTH API is designed for that purpose.
Performance
The WebSocket API is designed for easy to develop and support various programming languages. If the performance is your main concern, I suggest you migrate to Elektron Message API (EMA API) which utilize the OMM message and RSSL connection instead.
Please see more detail regarding the EMA Java API in the following resources:
2
Answers
-
Thank you @Wasin Waesori. My performance question was more related to how web socket API performs compared to RFA. We are developing an application with HTML5. So I wanted to see if we switch to web socket API, will I see a performance degradation as compared to RFA.
0 -
Hello @paresh.zawar
Please be informed that RFA uses the RSSL connection to connect and consume data from Elektron. The RSSL is Refinitiv's proprietary TCP based connection
which not support the HTML5 technology. The HTML5 supports only WebSocket and HTTP-REST connections.The RSSL connection encodes data in binary format which is highly-optimized for data distribution more than a JSON string format in a WebSocket connection. However, the performance is also based on how you subscribe data (update rates, number of items, number of fields, etc).
0 -
There could well be a performance impact as a result of using Websocket instead of RFA Java API - as my colleague mentioned. However, you should do some testing and determine just how significant the impact is for your particular use case scenario.
Depending on how many instruments you consume at any one given time and how volatile they are etc - you may find that the performance difference is not enough to offset the ease of using Websocket with HTML (compared to RFA Java).
Remember that you can pause and resume data streams - which can potentially be quite effective with GUI applications for optimising the performance - e.g. to pause the streams for data which the user is not currently viewing.
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 中文论坛