I'm building a real-time application listening tick-by-tick. I'm trying to find out any intra-day issues to my live item streams. For e.g.
1. Symbol status has been changed to not being "open" -- for e.g. halted.
2. Any technical issues because of which my stream is not publishing data
How do I catch these scenarios? Is the OnStatusMsg callback the right thing to use for these kind of issues?
I noticed StatusMsg has an OmmState which itself is a composition of 3 more enums. How can I check OmmState to make sure the stream / security is OK to use?