What is an IOC order?

Immediate or Cancel (IOC) allow you to buy or sell a security immediately upon being placed in the market. If the is not , it is automatically cancelled and removed with a rejection error by the Exchange.