Regarding order update of IOC limit orders from user data stream

Does anyone know what is the behavior of the user data stream of a IOC limit order? I know that it will send an update with status EXPIRED if canceled, and FILLED if filled, but what if it’s partially filled? Will it send an EXPIRED including the filled price and size? Send a FILLED or PARTIALLY-FILLED? Or send a PARTIALLY-FILLED then EXPIRED? It is not easy to test a partially filled IOC limit order, but the result is critical to our implementation, thanks.

You’ll get PARTIALLY_FILLED and then EXPIRED.
Btw, this can be tested with https://testnet.binance.vision/, you just need to find a symbol that doesn’t have a lot of moving liquidity.

2 Likes