WebSocket API - understanding Conflation
Hi,
Please confirm if the below understanding is correct -
Websocket API operates with a 3 sec tradesafe conflation. This would mean quotes will be conflated i.e., API consumer will get 3 updates every second. Is this right?
If so, when we get data every .333ms - are we receiving the latest bid/ask quote or the data will be collated and sent out?
And, there is no conflation on trade ( i.e., consumer will receive all trades).
Thanks
Sheetal
Best Answer
-
Hi @bansalshah, I have received the reply from the product team, and they inform that if a Trade Event occurs, it flushes the events queue, thereby sending out all the quote events which might have been collected - waiting to be conflated.
So, the Quote updates will be conflated, only if there are no Trade updates in that 330 ms interval. Hope this helps.
4
Answers
-
Hello @Sheetal Addigi
The data conflation means multiple update messages are combined into a single update message to reduce traffic. The 3 seconds tradesafe conflation means the consumer will get every Trade updates and a single update that combined latest Quote data by 3 seconds.
Please see example of different between Tick by Tick Quote and Conflation Quote below.
3 -
Are you using Elektron Websocket API with Elektron Realtime (ERT) in Cloud?
ERT in Cloud currently delivers 3 updates a second (assuming any Market Activity actually takes place) + plus all trades as well - this is known as Trade Safe conflation.When Trade Safe conflation is enabled on the server- then any Trade type updates will always be passed to the consumer - whereas Quote type updates will be conflated like the sample picture provided by Wasin.
2 -
Please note that Websocket API itself does not implement Conflation of any type. The Conflation is down to whichever feed / service you are connecting to.
Therefore, if you are connecting to ERT in Cloud then you will get the conflated feed as described above.
If, however, you are using Websocket API to connect to an TREP ADS server then the data you receive will depend on how your Market Data team has configured that particular service - e.g. full tick, delayed , conflated etc.
2 -
Thanks, Umer. I have a follow-up question -
It is unclear to me from the image above if it indicates there are 3 events (1,2,3) updates sent a second.
It looks like one of the below- can you please clarify what it means?
- There were 3 events in a second and only one was sent to consumer( maybe the latest)?
- Does Second: 1. Second:2, Second indicates that in a second there were 3 events - but again only one is sent to the consumer?
0 -
Wasin statement is confusing to me - "The 3 seconds tradesafe conflation means the consumer will get every Trade updates and a single update that combined latest Quote data by 3 seconds."
It says, a single update is received in 3 seconds which would mean for quotes, consumer receives single (one) update every 3 seconds? conflicts with what @moragodkrit has stated.
0 -
Wasin Waeosri statement is confusing to me - "The 3 seconds tradesafe conflation means the consumer will get every Trade updates and a single update that combined latest Quote data by 3 seconds."
It says, a single update is received in 3 seconds which would mean for quotes, consumer receives single (one) update every 3 seconds? conflicts with what @moragodkrit has stated.
0 -
Hi @Sheetal Addigi,
The ERT in Cloud service is currently configured for 3 updates/second conflation. This translates to 333 ms interval. So any quote updates occurring within that 333 ms interval will be merged into a single update.
The first example from Wasin is an example of how conflation works. The
time (conflation interval) used in his example is 3 seconds.1 -
Hi @Gurpreet,
Conitnuing Sheetal's question here, If ERT in Cloud service is currently configured for 3 updates/second, then the data that I see does not follow that,
Here in the sample data for 9:38:11 th second, I have 5 quotes, 3 Unspecified, and 2 trades. Can you explain the reasoning for the same?
0 -
@Gurpreet possible to set up a call and get our questions clarified?
0 -
@bansalshah Can you please confirm which source you are getting this data from?
0 -
Hi @""Gurpreet,
I am using Websocket API to connect to ERT in Cloud service.
0 -
Thanks, I will reach out to product team to confirm the conflation interval. Please be mindful that the timestamp you have in the captures are your local ones and not representive of server time and do not account for network latency from cloud to your infrastructure.
0 -
Even if you dont consider the local time and check the Quote time in ns field returned in the data, the time is more precise there.
0 -
Are you able to provide a complete capture file - if you have it.
0 -
I am not able to upload the whole file because of the limit of 512 Kb for file upload. But here are two files for them. Data from Refinitiv -1.txtData from Refinitiv -2.txt
0 -
I will attain out to product group to verify the conflation interval. Please consider that the timestamp you have inside the captures are your neighborhood ones and now not representive of server time with fake email generator and do now not account for community latency from cloud in your infrastructure.
0 -
thanks for share this topic it's is really helpful for beginners and of course experienced
The WebSocket API is an advanced technology that makes it possible to open a two-way interactive communication session between the user's browser and a server. With this API,
for more details just on Interview queries
0
Categories
- All Categories
- 6 AHS
- 37 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 中文论坛