When I am placing multiple orders for the same instrument over the period of few seconds to minutes.
On each order's execution event I am creating/submitting a stop loss order.
If I place 5 orders, this is resulting in 5 different StopLoss orders.
When I place new StopLoss order, I want average or update the existing stoploss order and make it a single stoploss order increasing the qty and updating the price.
In this case , if i submit 5 orders at different times for the same instrument, I want to have single stoploss order with qty 5
What's the best approach , please advice.

Comment