Why do I see the errors ‘16388: Cancelled by Exchange’ and ‘105: IOC Order?
In an IOC (Immediate or Cancel) , your order can be matched partially. However, the remaining portion of your order is automatically cancelled by the Exchange. If your IOC order remains unmatched, you will see these errors.