- if we place cover order for stop-loss
- limit order for target
> If stoploss is hit then also there will be a limit order active. So here we need to check if the position is zero for a stock then cancel the limit order.
I basically want to get the ticker data for only active positions. SO is there a better way to handle it?
My approach is currently as follow
> Make a new connection with the list of the current positions. (If the position is empty t…