How do I set up an IOC order?

IOC (Immediate or Cancel) is a time-in-force that can be set for an order to ensure that all or part of the order that does not fill immediately is canceled. To use the IOC time-in-force, from the Time in Force field on an order line, select IOC. 

For details see the Immediate or Cancel (IOC) order types page. 

Powered by IBot
What times-in-force can I use when trading cryptocurrencies?
How can I set a target order or stop loss relative to the actual trade price of my parent order in TWS?
What order types are supported for equities traded on the Bursa Malaysia (BURSAMY)?
What times-in-force can I use when trading cryptocurrencies with Interactive Brokers HK?