FIX 4.4
FIX messages
The messages a session sends and receives, and the tags each one needs.
Not live yet. This page shows how it will work, so you can plan your build today. Everything under REST works now, and so does live market data over a stream.
From you#
| Message | 35= | For |
|---|---|---|
| NewOrderSingle | D | Placing an order |
| OrderCancelRequest | F | Cancelling an order |
| OrderCancelReplaceRequest | G | Changing an order's price or amount |
| OrderStatusRequest | H | Asking for an order's state |
| MarketDataRequest | V | Subscribing to books and trades |
From Reirex#
| Message | 35= | For |
|---|---|---|
| ExecutionReport | 8 | Every change to an order |
| OrderCancelReject | 9 | A cancel or change that couldn't be done |
| MarketDataSnapshotFullRefresh | W | A snapshot of a book or of trades |
| MarketDataIncrementalRefresh | X | The changes after a snapshot |
| Reject | 3 | A message that couldn't be read |
NewOrderSingle#
| Tag | Field | Value |
|---|---|---|
| 11 | ClOrdID | Your id for the order, unique for the day |
| 55 | Symbol | The pair, such as BTC-EUR |
| 54 | Side | 1 buy, 2 sell |
| 38 | OrderQty | The amount |
| 40 | OrdType | 1 market, 2 limit |
| 44 | Price | Your price; required for limit orders |
| 59 | TimeInForce | 1 good till cancelled, 3 immediate or cancel, 4 fill or kill |
| 60 | TransactTime | When you sent it, in UTC |
FIX
8=FIX.4.4|9=161|35=D|49=YOUR-API-KEY|56=REIREX|34=2|52=20261014-16:14:16.020|11=my-order-0001|55=BTC-EUR|54=1|38=0.05|40=2|44=70000|59=1|60=20261014-16:14:16.020|10=187|ExecutionReport#
Every report carries ExecType (150) and OrdStatus (39): 0 new, 1 partly filled, 2 filled, 4 cancelled, 8 rejected. CumQty (14) is what has filled so far and LeavesQty (151) what is still open.
FIX
8=FIX.4.4|9=236|35=8|49=REIREX|56=YOUR-API-KEY|34=2|52=20261014-16:14:16.031|37=01JA8K3Q7W2N5X4Y6Z8B0C1D2E|11=my-order-0001|17=01JA8K3R0A1B2C3D4E5F6G7H8J|150=0|39=0|55=BTC-EUR|54=1|38=0.05|44=70000|14=0|151=0.05|10=044|
