Time SeventeenDocs

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 NewPassword on Logon; 1409 SessionStatus answers 1 changed or 3 refused.
  • No resend: after a reconnect, re-read state over REST GET /v2/account/{id} or the WebSocket instead of 35=2 ResendRequest.

Symbols, prices and ids

TagMeaning
55 SymbolNumeric market id, e.g. 1
50005 OutcomeYES or NO (custom)
11 ClOrdIDUnsigned 32-bit integer, unique per account; the exchange order id is account × 2^32 + ClOrdID
44 Price, 99 StopPxDecimal dollars in the order’s own outcome, 6 decimal places on testnet (0.250000)
38 OrderQtyWhole contracts

Application messages (client → exchange)

MessageFields
NewOrderSingle 35=D11, 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=F41 OrigClOrdID, 11
OrderCancelReplaceRequest 35=G41, 44, 38 (keeps the original order id)
OrderMassCancelRequest 35=q530 = 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.

TagMeaning
37 OrderID, 11 ClOrdID, 17 ExecIDIds; ExecID is unique per event
150 ExecType, 39 OrdStatusNew, trade, canceled, replaced (5), rejected, …
54, 50005, 55Side, outcome, market
31 LastPx, 32 LastQtyFill price (own outcome) and quantity
151 LeavesQty, 14 CumQtyRemaining and filled quantity
880 TrdMatchIDPublic trade sequence of the fill
1057 AggressorIndicatorWhether you were the taker
58 TextReject reason

A refused cancel or replace is answered with OrderCancelReject 35=9 (434 = 1 cancel, 2 replace); the original order is unchanged.