PARTIALLY_FILLED on FOK order?

Hi,

Why do I receive PARTIALLY_FILLED order updates on the user stream if the order I placed is FOK?

{"e":"executionReport","E":1697487077144,"s":"DOCKUSDT","c":"ePfxAjQUdjPDL0U01UL4s5","S":"BUY","o":"LIMIT","f":"FOK","q":"10542.00000000","p":"0.01950000","P":"0.00000000","F":"0.00000000","g":-1,"C":"","x":"NEW","X":"NEW","r":"NONE","i":298314334,"l":"0.00000000","z":"0.00000000","L":"0.00000000","n":"0","N":null,"T":1697487077144,"t":-1,"I":614617140,"w":true,"m":false,"M":false,"O":1697487077144,"Z":"0.00000000","Y":"0.00000000","Q":"0.00000000","W":1697487077144,"V":"NONE"}
10/16/2023 20:11:17 -     INFO - {"e":"executionReport","E":1697487077144,"s":"DOCKUSDT","c":"ePfxAjQUdjPDL0U01UL4s5","S":"BUY","o":"LIMIT","f":"FOK","q":"10542.00000000","p":"0.01950000","P":"0.00000000","F":"0.00000000","g":-1,"C":"","x":"TRADE","X":"PARTIALLY_FILLED","r":"NONE","i":298314334,"l":"1914.00000000","z":"1914.00000000","L":"0.01950000","n":"0.00012957","N":"BNB","T":1697487077144,"t":17851476,"I":614617141,"w":false,"m":false,"M":true,"O":1697487077144,"Z":"37.32300000","Y":"37.32300000","Q":"0.00000000","W":1697487077144,"V":"NONE"}
10/16/2023 20:11:17 -     INFO - {"e":"executionReport","E":1697487077144,"s":"DOCKUSDT","c":"ePfxAjQUdjPDL0U01UL4s5","S":"BUY","o":"LIMIT","f":"FOK","q":"10542.00000000","p":"0.01950000","P":"0.00000000","F":"0.00000000","g":-1,"C":"","x":"TRADE","X":"PARTIALLY_FILLED","r":"NONE","i":298314334,"l":"489.00000000","z":"2403.00000000","L":"0.01950000","n":"0.00003310","N":"BNB","T":1697487077144,"t":17851477,"I":614617143,"w":false,"m":false,"M":true,"O":1697487077144,"Z":"46.85850000","Y":"9.53550000","Q":"0.00000000","W":1697487077144,"V":"NONE"}
10/16/2023 20:11:17 -     INFO - {"e":"executionReport","E":1697487077144,"s":"DOCKUSDT","c":"ePfxAjQUdjPDL0U01UL4s5","S":"BUY","o":"LIMIT","f":"FOK","q":"10542.00000000","p":"0.01950000","P":"0.00000000","F":"0.00000000","g":-1,"C":"","x":"TRADE","X":"FILLED","r":"NONE","i":298314334,"l":"8139.00000000","z":"10542.00000000","L":"0.01950000","n":"0.00055102","N":"BNB","T":1697487077144,"t":17851478,"I":614617145,"w":false,"m":false,"M":true,"O":1697487077144,"Z":"205.56900000","Y":"158.71050000","Q":"0.00000000","W":1697487077144,"V":"NONE"}
10/16/2023 20:11:17 -     INFO - {"e":"outboundAccountPosition","E":1697487077144,"u":1697487077144,"B":[{"a":"BNB","f":"0.13180049","l":"0.00000000"},{"a":"USDT","f":"2043.02372536","l":"0.00000000"},{"a":"DOCK","f":"10542.00000000","l":"0.00000000"}]}

FOK means that the order must be filled in its entirety or else canceled (killed), it doesn’t necessary mean your order must be filled in one go, it can be through several partial fills as long as the price is what you’ve defined and it’s executed immediately.

1 Like