One issue to keep in mind when cancelling orders as opposed to manually "unsubmitting" them in TWS is how that could count toward IBKR order cancellation guidelines as I believe there?are fees for non-SMART order cancellation via API above a certain balance against executions ().