[Ema]C++ Time(fid=18) in UpdateMsg is disorder
hello:
I develop with EMA C++
I request level 1 quote from HKSE
I fund the time FID=18 is disorder in UpdateMsg,
As shown in the appendix, I receive UpdateMsg (name="/3800.HK") first , but the time FID=18 is bigger than the second UpdateMsg(name="/6178.HK") I received, why?
In my opinion, the updateMsg I received earlier, the time FID=18 should smaller.quote-log.txt
Best Answer
-
Hi @luxiangyuan
Looking at the information provided so far, it looks like what you are observing is to do with the fact that you are connecting to a Trade safe Conflated service and the difference in trading / quote activity between the two RICs : /3800.HK and /6178.HK
A Trade safe conflated means that the service does not send out every tick update to your application (to reduce traffic between your application and the server). It collects any field updates during the configured time period and then sends out a single timed update periodically. Because it is Trade Safe, it will also send out any Trades immediately (without waiting for the next timed updated).
As you will note from the Tick history extracts that I have attached for the two RICs, the last time /6178 had a Quote or Trade was 06:54:30 and the next one was at 6:56:02.
However, /3800 was much more active during that period and had several Quotes including one at 06:55:16.
So, in your extract you received a conflated update for 3800.HK at some point after 6:55:16 and you then also received a conflated update for 6178.HK shortly after. But that conflated update did not have any recent Quote or Trade values - so the most recent TRDTIM_1 would be for the last Trade that took place on 6178.HK - which was at 06:54:30
If you go through your Update history for 6178 - you should have received other updates before the one in your log above.
0
Answers
-
Hi @luxiangyuan
For Content type queries, I recommend you contact the Content Helpdesk - who will be able to explain the time differences you observed.
As far as the Elektron APIs are concerned, they will send the data to your application in the order they receive the data from the server.
If the Content helpdesk cannot explain your observation, then please attach some more of your output here - showing several updates before and several after the ones you posted - for those two instruments.
0 -
Hi @luxiangyuan
I understand from Content Helpdesk that you contacted them and your quote-log values do not tie up with the Tick History database we hold.
Therefore, if you still have more of your output from a few minutes before the above quote-log please attach here.
Also, please add XmlTraceToFile =1 your EMAConfig.xml file config entry for whichever Consumer config definition you are using. If you are not using EMAConfig then just add to the DefaultConsumer as shown below.
....
<DefaultConsumer value="Consumer_1"/>
<ConsumerList>
<Consumer>
<Name value="Consumer_1"/>
<Channel value="Channel_1"/>
<Logger value="Logger_1"/>
<Dictionary value="Dictionary_1"/>
<XmlTraceToFile value="1"/>
</Consumer>
....
....Please ensure the EMAConfig.xml is in the working directory of your application.
Once you have done that, please rerun your application and upload the XML Trace file (You can remove any username/password / ip address etc from the trace if any is present). If you are able to observe the same disordering scenario when you run your app with the XMLTrace enabled, then also include the relevant quote-log too from the new run. This way I can compare what the API receives from the server and what your application is then receiving in the UpdateMsgs.
0 -
hello:
1\ log as appendix
2\ the hkse has been closed, so I can not config the EMAConfig now.
0 -
Hi @luxiangyuan
Can you please advise what I should be looking at in the new log file above?
Also, are you able to provide any log which shows the previous 4-5 updates for /6178.HK - before the ones in the above log files?
Thanks.
0 -
test comment
.... <DefaultConsumer value="Consumer_1"/> <ConsumerList> <Consumer> <Name value="Consumer_1"/> <Channel value="Channel_1"/> <Logger value="Logger_1"/> <Dictionary value="Dictionary_2"/> <XmlTraceToFile value="1"/> </Consumer> .... ....
more test comments
0 -
hello Umer:
the service I connect is "apac1-ec-hmds.cp.thomsonreuters.com" through a service named "ezd".
as you say, I want to confirm the following things:
1、the "apac1-ec-hmds......" is a "Trade safe Conflated service"?
2、I can contact with my account mamager for the real-time service?
thank you very much,
0 -
Hi @luxiangyuan
Data delivered via EZD is normally Conflated.
I did email your account manager but did not hear back - possibly due to the Holiday season. Please check directly with the Account team.
Season's Greetings!
0 -
hello Umer
I get it, thank you very much.
wish you a merry Christmas!
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 162 App Studio
- 4 Block Chain
- 5 Bot Platform
- 17 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
- 370 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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛