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?
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?
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.
Is there any working example in C# that helps to add a ric tag into chain object?
Hello @clarence.ho ,
Please take a look at article Building a Chain Expander application using Websocket API and .NET Core C# and the companion code on GitHub https://github.com/Refinitiv-API-Samples/Article.WebSocketAPI.DotNet.DotNetCoreChainExpanderApp
Hope that this helps