What is IOC Order in Order Validity?

An IOC (Immediate or Cancel) Order is a type of order that must be executed immediately—either fully or partially. Any portion of the order that cannot be executed instantly is automatically cancelled by the system.

Key Features:

  • Execution happens instantly at the specified price or better.
  • If only part of the order can be fulfilled, that portion is executed, and the rest is cancelled.
  • If no part of the order can be matched immediately, the entire order is cancelled.

Example:

You place an IOC order to buy 500 shares of XYZ Ltd. at ₹100.

  • If 300 shares are available at ₹100, the system will immediately buy 300 shares.
  • The remaining 200 shares will be cancelled automatically.
  • If no shares are available at ₹100 at the time of placing the order, the entire order is cancelled.