I am trading an account that has a dozen or so positions and am trying to get a current list of all of them. I ran a version of the code at https://github.com/Refinitiv-API-Samples/Example.REDI.CSharp.Examples/blob/master/REDIConsolePositions/RediConsolePositions.cs
The problem is that I'm not sure how many positions I have ahead of time so I don't know when to end the program. For example, do I end when I get the first UPDATE action or is it possible I will get another ADD afterwords and miss a position?