In the hook we have the "Maximum number of open positions" feature, but in practice it works out to be the maximum open orders.
I mean, for example, if we set a maximum open position of 10, it turns out that the limit is already in effect when it is still an order (not yet filled).
I propose that when it is still an open order that has not been filled then the limit does not apply yet, and when the order is filled and the maximum open position is reached then the open order is automatically cancelled.
So, for example, if we have an open position limit of 10, we can have 20 open orders. If 10 of them are filled, the remaining 10 orders will be cancelled. This will allow us to have positions filled more quickly