An Immediate or Cancel (IOC) order allows to buy or sell a security as soon as the order is released into the market. In case if orders is failed then it will be removed from the market. There are chances of Partial match for the order, and the remaining unmatched portion of the order is cancelled immediately.