For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 1 2

How to listen to Economic Monitor real time stream with C#

I am trying to follow the tutorial for real time streams using Eikon .NET with C#. It shows an example for getting the bid or ask for a currency but I am not sure how to get updates from the economic monitor.

I have tried the following:

singleSubscription = realtime.Subscribe("JPPMIS=ECI", "Actual", DataReceived);

and

singleSubscription = realtime.Subscribe("JPPMIS=", "ECI", DataReceived);

but neither worked.

Any ideas?

Thanks.

eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikonrefinitiv-realtimec#economic-data
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvote
Accepted
45.2k 103 43 60

The IRealtimeService.Subscribe method is used to retrieve real-time fields as displayed on the Eikon Quote application. Actual is not a valid real-time field. Please try the ECON_ACT field instead.

realtime.Subscribe("JPPMIS=ECI", "ECON_ACT", (field) => 
{
    Console.WriteLine("Field: {0}, value: {1}", field.Field, field.ToString());
});

The output is:

Field: ECON_ACT, value: +50.2

To list all available real-time fields, please use Display All Fields on the Eikon Quote application.


sub1.png (13.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

This is very helpful. Thank you very much for the screenshot.