Skip to main content

Logon

Initiate a FIX session with a Logon message — MsgType (35) set to A. Set EncryptMethod (98) to 0 and HeartBtInt (108) to the desired interval (default: 30 seconds).

Message Format

Standard FIX Fields

Standard FIX Trailer

Logon Fields

Send the Logon message to initiate the session:

Logon with Reset Sequence Number Flag

Reset sequence numbers on both sides by sending a Logon with ResetSeqNumFlag (141) set to Y.
Implement a sequence number management strategy to promote a stable trading environment.

Message Format

Uses the same Standard FIX Fields and Logon Fields as a regular Logon, plus:
Send the Logon with ResetSeqNumFlag (141) = Y.

Replay Messages

Request retransmission of messages with a Resend RequestMsgType (35) set to 2. Use this when a gap in sequence numbers is detected, a message is lost, or higher-than-expected sequence numbers arrive from the counterparty.

Resend Scenarios

Message Format

Standard FIX Fields

Standard FIX Trailer

Required

Heartbeat

Monitor the FIX connection with Heartbeat messages — MsgType (35) set to 0. The default HeartBtInt (108) interval is 30 seconds.

Key Behavior

  • Reset the heartbeat timer after every transmitted message, not just heartbeats.
  • If no data is received within the heartbeat interval, send a Test Request (MsgType 1) to verify the connection.
  • Include TestReqID (112) to match Test Requests with Heartbeat responses. Any string can be used (a timestamp is recommended).
  • If no Heartbeat response arrives in a reasonable time, consider the connection lost.

Message Format

Standard FIX Fields

Standard FIX Trailer

Heartbeat Fields

Send a Heartbeat when no message has been sent within the HeartBtInt interval, or in response to a Test Request.

Reject

A Reject message — MsgType (35) set to 3 — is sent when a message cannot be processed due to a session-level rule violation.

Message Format – Response Message

Standard FIX Fields

Standard FIX Trailer

Reject Fields

Always Present

Logout

A Logout message — MsgType (35) set to 5 — initiates or confirms FIX session termination.
Disconnection without exchanging Logout messages indicates an abnormal condition. An unsolicited Logout may indicate a connection or account issue — Text (58) contains a human-readable message. If you cannot reconnect with ResetSeqNumFlag (141) set to Y, contact Support.

Message Format – Incoming Message

Standard FIX Fields

Standard FIX Trailer

Logout Fields

Always Present