How to add a new bond into the chain via websocket api?

Is there any method to insert a new item into the bond chain without fetching the entire chain and update the ric one by one?

Best Answer

  • Hello @clarence.ho ,

    I think you are asking about subscribing to a chain RIC continuously and keeping both the chain information and information on the individual RICs up-to-date.

    Review articles Simple Chain objects for EMA - Part 1 => section Chain Updates and Simple Chain objects for EMA - Part 2 for the discussion of how chains update.

    If I understand your question correctly, on the update to a chain,

    If you keep the information on the list of the individual RICs (chain list information), you will update this information/list if the update received impact the list

    If you subscribe/keep the specific information on each individual RIC in the chain, you would add subscription/remove subscription to individual RIC, per your individual RIC requirement.

    Hope that this is the information that you are looking for, otherwise, please explain more of your question.

Answers