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.

Best Answer

  • Jirapongse
    Jirapongse admin
    Answer ✓

    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.

    image

Answers