[JET.Quotes.create] Why the feedName parameter does not work for chain?

Hello, As I verified, the feedName parameter works for rics but not for chain. Does anyone know the reason? JET.Quotes.create() .feedName('F') .chain("0#.SSEC") .formattedFields("TRDPRC_1") .onUpdate(function(subscription, ric, updatedValues){ console.log(ric); }) .start(); The results are always the same whatever the value of the feedName parameter. Thanks, Bo

Best Answer

  • Bo,

    Instead of:

    .feedName('F')

    try:

    .feedAlias('F')

    We will need to confirm with the SDK group the difference.

    For additional details when subscribing to CHAINS, you can implement the following:

    .onChainUpdate(function(subscription, ric, status)
    {
    console.log("Chain status for: " + ric + " (" + status.STATUS.formatted + ")");
    })