no Realtime data only delayed in c#

The all,
I am using the c# sample "DataApiUsageExampleRealtimeData" to get realtime data for Market Digest data. Though, everything works fine, and it has been enabled, that I get realtime data for the exchanges, and I also see the data realtime within Eikon, I only get delayed data within the API.
My account rep from Refinitiv tells me to post the question here, since they have enabled the realtime data for the exchanged the market digest data is based on.
See screenshot.
Answers
-
@tt1057 do you get the real-time data if you select the instrument on Eikon? API shares the same entitlements, and it might be an issue with Eikon.
0 -
yes, I do get realtime data in Eikon.
0 -
@tt1057, could you attach your request and the response that you are getting, please?
0 -
subscription = realtime.SetupDataSubscription()
.WithRics(".ADST.HK")
.WithFields("SALTIM", "ISSUES_ADV", "ISSUES_DEC", "ISSUES_UNC", "TOT_ISSUES", "VOLUME_ADV", "VOLUME_DEC", "VOLUME_UNC", "TOT_VOLUME")
.WithDateAndTimeMode(TimeAndDateMode.GMT)
.OnDataUpdated(DataReceivedCallback)
.CreateAndStart();and this is the output which I print into console for right now:
(SALTIM)=08:09:10|(ISSUES_ADV)=747|(ISSUES_DEC)=558|(ISSUES_UNC)=309|(TOT_ISSUES)=1614|(VOLUME_DEC)=3908895759|(VOLUME_UNC)=1843142423|(TOT_VOLUME)=10996284502|0 -
@tt1057 in the response object, what is the instrument code? you can use this as an example on how to access the RIC code.
<br>
0 -
private void DataReceivedCallback2(IRealtimeUpdateDictionary instruments)
{
foreach (var kvp in instruments)
{
var sB = new StringBuilder(DateTime.UtcNow.ToString("HHmmss.fffff"));
foreach (var kvp2 in kvp.Value)
{
//var x = kvp2.Value.Descriptor;
switch (kvp2.Key)
{default:
sB.AppendFormat("({0})={1}|", kvp2.Key, kvp2.Value.Value.ToString());
break;
}
Console.WriteLine("{0}: ({1}) = {2} ", kvp.Key, kvp2.Key, kvp2.Value.Value.ToString());
}
}
}0 -
@tt1057 could you show the output, rather than the code, please? I need to understands if the RIC code that comes back has a / symbol, which would mean that you are in fact getting the delayed data.
0 -
Please find aove. though I do not get the '/' as part of the ric....
this part of the code pumps out the console part:Console.WriteLine("{0}: ({1}) = {2} ", kvp.Key, kvp2.Key, kvp2.Value.Value.ToString());
0 -
@tt1057 why do you think you are getting the delayed data?
0 -
see below. I believe it is 15 mins delayed:
2018-10-19-17-11-11-yes-delayed.png0 -
maybe it is just these HongKong Market Digest data. Do you want me to test other RICs, which update right now, maybe enable me for realtime on those exchanges as well, and I am happy to test.
0 -
I would expect this to work regardless. Let me ask around and I will get back to you
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 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
- 249 ETA
- 554 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.9K Refinitiv Data Platform
- 643 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
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛