Hello,
So the .NET Realtime API subscriptions to economic indicators are working now (btw I am very satisfied by the data retrieval's execution time and thanks again for your great help!!).
However, in some cases I don't get the notification at the moment the data comes out! When that happens, I have to recompile my code on Visual Studio in order to get the latest info. This makes me miss some trades, as I seem be randomly not getting data sometimes (while there is nothing wrong with the code since when I recompile, all other things being equal, I get the new data I was expecting).
Any ideas why this is happening ???
Thanks a lot!!
-----
Thank you for your answer:
- By notification I mean the moment when the API detects there is a news release through DataReceivedCallback and should display it (but sometimes does not).
- Console
- Yes, in my code I got:
private static void InitializeDataServices(string appName)
{
Services = DataServices.Instance;
Services.StateChanged += ServicesOnStateChanged;
Services.Initialize(appName);
}
But the thing I do not understand is that it always works except for some random exceptions: the app is running in the console (subscription waiting for data release) and sometimes the data is published on Eikon but does not appear in my console, actually nothing happens in my console in these cases. When this happens, if I relaunch the app in the console, I get the data. So I assume this must be some issue with the subscription ?
Thanks!