# How FOK or IOC order types are executed

Ok, I know what's the difference are between them but still have some question. Let's say that the exchange's limit order book looks like this: (order depth of LOB)

Now, let's say I send a buy FOK order with lmt price \$1.12 and size 10. It will be executed? or will be cancelled?

What about if I sent same order but as IOC?

Just in case, I'm targeting forex market with most common venues (Currenex, EBS, Hotspot, etc)

Thanks

• @BehrouzMaleki I'm sure you can't – Ariel Silahian Jul 12 '16 at 19:22
• Just I wanted to say, in this Community everything is free and voluntary.Good luck -:) – user16651 Jul 12 '16 at 21:27
• Especially in the FX markets you should check with the venue, there are too many subtleties: FASTmatch for instance has a fine-grained "FOK", you can specify a minimum quantity to be filled (FIX MinQty) and the TimeInForce field determines what happens to the rest. – hroptatyr Jul 13 '16 at 5:51