How long an IOC order will wait? Is there any defined number of seconds?

Immediate or Cancel option is available whicle placing orders.

I understand my orders will be canceled or partially fulfilled if market does not supply me with enough number of shares.

How many second it will wait, is there a predefined timing for wait?

How is that it functions in background?

Edit:

This is the info, I got from NSE website

IOC - An Immediate or Cancel (IOC) order allows a Trading Member to buy or sell a security as soon as the order is released into the market, failing which the order will be removed from the market. Partial match is possible for the order, and the unmatched portion of the order is cancelled immediately.

I guess EKANSH is right, there is no predefined time.

1 Like

The order will cancel instantly when there is no supply.There is no predefined time for waiting. 

1 Like

Thanks EKANSH, If I place a limit order and price does not reach that value, until what time my order will be open.
As the name suggests, I understand it is immediate execution.
For market orders it will execute immediate, if no supply it will get canceled (may happen in illiquid stocks)
But what about limit orders, limit orders will atleast take few seconds to execute, you are placing a limit order within CMP, so that best possible market rates, it will execute.