An IOC (Immediate or Cancel) order is a type of stock market order that must be executed immediately. If the order cannot be fully executed at the current market price, the unfilled portion is automatically canceled. It is commonly used when investors want to quickly buy or sell securities without waiting for the entire order to be filled.