[EMA C++]How to get the "timestamp" when I reveive refreshMsg and updateMsg

hello:
I develop with EMA C++;
I want to know how to get "timestamp" of refreshMsg & updateMsg,
so that I can get the time when the msg is created.
Best Answer
-
Hi @luxiangyuan
Any RefreshMsg or UpdateMsg you receive is created by the server you are connected to, I am guessing that the time it was created by the server is not what you are after?
I would guess that you are after the timestamp for when the Tick / Update and hence the time of the Market Activity on the exchange where the data originates from. Is this correct?
Any timestamps provided by the exchange (or 3rd Party vendor) would appear in a field (in the FieldList) - but only if the exchange provided Refinitiv with any such timestamp.
If the exchange does not provide a timestamp then we do not typically add a timestamp field to the FieldList.
If the exchange does provide a timestamp, it is usually found in a TIME type field e.g. TIMACT, TRDTIM_1, SALTIM
Where the exchange provides more accurate timings they appear in fields like
TRDTIM_MS (3853), SALTIM MS (3854). These are unsigned integer fields as they contain milliseconds since midnight - so for example 29,295,123 is 08:08:15:123.
Note that sometimes the _MS fields wont contain millisecond granularity so e.g. they may just contain a value like 29,295,000 = 08:08:15:000. This would be the case if the exchange did not provide a millisecond accurate value.0
Answers
-
Comment from customer support #Case 07161685#
Client has contacted customer support and this question is quite important for him. We do have system entry time as below , can we get the same via API ?
0
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 33 Data Model Discovery
- 682 Datastream
- 1.4K DSS
- 613 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
- 248 ETA
- 552 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.8K Refinitiv Data Platform
- 625 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
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 83 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛