Insufficient response to Timeseries Subscription of OHLC data for Hongkong futures
Hi,
I have issues with subscribing to 1 min bar updates (ohlc) via a timeseries subscription via the .net API (ThomsonReuters.Desktop.SDK.DataAccess).
It currently mainly shows for Hongkong futures - with European and Japanese Futures the 1 min data updates are pushed correctly.
Please see a my version of the 1 min ohlc char I get from the subscription:
As you see, the bars are incomplete and the gaps between bars are too big for such a liquid futures market.
This is the code I use to subscribe to the 1 min data:
timeSeries.SetupDataSubscription(sym)
.WithView("TRDPRC_1")
.WithAllFields()
.WithInterval(CommonInterval.Intraday1Minute)
.From(DateTime.UtcNow.AddMinutes(-1))
.OnDataReceived(DataReceivedCallback)
.OnDataUpdated(DataUpdatedCallback)
//.WithTimeZone(TimezoneType.Instrument)
.CreateAndStart());
Currently, I am subscribing these symbols:
HSIH3
HCEIH3
What is really strange to me, is that it works with European and Japanese rics but not with Hongkong futures.
Any idea on how to improve this?
Thanks for your support.
Mike
Best Answer
-
I checked with the Eikon Chart and I saw the gap in the data.
You may need to contact the content support team via MyRefinitiv to verify this gap.
I tested with the code below and it returned nothing.
tsRequest = timeSeries.SetupDataSubscription("HCEIH3")
.WithView("TRDPRC_1")
.WithAllFields()
.WithInterval(CommonInterval.Intraday1Minute)
.From(DateTime.UtcNow.AddMinutes(-1)) //this can be extended to hours any anything of that kind
.OnDataReceived(DataReceivedCallback)
.OnDataUpdated(DataUpdatedCallback)
//.WithTimeZone(TimezoneType.Instrument) //when this is enabled, then it does not fire the events for new bars and everything
.CreateAndStart();Therefore, I need to change the From to DateTime.UtcNow.AddMinutes(-30) in order to get the data.
In the DataUpdatedCallback, I got several updates within the same minute.
...
#### DataUpdatedCallback ExistingPoint, HCEIH3
-----HCEIH3 TimeStamp:>>7:33:0:0
HIGH 6473
LOW 6471
OPEN 6472
CLOSE 6472
VOLUME 23
TIMESTAMP 3/10/2023 7:33:00 AM
COUNT 16
#### DataUpdatedCallback ExistingPoint, HCEIH3
-----HCEIH3 TimeStamp:>>7:33:0:0
HIGH 6473
LOW 6471
OPEN 6472
CLOSE 6472
VOLUME 25
TIMESTAMP 3/10/2023 7:33:00 AM
COUNT 17
#### DataUpdatedCallback ExistingPoint, HCEIH3
-----HCEIH3 TimeStamp:>>7:33:0:0
HIGH 6473
LOW 6471
OPEN 6472
CLOSE 6472
VOLUME 31
TIMESTAMP 3/10/2023 7:33:00 AM
COUNT 18
#### DataUpdatedCallback NewPoint, HCEIH3
-----HCEIH3 TimeStamp:>>7:34:0:0
HIGH 6472
LOW 6472
OPEN 6472
CLOSE 6472
VOLUME 1
TIMESTAMP 3/10/2023 7:34:00 AM
COUNT 1
...I assume that you use the last one to plot a chart. Then, I ran an application again to check the actual value at 7:33:00 AM and I got the following value via the DataReceivedCallback.
---- HCEIH3 TimeStamp:>>7:33:0:0
HIGH 6473
LOW 6471
OPEN 6471
CLOSE 6472
VOLUME 284
TIMESTAMP 3/10/2023 7:33:00 AM
COUNT 161
---- HCEIH3 TimeStamp:>>7:34:0:0
HIGH 6472
LOW 6470
OPEN 6472
CLOSE 6472
VOLUME 292
TIMESTAMP 3/10/2023 7:34:00 AM
COUNT 196The values of the OPEN fields are different.
Please confirm if you see this problem in the application.
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 中文论坛