How do you send custom fields between 2 apps when side by side in Eikon?

For
instance, in the same way the following 4 apps are linked and therefore show
information about the same RIC,

image

how do you use the same mechanism so that 2 apps
could send to each other not only a RIC but also price, yield, etc. The first
app would be trading app and the second app would be a calculator for instance?

Best Answer

  • You can do this in JET today through regular context passing that will go through color linking channels.

    For example:

    JET.contextChange([{RIC:"IBM.N",fields:{foo:"bar"}}]);

    Will give you a ContextChange event with the following data payload:

    [

    {

    "IdentifierList": [ "RIC" ],

    "FieldList": [ "foo" ],

    "RIC": "IBM.N",

    "fields": { "foo": "bar" }

    }

    ]

    So you can send along the yield, price, etc for each RIC. The receiving Apps just need to know about these additional fields.