{"id":14417,"date":"2026-05-27T07:42:48","date_gmt":"2026-05-27T07:42:48","guid":{"rendered":"https:\/\/lemonn.co.in\/blog\/glossary\/ioc-order-immediate-or-cancel\/"},"modified":"2026-05-27T07:42:48","modified_gmt":"2026-05-27T07:42:48","slug":"ioc-order-immediate-or-cancel","status":"publish","type":"glossary","link":"https:\/\/lemonn.co.in\/blog\/glossary\/ioc-order-immediate-or-cancel\/","title":{"rendered":"IOC Order Immediate or Cancel"},"content":{"rendered":"<p>An Immediate or Cancel (IOC) order is a type of <a class=\"glossaryLink\" href=\"https:\/\/lemonn.co.in\/blog\/glossary\/market-order\/\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">market order<\/a> that instructs the <a class=\"glossaryLink\" href=\"https:\/\/lemonn.co.in\/blog\/glossary\/broker\/\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">broker<\/a> to execute the order immediately at the specified price or better. Any portion of the order that cannot be filled immediately is automatically cancelled, not queued.<\/p>\n<h2 id=\"what-is-an-ioc-order\">What Is an IOC Order?<\/h2>\n<p>When you place an IOC order:<br>\n&#x2013; If the full quantity is available at your price: the entire order executes immediately<br>\n&#x2013; If only partial quantity is available: the available portion executes and the remaining quantity is cancelled<br>\n&#x2013; If no quantity is available at your price: the entire order is cancelled<\/p>\n<p>IOC orders are used when you want to transact at a specific price but do not want the order to sit in the order book and potentially execute at a later (unfavourable) time.<\/p>\n<h2 id=\"when-is-an-ioc-order-used\">When Is an IOC Order Used?<\/h2>\n<p>&#x2013; **Institutional <a class=\"glossaryLink\" href=\"https:\/\/lemonn.co.in\/blog\/glossary\/trading\/\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">trading<\/a>**: large funds entering or exiting positions want immediate execution to minimise market impact<br>\n&#x2013; **Highly volatile <a class=\"glossaryLink\" href=\"https:\/\/lemonn.co.in\/blog\/glossary\/stocks\/\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">stocks<\/a>**: prices can change quickly; waiting in the order book is undesirable<br>\n&#x2013; **<a class=\"glossaryLink\" href=\"https:\/\/lemonn.co.in\/blog\/glossary\/algorithmic-trading\/\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">Algorithmic trading<\/a>**: algo strategies use IOC to ensure no unexecuted orders linger<br>\n&#x2013; **<a class=\"glossaryLink\" href=\"https:\/\/lemonn.co.in\/blog\/glossary\/futures-and-options\/\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">Futures and options<\/a>**: for precise entry or exit at a specific strike without carry-forward risk<\/p>\n<h2 id=\"ioc-vs-fill-or-kill-fok\">IOC vs Fill or Kill (FOK)<\/h2>\n<p>| Feature | IOC | FOK |<br>\n|&#x2014;&#x2014;&#x2014;|&#x2014;&#x2013;|&#x2014;&#x2013;|<br>\n| Partial fill | Allowed | Not allowed |<br>\n| Full fill required | No | Yes |<br>\n| Unused quantity | Cancelled | Entire order cancelled if any part unfillable |<\/p>\n<h2 id=\"practical-example\">Practical Example<\/h2>\n<p>A trader wants to buy 5,000 <a class=\"glossaryLink\" href=\"https:\/\/lemonn.co.in\/blog\/glossary\/shares\/\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">shares<\/a> of a stock at Rs 150 per share using an IOC order. The order book shows 3,500 shares available at Rs 150. The IOC order immediately buys 3,500 shares and the remaining 1,500 shares are automatically cancelled. No partial order sits in the order book waiting.<\/p>\n<h2 id=\"key-takeaways\">Key Takeaways<\/h2>\n<p>&#x2013; IOC orders execute immediately at the specified price; unfilled portions are cancelled, not queued<br>\n&#x2013; Allows partial execution, unlike FOK (Fill or Kill) which requires full execution or cancellation<br>\n&#x2013; Used by <a class=\"glossaryLink\" href=\"https:\/\/lemonn.co.in\/blog\/glossary\/institutional-investor\/\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">institutional investor<\/a>s, algo traders, and in volatile markets for controlled execution<br>\n&#x2013; Prevents orders from sitting in the book and executing at unexpected times<br>\n&ndash; Available on <a class=\"glossaryLink\"  href=\"https:\/\/lemonn.co.in\/blog\/glossary\/nse\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>NSE<\/a> and <a class=\"glossaryLink\"  href=\"https:\/\/lemonn.co.in\/blog\/glossary\/bse\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>BSE<\/a> for both <a class=\"glossaryLink\" href=\"https:\/\/lemonn.co.in\/blog\/glossary\/equity\/\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">equity<\/a> and <a class=\"glossaryLink\" href=\"https:\/\/lemonn.co.in\/blog\/glossary\/derivative\/\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">derivative<\/a> segments<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An Immediate or Cancel (IOC) order is a type of market order that instructs the broker to execute the order immediately at the specified price or better. Any portion of the order that cannot be filled immediately is automatically cancelled, not queued. What Is an IOC Order? When you place an IOC order: &#x2013; If [&#x2026;]<\/p>\n","protected":false},"author":3,"featured_media":0,"menu_order":0,"template":"","meta":{"_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-14417","glossary","type-glossary","status-publish","hentry"],"blocksy_meta":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"web-stories-poster-portrait":false,"web-stories-publisher-logo":false,"web-stories-thumbnail":false},"uagb_author_info":{"display_name":"Team Lemonn","author_link":"https:\/\/lemonn.co.in\/blog\/author\/ashu\/"},"uagb_comment_info":0,"uagb_excerpt":"An Immediate or Cancel (IOC) order is a type of market order that instructs the broker to execute the order immediately at the specified price or better. Any portion of the order that cannot be filled immediately is automatically cancelled, not queued. What Is an IOC Order? When you place an IOC order: &#x2013; If&hellip;","_links":{"self":[{"href":"https:\/\/lemonn.co.in\/blog\/wp-json\/wp\/v2\/glossary\/14417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lemonn.co.in\/blog\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/lemonn.co.in\/blog\/wp-json\/wp\/v2\/types\/glossary"}],"author":[{"embeddable":true,"href":"https:\/\/lemonn.co.in\/blog\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":0,"href":"https:\/\/lemonn.co.in\/blog\/wp-json\/wp\/v2\/glossary\/14417\/revisions"}],"wp:attachment":[{"href":"https:\/\/lemonn.co.in\/blog\/wp-json\/wp\/v2\/media?parent=14417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}