FIX Gateway
FIX 4.4 and FIXT.1.1 (FIX50SP2) for order entry, execution reports, drop copy, market data, RFQ with last look, and block trades. Every action runs through the public API with your session's own API key, so the same scopes, tier caps, rate limits, subaccounts and funding apply as on REST.
Access
| Host | fix.predictasiax.com |
|---|---|
| Port | 9879, TLS 1.2 or later (TLS 1.3 offered). Plain TCP is not accepted. |
| Certificate | Publicly trusted (Let's Encrypt) for fix.predictasiax.com. Send SNI and verify the hostname. |
| TargetCompID (56) | PAX |
If your FIX engine has no native TLS, run a local TLS proxy such as stunnel in client mode and point the engine at it.
Resolve the hostname when you connect rather than pinning an IP address: the record has a 60-second TTL and moves if the gateway host changes.
Source IP allowlist
A Logon is accepted only from an IP address on your account's FIX allowlist. You manage the list yourself, with no review step:
- In the Builder Portal: FIX access, one entry per line.
- Or with your portal session: PUT /v1/builders/me/fix-allowlist with {"entries": [{"cidr": "203.0.113.10", "label": "primary"}]}. If 2FA is active, include totp_code. API keys can read the list (GET) but cannot change it.
Entries are IPv4 addresses or CIDRs from /16 to /32, or IPv6 addresses or CIDRs from /32 to /128, at most 20 per account. Changes apply to the next Logon. An empty list means no FIX access. A Logon from another address is answered with Logout, and 58 names the address that was refused.
Session
| Message | Tags |
|---|---|
| Logon 35=A | 49 SenderCompID = your builder account id (bld_…), 554 Password = your API key, 108 HeartBtInt (5–300 s), 141=Y to reset sequence numbers. The key must belong to that account and carry orders:create. |
| Optional on Logon | 50=DROPCOPY: this session receives a copy of the execution reports of every session of your account (read only). 50=RFQ: this session receives new RFQs from other accounts as 35=R. 8013=Y: cancel this session's open orders when it disconnects. |
| Admin | Heartbeat, TestRequest, ResendRequest, SequenceReset and Logout as in the standard. Sequence numbers are kept per SenderCompID across reconnects. |
A Logon with a wrong key, a key of another account, or a key without orders:create is answered with Logout and the reason in 58.
Orders
NewOrderSingle 35=D
| Tag | Meaning |
|---|---|
| 11 | ClOrdID. Resending the same ClOrdID does not create a second order. |
| 55 | Symbol = market id |
| 54 | Side: 1 buy, 2 sell |
| 9067 | Outcome: YES (default) or NO |
| 38 | OrderQty, in shares |
| 40 | OrdType: 1 market, 2 limit, D previously quoted (accept an RFQ quote, see below) |
| 44 | Price, for limit orders (same limits and tick grid as POST /v1/orders) |
| 59 | TimeInForce: 0 or 1 rest on the book, 3 IOC, 4 FOK. 6 GTD is rejected: orders do not expire. |
| 18 | ExecInst 6 = post only |
| 79 | Account = subaccount slot (0 = main account) |
Answered with ExecutionReport 35=8: 150/39 = 0 New, 1 Partially filled, 2 Filled, 4 Cancelled, 8 Rejected; 37 OrderID; 14 CumQty; 151 LeavesQty; 6 AvgPx. Fills that happen later arrive as further ExecutionReports with 150=F, including 32 LastQty and 31 LastPx. A rejected order carries 58 as CODE: message, the same codes as REST.
OrderCancelRequest 35=F
41 OrigClOrdID (or 37 OrderID) and 55. Answered with an ExecutionReport (39=4), or OrderCancelReject 35=9 when the order is unknown or already closed.
Market data
MarketDataRequest 35=V: 262 MDReqID, 263 (0 snapshot, 1 snapshot and updates, 2 stop), 55, 264 depth. Snapshots 35=W carry a 268 group of entries with 269 (0 bid, 1 offer), 270 price and 271 size for the YES outcome: the same book as GET /v1/markets/{id}/orderbook.
RFQ with last look
The same flow as /v1/rfq: a trade agreed by RFQ executes as one block trade between the two accounts, off the public book, with normal fees.
| Step | Message |
|---|---|
| Request a quote | QuoteRequest 35=R: 131 your QuoteReqID, 55, 54 (1 buy, 2 sell), 9067, 38, 79. Answered with QuoteStatusReport 35=AI; 9068 is the RFQ id. |
| Receive RFQs | Sessions that logged on with 50=RFQ receive 35=R with 131 = RFQ id. |
| Quote | Quote 35=S: 131 = RFQ id, 133 OfferPx when the requester buys or 132 BidPx when it sells, 117 your QuoteID, 9070 usdt or shares (how you back the quote), 9071=Y for a firm quote with no last look, 79. Answered with 35=AI; 9072 is the quote id. |
| Accept | The requester receives each quote as 35=S (117 = quote id) and accepts with NewOrderSingle 40=D, 117 and 131. |
| Last look | Unless the quote was firm, the quoting account receives QuoteStatusReport 297=10 (pending) with 126 = confirm-by time, and answers QuoteResponse 35=AJ with 694=1 (confirm) or 694=6 (decline), 117 and 131, within 10 seconds. |
| Withdraw or cancel | QuoteCancel 35=Z: 117 withdraws your quote; 131 alone cancels your RFQ. |
If the quoting account declines or does not confirm in time, nothing moves and the RFQ is open again. Each account's confirmation record is on GET /v1/rfq/stats; it is informational only.
Block trades
The same flow as /v1/block-trades, for a trade already agreed with a named counterparty.
- Propose with NewOrderCross 35=s: 548 your CrossID, 55, 54 your side (1 buyer, 2 seller), 9067, 38, 44, 448 = counterparty account id, 9070 (seller: shares or usdt), 79, 126 expiry.
- Accept a proposal made to you: 35=s with 548 = its btp_ id (9070 if you are the seller, 79).
- CrossOrderCancelRequest 35=u with 548 = btp_ id cancels your proposal or rejects one made to you.
- The outcome arrives as an ExecutionReport carrying 548.
Limits
Each order, quote confirmation and block-trade acceptance counts against the tier caps of the API key used at Logon, exactly as on REST. See How tiers work and Rate limits.
Spec version 2.7.63 · Last updated 2026-11-29