In finance, an IOC (Immediate or Cancel) order is a type of trade execution where the entire order must be fulfilled immediately or it will be canceled. This means that if only a portion of the order can be executed, the remaining amount will be canceled. This type of order is commonly used when time is of the essence and a trader wants to avoid having a partial order left open.