Hi QC Community, 
I am getting an error msg when I tried to place a stop loss order. I don't know how to fix it. It seems that the stop loss is triggered and the error is occurring right after profit taking order is canceled. 

 82 | 11:41:17: 
Order Error: id: 31, Insufficient buying power to complete order (Value:-201211.8).

See my project attached.