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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonrefinitiv-realtimec#economic-data
icon clock
10 |1500

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

1 Answer

Upvote
Accepted
38.1k 71 35 53

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 5.0 MiB each and 10.0 MiB total.

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

Click below to post an Idea Post Idea