There is a bit of problem for me. I use the QC’s built-in functionality below.

self.SetRiskManagement(MaximumUnrealizedProfitPercentPerSecurity(0.04))

When it sells, how do I become aware of it? When it sells, I want to remove it from Insights so that it does not buy it back.