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).
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.
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.
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.
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.
@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.
Hi @Sheetal Addigi, The first example from Wasin is an example of how conflation works. The time (conflation interval) used in his example is 3 seconds.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.
Hi, user is retrieving TRDTIM_1 from Elektron using Websocket API sample code market_price_edpgw_service_discovery. However the timezone is in UTC. is it possible to convert the timezone to the user local timezone?