All the orders will get squared off before the end of the day. IOC stands for 'Immediate or cancel'. It means that the order is executed as soon as it is released and in case the order fails to execute, then it is immediately canceled.