FIX 4.4
Time Seventeen FIX 4.4 and FIXT 1.1 order entry over TLS 1.3 — logon, order and cancel messages, custom tags for outcomes, execution reports and recovery.
Session
- Transport: TLS 1.3, from a source IP on the session’s own allowlist (single addresses or CIDR ranges). A logon from elsewhere is refused like a wrong password (
35=5, “logon refused”). Request a session as described in Testnet access. - Framing: FIX 4.4 (
8=FIX.4.4) or FIXT 1.1 / FIX 5.0 SP2 (8=FIXT.1.1,1137=9). - Logon (35=A):
49 SenderCompID(yours),56 TargetCompID = T17,554 Password,108 HeartBtInt,141=Y(sequence numbers start at 1 on every logon). One session is bound to one account. - Password change:
925 NewPasswordon Logon;1409 SessionStatusanswers1changed or3refused. - No resend: after a reconnect, re-read state over REST
GET /v2/account/{id}or the WebSocket instead of35=2ResendRequest.
Symbols, prices and ids
| Tag | Meaning |
|---|---|
55 Symbol | Numeric market id, e.g. 1 |
50005 Outcome | YES or NO (custom) |
11 ClOrdID | Unsigned 32-bit integer, unique per account; the exchange order id is account × 2^32 + ClOrdID |
44 Price, 99 StopPx | Decimal dollars in the order’s own outcome, 6 decimal places on testnet (0.250000) |
38 OrderQty | Whole contracts |
Application messages (client → exchange)
| Message | Fields |
|---|---|
NewOrderSingle 35=D | 11, 55, 50005, 54 Side (1 buy, 2 sell), 38, 40 OrdType, 44, 59 TimeInForce, optional 99, 126, 18, 1138, 1094/211, 1385/583 |
OrderCancelRequest 35=F | 41 OrigClOrdID, 11 |
OrderCancelReplaceRequest 35=G | 41, 44, 38 (keeps the original order id) |
OrderMassCancelRequest 35=q | 530 = 1 (by 55) or 7 (all) |
OrdType (40): 1 market, 2 limit, 3 stop (99), 4 stop limit (99 + 44), K market-to-limit, P pegged (1094 PegPriceType 4 market or 5 primary with 211 PegOffsetValue, 44 as cap; 8 trailing stop with 211 = trail).
TimeInForce (59): 0 day, 1 GTC, 3 IOC, 4 FOK, 6 GTD (126 ExpireTime).
ExecInst (18): 6 post-only, E reduce-only. Also 1138 DisplayQty for icebergs and 1385=1 with 583 ClOrdLinkID for one-cancels-other.
Execution reports (exchange → client)
35=8 reports are generated from the committed event stream, so fills of resting orders caused by other participants and stop triggers arrive too.
| Tag | Meaning |
|---|---|
37 OrderID, 11 ClOrdID, 17 ExecID | Ids; ExecID is unique per event |
150 ExecType, 39 OrdStatus | New, trade, canceled, replaced (5), rejected, … |
54, 50005, 55 | Side, outcome, market |
31 LastPx, 32 LastQty | Fill price (own outcome) and quantity |
151 LeavesQty, 14 CumQty | Remaining and filled quantity |
880 TrdMatchID | Public trade sequence of the fill |
1057 AggressorIndicator | Whether you were the taker |
58 Text | Reject reason |
A refused cancel or replace is answered with OrderCancelReject 35=9 (434 = 1 cancel, 2 replace); the original order is unchanged.