Say, I create MarketOrder, broker fills it and I have open position, I add Stop Loss and Take Profit orders.

How to find out that this position was closed and remove Stop Loss and Take Profit order?

P. S. I saw other subjects about SL / TP orders, like this one, but it doesn't answer my question

https://www.quantconnect.com/forum/discussion/1700/support-for-one-cancels-the-other-order-oco-