Order Status Request (H)

Sent by the client to request the status of an order.

TagNameValueDescription
35MsgTypeHOrder Status Request message type
37OrderID123456OrderID of the order to request, or * to request all pending orders
41OrigClOrdIDorder123Client-assigned order ID of the order
20000IncludeFillInfoNIf Y, server will include fill info for order(s)

The server will respond with an ExecutionReport (8) with ExecType=I (OrderStatus) with the requested order or orders. Only one of OrderID (37) and OrigClOrdID (41) should be provided. When there are no open orders, the server will include Text (58) of "No open orders".

Additional fields included with IncludeFillInfo (20000=Y):

TagNameValueDescription
1362NoFills1Number of fills for this order. If there were no fills for this order, this would return 0.

The following fields are included zero or more times, once for each fill:

TagNameValueDescription
1363FillExecID23436Fill ID. Only returned in OrderStatusRequest messages. This is a globally unique ID.
1364FillPx10.1Fill price
1365FillQty6.32Fill quantity
1366FillTradeID101293Fill trade ID. This will be shared by the fill corresponding to the other side of the trade (maps to the buy and sell side).
1367FillTime20220219-08:33:26.513Fill time
1443FillLiquidityInd21 for maker, 2 for taker
20100FeeRate0.0007Fee rate paid on the fill
20101Fee0.0446824Fees paid on the fill, in USD

Sample Responses:

OrdStatus_PendingNew (A): Response to a successful new order placement

8=FIX.4.2|9=264|35=8|49=FTX|56=****|34=32|52=20221018-01:47:25.488|150=A|17=2a198d95-5e39-4b95-a2f2-ebbfcce2e63c|37=191152025035|11=bc4abb80-8d78-4bbf-835f-ef3d30ce7dd2|55=SOL-PERP|38=0.32000000|44=28.18500000|54=1|39=A|14=0|151=0.32000000|6=0|10=224

OrdStatus_Rejected (8): Response to a rejected new order placement:

8=FIX.4.2|9=282|35=8|49=FTX|56=****|34=6|52=20221018-01:41:04.579|150=8|17=161fb62c-d7a5-47c2-97e2-fba276280e57|11=8997d96b-ae6b-4e7a-bd65-bcacdfc72e50|55=SHIB/USD|38=90000.00000000|44=0.00001031|54=1|39=8|14=0|151=0|6=0|103=0|58=400 Bad Request: Size too small|10=164

OrdStatus_PendingCancel (6): Response to a successful order cancellation

8=FIX.4.2|9=281|35=8|49=FTX|56=****|34=37|52=20221018-01:48:40.713|150=6|17=e321b550-e2fb-45c1-baf9-50f90ecc0c70|37=191152025035|11=bc4abb80-8d78-4bbf-835f-ef3d30ce7dd2|55=SOL-PERP|38=0.32000000|44=28.18500000|54=1|39=6|14=0.0000000000000000|151=0.32000000|6=0|10=166

OrdStatus_New (0): Response to an open order with no filled size

8=FIX.4.2|9=274|35=8|49=FTX|56=****|34=11|52=20221018-01:42:49.113|150=0|17=7af22974-6504-47a1-85d1-23868bad6da2|60=20221018-01:42:49.105|37=191150921997|11=49c159b1-f705-43f3-ada3-6239a3395857|55=SOL-PERP|38=0.32|44=31.185|54=1|39=0|14=0.0|151=0.32|6=0|10=232

OrdStatus_PartiallyFilled (1): Response to an open order with any fills (including finally when it is fully filled)

8=FIX.4.2|9=379|35=8|49=FTX|56=****|34=12|52=20221018-01:42:49.114|150=1|17=10432537541|60=20221018-01:42:49.106|37=191150921997|11=49c159b1-f705-43f3-ada3-6239a3395857|55=SOL-PERP|38=0.32|44=31.185|54=1|39=1|14=0.32|151=0.0|6=31.1825|31=31.18250000|32=0.32000000|1366=5167951624|1057=Y|12=0.0037418999999999998269661904970462273922748863697052001953125|13=3|10=188

OrdStatus_DoneForDay (3): Response once an order is completely filled (after a final PartiallyFilled response)

8=FIX.4.2|9=280|35=8|49=FTX|56=****|34=13|52=20221018-01:42:49.114|150=3|17=02b7a8c8-2145-4a45-a787-8cddf2392a27|60=20221018-01:42:49.106|37=191150921997|11=49c159b1-f705-43f3-ada3-6239a3395857|55=SOL-PERP|38=0.32|44=31.185|54=1|39=3|14=0.32|151=0.0|6=31.1825|10=081

OrdStatus_Canceled (4): Response to a rejected or canceled order

8=FIX.4.2|9=304|35=8|49=FTX|56=****|34=38|52=20221018-01:48:40.724|150=4|17=db1a4ce6-a3dd-4964-aa76-ebe7e489f011|60=20221018-01:48:40.721|37=191152025035|11=bc4abb80-8d78-4bbf-835f-ef3d30ce7dd2|55=SOL-PERP|38=0.32|44=28.185|54=1|39=4|14=0.0|151=0.0|6=0|58=User requested cancellation|10=198

OrdStatus_Canceled (4): order not filled and canceled (1362=0)

8=FIX.4.2|9=298|35=8|49=FTX|56=****|34=28|52=20221023-17:38:17.394|150=I|17=94d9d9be-60b1-4e4d-aff9-44fde37c4efe|37=192746775325|11=a684b659-d744-4a2d-adc4-4873a22fe416|55=BTC/USD|38=0.00050000|44=19200.00000000|54=1|39=4|14=0.0000000000000000|151=0.0000000000000000|6=0|1362=0|10=086

Sample response if you try to request the status of an order that was rejected (with execution report showing rejection):

Execution Report:
8=FIX.4.2|9=282|35=8|49=FTX|56=****|34=83|52=20221023-17:56:03.032|150=8|17=dcf3f28c-5a25-4436-b779-592f67957889|11=81b6aa76-2478-45da-ac3f-181ade2ff8b0|55=BTC/USD|38=0.00000500|44=19200.00000000|54=1|39=8|14=0|151=0|6=0|103=0|58=400 Bad Request: Size too small|10=121

Order Status:
8=FIX.4.2|9=132|35=3|49=FTX|56=****|34=94|52=20221023-17:59:45.926|45=49|372=H|58=Unknown order ID|373=5|371=37|10=210