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
-
@ma1057 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 -
@ma1057, 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 -
@ma1057 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 -
@ma1057 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 -
@ma1057 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
- 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 中文论坛