Trade Date Conversion to Timestamp in Seconds
Hello,
In our feeds from America, FID "TRADE_DATE" had value 1602734400 for "15 Oct 2020". This corresponded to GMT: Thursday, October 15, 2020 4:00:00 AM, or Thursday October 15, 2020 00:00:00 (am) EST. However TRADE_DATE of the same feeds from Hong Kong had 1602691200, which corresponded to GMT: Wednesday, October 14, 2020 4:00:00 PM. So what is the logic behind this? What logic should we apply so they're the same in GMT?
Both America and HK uses ELEKTRON EDGE RFA C++ API 8.x.x.
Thanks,
Best Answer
-
Hello @jzhao,
Thanks following up on this topic, and for confirming that there is no issue with content, it's as expected.
On my side, from API consumer access viewpoint, RFA code that accesses content is the same, not different per exchange. RFA API is just the means of access, the content as seen would be the same, if accessed via another realtime API, for example, EMA.
If this helps,
I just tested with StarterConsuemr example that came with RFA C++ 8.0 SDK:
IBM.N ( NYSE)
FieldEntry [ 16] TRADE_DATE 11/6/2020and
7500.HK
FieldEntry [ 16] TRADE_DATE 11/6/2020I understand your point, that TRADE_DATE as published may mean different actual time for different exchanges, however, the exchange fully controls the content that they provide. As a developer and designer, we are in control of the interpretation and presentation, and can also include local time zone as part of information supplied to the business tier of the consumer app.
Therefore, I believe the behavior from RFA is confirmed to be as expected.
0
Answers
-
Hello @jzhao,
My understanding is that you would like to verify that the content, as provided by ELEKTRON service, is inconsistent across exchanges.
My personal opinion is that as different exchanges provide the content published, it's totally within their domain what and how to make available, and this causes discrepancies such as you observe.
However, the majority of the members of this forum are Refinitiv API developers, the moderators of this forum are experts in Refinitiv API. For the definitive answer on suspected content issues, the best way is to address them as a customer is to raise them directly with Refinitiv Content Helpdesk Online, this way the query will be immediately assigned to an appropriate Refinitiv content expert.
Please let us know if you are able to proceed, or I can help submit on your behalf?
0 -
Hi Zoya,
I did raise it to Refinitive, Case : 09259693. However I was asked to address the question here:
"Based on our Specialist advise, "epoch" time needs to be consulted with our Developer community. You can raise your query through the following link:
https://developers.refinitiv.com/en"Yes if you could, please raise it again. Thank you very much.
1
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 中文论坛